We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

alewcock
Posts: 4
Joined: Wed Mar 13, 2013 1:18 pm

Silent Uninstall Detection and Upgrades

Hello,

I have two questions:

1. I would like to detect when an Uninstall is being executed silently so that when it is not, I can show the user a Message Box. In other words, if the user uses the Windows Control Panel to uninstall with the Installer's full UI, I want to show a Message Box. If we use a script or command to trigger an Uninstall with /q parameter, I do not want to show that Message Box. I have the Message Box stuff figured out, I just need to know how to detect silent vs full UI in the custom action conditions.

2. When we create a new version and get a new Product Code, the new installer runs the the old version's installer to uninstall it before continuing with the new version's install. Is this the normal workflow for upgrades? Is it t possible to upgrade the old version without running it's installer and uninstalling it?

Thanks.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Silent Uninstall Detection and Upgrades

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.
I would like to detect when an Uninstall is being executed silently
The UILevel property is set to the level of the user interface. So, you can use this property as a condition for your Message Box (i.e. UILevel > 2).
Is this the normal workflow for upgrades?
Yes, this is the normal behavior.
Is it t possible to upgrade the old version without running it's installer and uninstalling it?
I'm afraid that this is not possible. You can create a patch for your old version which is usually much smaller than upgrades, but does not uninstall the old version of the product.
Also, you have the option to perform a Side by side installation which will allow different versions of the same application to be installed on the same computer

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
alewcock
Posts: 4
Joined: Wed Mar 13, 2013 1:18 pm

Re: Silent Uninstall Detection and Upgrades

Great, thank you!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Silent Uninstall Detection and Upgrades

You're welcome. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”