FGump
Posts: 65
Joined: Thu Jan 05, 2006 7:23 pm

AI install will not upgrade over older version

AI Support,

I have used AI to package an application for quite some time now and it has worked great when I needed to install it over a previous version (i.e. uninstall the old version and install the new one). Each time I create a new setup, I change the product version number and tell AI it's a major update. I have verified this creates a new product code, which I believe should allow the installation to remove the old version and install the new one. However, recently on all the machines I've tried my new setup, I'm getting a message from Windows (Windows 7 x64 Professional) that the product is already installed and must be uninstalled first. I then have to go through the process of manually uninstalling my application before I can install it.

Any ideas of what might be wrong here? Things I need to check for either in AI (perhaps directly in the AIP file) or in Windows 7? I am currently using AI 9.4 (which I just got installed, but can't recall from what version it was upgraded from).

Kindest Regards,

Frank
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AI install will not upgrade over older version

Hello Frank,

This error message occurs because you are trying to upgrade the installed package with a modified version that has the same product version and/or the same product code. Please take a look on our Why do I receive the "Another version of this product is already installed" message?" article.

Also, please keep in mind that Windows Installer ignores the fourth field of the product version. So, if your first three product version fields are identical, then the second version of your application will not upgrade the first one. Please take a look on ProductVersion property article and set your product version accordingly if this is the case.

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

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FGump
Posts: 65
Joined: Thu Jan 05, 2006 7:23 pm

Re: AI install will not upgrade over older version

Thank you Daniel. I went ahead and regenerated a new Product Code and rebuilt the setup. It installed perfectly over the older version by removing it first and then installing the new version as it's supposed to. Not sure why it stopped working on me before, but perhaps I wasn't thinking the last few builds and was selecting "Patch" instead of "Major Upgrade" - which would cause this issue as you mentioned. Working fine now. :) Thanks again for the prompt reply.

Kindest Regards,

Frank

Return to “Common Problems”