Updates Adding Mulitple Instances to Installed Programs - Advanced Installer Community

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!

PMahern
Posts: 2
Joined: Thu Jan 05, 2012 11:34 pm

Updates Adding Mulitple Instances to Installed Programs

I've been working on releasing an update for our product with advanced installers and have found that after the update is installed there are two listings of our application in the windows installed programs list, one for the original version and one for the updated version. With further testing I found that it's keeping a listing for each version of the application, so if we were to update our application 5 times, there will be 5 versions of it in the installed programs list. The updater project itself just points to the installer for the new version of the application.

Looking around online I sort of got the impression it might have something to do with each version having a different product id but when I set the product id back to the original, the updater won't allow me to install the new version.

I have the "Uninstall old version first and then install new version" radio button selected under Upgrades and I can confirm that the uninstaller is running when the update is applied. Is this is a bug or is it something in my configuration that I'm missing?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updates Adding Mulitple Instances to Installed Programs

Hi and welcome to Advanced Installer forums,

Usually, it's enough for different versions to have the same Upgrade Code. This and "Uninstall old version first and then install new version" option should ensure the older installer version is replaced.

Did you select "Major Upgrade" after changing the product version in the Product Details page?

Also, to keep everything organized and to ensure the upgrade best practice you should follow our related user guide articles:
http://www.advancedinstaller.com/user-g ... rades.html
http://www.advancedinstaller.com/user-g ... oduct.html

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PMahern
Posts: 2
Joined: Thu Jan 05, 2012 11:34 pm

Re: Updates Adding Mulitple Instances to Installed Programs

Thanks for the reply!

I managed to figure out what I was doing wrong. For our internal release candidate builds we only increment the fourth digit in the version number and in order for the upgrade to work properly you have to increment one of the first 3 digits. In testing I was running the updater between our release candidate builds and this was causing it to break. When I went back and installed our current version that's out already and then updated from there it worked fine since our new release will be incrementing the third digit.

Return to “Common Problems”