On Tue, 1 Dec 2009 06:08:55 -0800 (PST) cce91 <ell...@nortel.com> wrote:
> > 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? See http://www.tramontana.co.hu/wix/lesson6.php : To prevent users removing the application, use <Property Id='ARPNOREMOVE'>1</Property> Or, to prevent the application being displayed at all in the list, use <Property Id='ARPSYSTEMCOMPONENT'>1</Property> -- Bruce Cran ------------------------------------------------------------------------------ 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