[wix-users] Why does ARPNOREMOVE=1 also disable the Modify Button in Add/Remove Programs?

Hoover, Jacob Jacob.Hoover at greenheck.com
Fri Mar 27 10:15:13 PDT 2020


I would wrap the MSI in a burn bundle, so you have all the customizations you want with a custom BA. ARP doesn't provide a lot of flexibility with pure MSI's.

From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of forum postings via wix-users
Sent: Friday, March 27, 2020 10:11 AM
To: wix-users at lists.wixtoolset.org
Cc: forum postings <postingsforum at gmail.com>
Subject: [wix-users] Why does ARPNOREMOVE=1 also disable the Modify Button in Add/Remove Programs?

Hi All,
I want to give the user the option to remove their user data when they
uninstall my msi.

So I redirect the Remove Button in MaintenanceTypeDlg to my custom dialog
that prompts them yes/no to remove user data,
and then sends them to the VerifyReadyDlg to uninstall.
So now I want to disable the Uninstall button in Add/Remove Programs and
force the user to click Modify
and go through the Maintenance dialog to remove my msi.

I already have a command-line parameter that does the same thing if they run
"msiexec /x ..." from the command-line.
so that's taken care of.

But when I set ARPNOREMOVE=1 in my wxs file it also disables the Modify
Button in Add/Remove Programs in Win10.

How can I keep the Modify Button but disable the Uninstall button in
Add/Remove Programs?

Or is there another standard way to solve this problem in wix?

Thanks,
wixn00b.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.



More information about the wix-users mailing list