Using Wix 3.5. I create the following key under HKCU:
<DirectoryRef Id="LocalProgramsFolder">
<Component Id="LocalProgramsFolderRef" Guid="YOUR_GUID">
<CreateFolder />
<RemoveFolder Id="LocalProgramsFolder" On="uninstall" />
<RegistryKey Root="HKCU" Key="Software\[Manufacturer]\[ProductName]"
Action="createAndRemoveOnUninstall">
<RegistryValue Name="InstallPath" Value="[INSTALLLOCATION]"
Type="string" KeyPath="yes" />
</RegistryKey>
</Component>
</DirectoryRef>
Upon uninstallation, I do NOT want to remove the key IF a certain value exists:
HKCU\Software\[Manufacturer]\[ProductName]\MyStringValue
How can this be accomplished?
Help is greatly appreciated! Thanks!
_________________________________________________________________
Vårfina smileys till Messenger här!
http://springpack.msn.se
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users