Duplicate upgrade code for different products - Advanced Installer Community
zeiddev
Posts: 103
Joined: Sat Aug 10, 2013 12:30 am

Duplicate upgrade code for different products

Some how I have stupidly managed to release two products with the same upgrade code. (I am guessing that I used the one AI installation as a template for the other)

This is somewhat of an issue because although, not common, it means that a user cannot have both of these two products on his machine.

I am thinking that I should change the upgrade code for one of the product.

Is there a way of searching for the upgrade code and telling the user to uninstall the one product if it is on their machine. If we do this automatically it may uninstall the wrong application. I was thinking of just bringing up a message telling them to uninstall from add and remove programs.

Is there a better way of dealing with this?

Thanks

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

Re: Duplicate upgrade code for different products

Hi David,

Please keep in mind that all the products that are found on the machine with the same Upgrade Code and a lower version than the product that is installing, will be automatically uninstalled by it. This is the Windows Installer normal behavior.

However, if you want to search for the Upgrade Code from your product, you can go in the Search page and create a "Product Version (identify by Upgrade Code)" extended search, then you can display a message to the user based on that search.

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

Return to “Common Problems”