I am attempting to write new values to the Registry with a Wix installer on a Windows 7 box. On the first installation the settings are written properly, I then uninstall the application and find that the Registry settings are still there (which is what I want).
When I try to install again, or use an installer that reads/writes to the same Registry settings the new value I provide is not filled into the Registry setting. The following is my component that writes to the Registry. <Component Directory="IISROOT" Permanent="yes" Id="DBConnectionSettings" KeyPath="yes" Guid="THEGUID" > <RegistryKey Root="HKLM" Key="SOFTWARE\MyCompany\DbConnection" Action="create"> <RegistryValue Type="string" Name="Server" Value="[SERVER]" Action="write" /> <RegistryValue Type="string" Name="Database" Value="[DATABASE]" Action="write" /> </RegistryKey> </Component> It looks like from the log file that the settings are being read in from the Registry but not being overwritten by whats provided at the command line however the UI values do overwrite the Registry settings. Can anyone provide some direction on how to override these settings from command line? ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users