Streamline the install process for upgrades - Advanced Installer Community
fali
Posts: 22
Joined: Thu Mar 14, 2013 9:28 pm

Streamline the install process for upgrades

Hello A.I. team,

I would like my end users to be able to download my installer and just run it: the logic of whether it is a clean install (no previous version) or an upgrade is handled by Advanced Installer. I want to avoid scenarios where they have to uninstall the previous version of the software and then install the new one. This should only apply to installs of a major version: going from version 1 to 2 would allow installation of both, but going from 2.0 to 2.1 would install 2.1 over 2.0.

From reading the manual and what I could gather from the forums, this would be done by enabling some settings on the Upgrades page, and then changing the version code. This is working as expected, I am able go from version 2.0 to 2.1. I would like to extend this even further. Internally, I use a build number that I do not want to expose to the end user. Sometimes the changes between builds can be significant, fixing bugs or adding small features. I think I could have what I want if I include the build number as part of the version number, but I do not want this to be visible in Windows Control Panel. Is it possible to do this?

I think the ideal scenario would be to delete the previous install of the same major version (version 2/2.1/etc) and then install the new one, regardless of minor version code. Can I do this? Any help would be appreciated.
fali
Posts: 22
Joined: Thu Mar 14, 2013 9:28 pm

Re: Streamline the install process for upgrades

Never mind. I've found what I needed. I simply had to enable "Uninstall old version if found" in the Media page.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Streamline the install process for upgrades

Hello,

Indeed, if a package with the same product code and version as the current package is already installed, enabling the Uninstall a package with the same version (if found) option from the Bootstrapper options from the Configurations tab from the Media page will uninstall it.

If you have other questions, please let us know.

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

Return to “Common Problems”