[wix-users] SPOOFED: Disable Uninstall button?

Gerhard Matzen gmatzen at osisoft.com
Wed May 10 22:01:41 PDT 2017


This caught my attention:
NoElevateOnModify=1

Is there a way to instruct the bundle to write " NoElevateOnModify=0" instead so that the bundle is run elevated on modify?  When selecting Change in Programs and Features, I always want my bundle to be elevated.


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Nir Bar
Sent: Tuesday, May 9, 2017 5:49 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] SPOOFED: Disable Uninstall button?

Now I see.

Going through Apps & Features on my machine I see that VS 2013 and 2015 have it the way you want it.
They have in Uninstall registry key:


NoElevateOnModify=1
NoRemove=1


You can get the NoRemove=1 with ARPNOREMOVE=1.
For NoElevateOnModify, you may be able to do it with a custom action.
However, since VS 2013 and 2015 are bootstrappers rather than Windows Installer packages, this might not work.


 I guess you can give it a try though





Nir Bar
Panel::Software Architecture and Development

______________________________________________________________
JetBA.net- Native and WPF WiX BootstrapperApplication Frameworks





____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list