sthomsen@ncidea.com
Posts: 10
Joined: Sun Jun 18, 2006 3:17 pm
Location: North Carolina, USA
Contact: Website

Upgrading AI causes side by side install for same product

We have a product that uses an AI MSI setup. The .aip file is under source control. We built the product using a previous version of AI and released it to our customers.

We upgraded AI, and rebuilt the exact same version of our product that was previously released to our customers. When the new msi is installed, it does not display a warning, nor does it offer to modify, replace or upgrade the existing installation. It simply installs the product again, leaving two icons in Add/Remove Programs.

New information:
============

After experimenting further, it appears that our problem has to do with the product code changing whenever AI is called by command line with the /version ??? option. It has nothing to do with the version change of AI.

We can modify the version without affecting the product code using the -noprodcode option.

But the question remains, why would the same version of a product install side by side, even if the product codes are different?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Are sure that you don't have the "Allow side by side installs of different versions of the product" checked in the "Install Parameters" page? To make an upgrade select "Automatically upgrade older versions of the product" option.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
sthomsen@ncidea.com
Posts: 10
Joined: Sun Jun 18, 2006 3:17 pm
Location: North Carolina, USA
Contact: Website

No, I did not have side by side enabled.

I think the problem was that the aip file was created a few years ago with an old version of AI. It had some other issues as well. So, I created a completely new project and it appears to work now.

I had to manually edit the UpgradeCode in the new aip to match the old aip.

Return to “Common Problems”