Upgrade a product originally not authored by Adv Inst - 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!

andersent
Posts: 7
Joined: Sun Sep 12, 2010 3:52 am

Upgrade a product originally not authored by Adv Inst

I have an app deployed to several companies and the installer was initially authored by Visual Studio. Now I have created a new installer with Adv Installer. Is there a way to have Adv Installer use the same product code as the original app authored via VS (not sure if product code is the right property) so that when I build a new release with Adv Installer and ship it to them it will not require an uninstall of the original app? When I try to install the new Adv Inst version now it just installs a separate copy of my app (so 2 show up in add/remove) which is what I'd expect since it is a different product code, etc. But is there a way to force it to recognize it as the same app so they won't have to uninstall the old version to start using the new installer for future upgrades?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Upgrade a product originally not authored by Adv Inst

Hello,

Indeed you can achieve this. You will want your installer to have the same Upgrade Code. Please see our product identification article for more information on how Windows Installer identifies different versions of your product.

The Upgrade Code can be manually set from the top menu: Project->Options->Project IDs.

Let me know if this helps.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
andersent
Posts: 7
Joined: Sun Sep 12, 2010 3:52 am

Re: Upgrade a product originally not authored by Adv Inst

Thank you. The one additional question then is, if I add the upgrade code of the old Visual Studio authored msi package then what does this mean for any clients who have already gone to a version of my product authored by Advanced Installer? Do I need to also add the upgrade code of the advanced installer authored msi? What I mean is that version 2.15 and below of my product were authored with Visual Studio installer. Versions 2.16-current version of 2.20 were authored with Advanced Installer. So at this point, I have many clients on 2.15 and lower (old Visual Studio installer) but I do have a handful of people already using somewhere between 2.16-2.20 (Advanced Installer authored installer). So, if I do as you suggest and go to the upgrades page and add a new upgrade code by pointing it to my most recent Visual Studio based msi package (2.15) then will that goof up people who go to do a future upgrade who are already using one of the Advanced Installer versions?

Also, for the clients on older versions that are Visual Studio based installers, if I do what I said above where I just add the upgrade code of the newest msi package, will that suffice for all the users on previous versions who might upgrade later to an Advanced Installer version? I think it should because whereever I did change a version in the Visual Studio based installer I would tell it to upgrade the version number of the installer and just as in Advanced Installer I think it would prompt to change the Product Code so I am assuming the upgrade code remained the same, so all of the Visual Studio based installers would have the same upgrade code if I only was changing the version of the installer which in turn would change the product code, right?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Upgrade a product originally not authored by Adv Inst

Hi,
So, if I do as you suggest and go to the upgrades page and add a new upgrade code by pointing it to my most recent Visual Studio based msi package (2.15) then will that goof up people who go to do a future upgrade who are already using one of the Advanced Installer versions?
If the upgrade code of the packages built with Advanced Installer for previous version is not the same with the one of the latest version created with Advanced Installer then you will have to add it to the list too.
I am assuming the upgrade code remained the same
If you changed only the ProductCode the UpgradeCode should be the same for all versions, so all of them should be automaticaly removed by the package you create with Advanced Installer and contains this UpgradeCode.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”