Hi all,
I have such a situation that we want to keep the registry keys we add at the
installation (so that when the software is installed again it can find the
relative information), I think this can be achieved by setting the Permanent
property to "yes" of the component which includes target registry key(s).
Under one of these keys, we will write a value(let's call it StringValue and
the value we assign is "ValueA") during installation. So my code would like
this:

<RegistryValue Type="string" Name="StringValue" Value="ValueA" KeyPath="yes"
/>

But during uninstallation, although we want to keep the registry key, we
indeed want to replace this "ValueA" value to empty string. I am not
familiar with such setting, how can I achieve that? Any help will be
appreciated. Thanks!

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Make-a-permanent-registry-key-but-delete-the-registry-value-under-it-tp7578924.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to