How can i automatically uninstall without Maintenance Page ? - Advanced Installer Community
Mel
Posts: 53
Joined: Fri Jul 10, 2020 10:59 am

How can i automatically uninstall without Maintenance Page ?

I have created an .exe file and successfully installed the app. I dont want the Maintenance Page which has the options Repair, Modify and Remove as the only option the user can do is to remove.

If i remove the Maintenance page and try that it doesnt remove , it just tries to reinstall

So how can i after installing the .exe ., if the user clicks on the .exe again it will just remove the application , without a Maintenance page ?
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: How can i automatically uninstall without Maintenance Page ?

Hello,

I am not quite sure that is possible to achieve.

Please note that this is the default behavior of Windows Installer. If you launch a setup that was already installed (i.e. having the same ProductCode and ProductVersion), the setup will automatically enter in Maintenance Mode. This is how the OS handles this scenario.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”