Install first then uninstall with updater? - Advanced Installer Community
987346342
Posts: 4
Joined: Wed Dec 30, 2015 4:52 pm

Install first then uninstall with updater?

Hi Everyone,

I am wondering if there is a way to configure the updater to install the new version first, in a new folder, then uninstall the old version after. We would like to be able to do this so that if someone cancels the update they will always have a working version on their machine.

Thanks!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install first then uninstall with updater?

Hello and welcome to Advanced Installer forums,
I am wondering if there is a way to configure the updater to install the new version first, in a new folder, then uninstall the old version after
Please note that the updater is a small executable tool whose role is to check for updates, inform the user of their presence and offer to download and launch the installation for them. The How the Updater works article illustrates the steps of how an application is upgraded from one version to the next when using the Advanced Updater.
We would like to be able to do this so that if someone cancels the update they will always have a working version on their machine.
I'm afraid you cannot implement your specific scenario due to the Windows Installer behaviour. An upgrade installation consists in two parts:
  • the uninstall of the old product version
  • the installation of the new product version
If you want to have a working copy, then you can enable the allow side by side installs of different product versions option from the Upgrades page. You will trigger the uninstall of the old version through a custom action.

Please let me know if there is anything else I can help you with.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”