I need to remove a registry entry on install that may or may not exist. I
found a thread on this forum that said a good way to do this is using this
method, but it fails to remove the entry. What have I done wrong?
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLLOCATION" Name="blah" LongName="blah">
<Component Id="ProductComponent"
Guid="nnnnnnn-084D-11DC-A998-86FE55D89593" KeyPath='yes'>
<Registry Id='testReg' Root ='HKLM'
Key='SOFTWARE\blah\blah\MyKey' Name
='MyValue' Type='string' Value='test'/>
<Registry Id='testReg' Root ='HKLM'
Key='SOFTWARE\blah\blah\MyKey' Name
='MyValue' Action='remove'/>
</Component>
</Directory>
</Directory>
</Directory>
--
View this message in context:
http://www.nabble.com/Why-isn%27t-this-registry-entry-removed-tf4018615.html#a11413197
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users