This is how I am setting in my Product.wxs for installer to remember the property. Let me know if I need to change any settings below.
<Property Id="INSTALLLOCATION"> <RegistrySearch Id="REMEMBERPROPERTY" Root="HKCU" Key="Websites\CBUDirect" Name="Remembered" Type="raw"/> </Property> <CustomAction Id="SAVEINSTALLDIR" Property="CMDREMEMBERPROPERTY" Value="[INSTALLLOCATION]"/> <CustomAction Id="SETINSTALLDIR" Property="INSTALLLOCATION" Value="[CMDREMEMBERPROPERTY]" /> <InstallExecuteSequence> <Custom Action="SAVEINSTALLDIR" Before="AppSearch"></Custom> <Custom Action="SETINSTALLDIR" After="AppSearch">CMDREMEMBERPROPERTY</Custom> </InstallExecuteSequence> <Component Directory="INSTALLLOCATION"> <RegistryValue Root="HKCU" Key="Websites\CBUDirect" Name="Remembered" Value="[INSTALLLOCATION]" Type="string" /> <RemoveFolder Id="CleanApplicationFolder" On="uninstall"/> </Component> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MSI-Package-Installation-location-tp7585460p7585466.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users