Interactive Upgrade - Advanced Installer Community
adamdc78
Posts: 76
Joined: Wed Mar 19, 2014 7:42 pm

Interactive Upgrade

My QA folks are able to reproduce the following behavior when upgrading our software by double clicking the new version's MSI:

* The upgrade installs to the same directory
* The registry keys for uninstallation information and components for both versions persist in the registry
* Programs and Features has entries for both versions (in one case 3 versions)

I thought that our versioning was to blame (we only update the FOURTH number, which is apparently ignored), but when upgrading silently through our bootstrapper the behavior does NOT occur.

I'm sending the exported Uninstall registry keys to support@advancedinstaller.com

I've confirmed with two separate .aips.

What other information might be useful?

- Adam
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Interactive Upgrade

Hi Adam,

The problem that you described is, indeed, encountered because only the fourth field of the Product Version is changed and that field is ignored by Windows Installer. You can find a solution for this in the How do I remove the old version when using the fourth field of the Product Version FAQ.

I'm not sure why it works when the application is upgraded silently through your bootstrapper, maybe it first removes the old version and then install the new version separately.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
adamdc78
Posts: 76
Joined: Wed Mar 19, 2014 7:42 pm

Re: Interactive Upgrade

Thank you very much for the solution. All of the old revision are indeed properly removed when installing with this configuration.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Interactive Upgrade

You're welcome. I'm glad you got this working.

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

Return to “Common Problems”