I need to prevent users from uninstalling my app via the Add/Remove Programs
Tool. To do that I need to remove a registry entry
(http://support.microsoft.com/kb/314481). I've tried using the following Wix
code, but it has no effect:

<Registry Id="UninstallKey" Root="HKLM"
Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]"
Action="removeKeyOnInstall" />

<InstallExecuteSequence>
...
   <RemoveRegistryValues />

Is there a more appropriate way to accomplish this?
-- 
View this message in context: 
http://n2.nabble.com/Remove-registry-entry-on-install-tp4093847p4093847.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to