Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Detect Uninstallation and Update

Hello,

I need the installer to show a message box only during uninstallation and not during an update. How to achieve this?

If you set the message box to only show during uninstall in a custom action, it also shows during an update. Because, during update, the previous version is being removed.

:?:
K
Liviu
Posts: 1048
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Detect Uninstallation and Update

Hello K,

In order to achieve this, you can schedule your custom action to run only on "regular uninstall".

Just click on the "Show upgrade options" blue link under the "Execution Stage Condition" and you can see all the options:
regular uninstall.png
regular uninstall.png (23.18 KiB) Viewed 4080 times

Hope this helps! If you have any other questions, please don’t hesitate to contact us.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Detect Uninstallation and Update

I will try this. Thank you for your continues support.
K
Liviu
Posts: 1048
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Detect Uninstallation and Update

You're always welcome, K!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”