Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WIX MSI Package Uninstallation

I am using WIX for an installer package. When I uninstall the package by double clicking the original msi package everything is fine.

When I uninstall from the control panel it gives me a miminal UI uninstallation. I have written into my MSI a custom action which asks the user whether they want to uninstall some databases etc. This does not occur on the minimal UI uninstallation.

How can I make the uinstall from control panel work with a full UI?

like image 628
peter Avatar asked Aug 12 '09 23:08

peter


2 Answers

A reply by Bob Arnson in this thread:

Yes, that's the behavior of the Add/Remove Programs applet. It always uninstalls MSI packages in basic mode after prompting. The only thing you can do is set ARPNOREMOVE to force a user to use maintenance mode -- and surface a Remove option in your maintenance UI.

like image 55
Wim Coenen Avatar answered Sep 28 '22 10:09

Wim Coenen


You can't do that natively with MSI. You'd need to refer to a boostrapper/external UI to do the uninstall. The other answers to this question point in the right direction.

like image 41
Rob Mensching Avatar answered Sep 28 '22 11:09

Rob Mensching