View Full Version : A way to uninstall only via ARP?

10-14-2011, 08:52 AM
I would like to have the install where if setup.exe is run again after the initial install, it acts as a first time installation and the only way to uninstall is via Add/Remove Programs. Is there a way to do that? (I'm using InstallScript MSI)

I do not have an event-based script -- I have a program block for the whole installation process. I have tried adding and manipulating the OnMaintUIBefore event. That worked for a day. When I ran setup.exe again a few days later, the dialog that asks if I want to remove the application and all of its features.

I have done extensive research since then, but have continuously come to dead ends it seems. During my research, I discovered that the reason maintenance mode happens is that the install detects the log file (Setup.ilg) for uninstall. I have tried numerous ways of trying to get around it, but nothing. The solutions I have tried will either still have that dialog pop up or I'm not able to uninstall the program via ARP.

Please help :confused: