Here is a fragment from a project which sets the AppPath keys. Each action is in a separate Component with the KeyPath on the registry action, rather than the Component Directory.
<Fragment> <ComponentGroup Id="AppPath" Directory="FooDir"> <Component> <RegistryValue Root="HKMU" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Foo.exe" Value="[FooDir]Foo.exe" Type="string" KeyPath="yes" /> </Component> <Component> <RegistryValue Root="HKMU" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Foo.exe" Name="Path" Value="[FooDir]" Type="string" KeyPath="yes" /> </Component> </ComponentGroup> </Fragment> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registry-keys-not-written-even-though-log-shows-it-tp7599305p7599392.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users