Upgrades. - 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!

chrisharper
Posts: 2
Joined: Tue May 06, 2008 10:02 pm

Upgrades.

I’m new to Microsoft Installer so I don’t yet fully understand the upgrade scenarios. When I change the product version, Advanced Installers asks me if I want to change the Product Code. When I say yes then build a new msi and install the new version, the installer uninstalls my previous version and installs the new version. This does result in an upgrade but I actually don’t understand why the installer needs to go through the full uninstall sequence of the previous version. I would rather the uninstall not happen and the new version simply be copied over based on the files that have changed. Since Advanced Installer changes the Product Code, the new install seems to be performing a major upgrade (I believe explained here: http://msdn.microsoft.com/en-us/library ... S.85).aspx). Is there a minor upgrade that would behave the way I was hoping for? Does Package Code have anything to do with this process?

I’m using Advanced Installer Pro version 6.2.

Thank you!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Upgrades.

Hi,

Windows Installer offers two ways of upgrading an installation:
1) by using the automated upgrade feature (a major upgrade)
2) by using a patch (a minor upgrade)

A patch is basically the difference between two MSI packages and it will update only the modified files. Please note that a patch requires the target and upgraded images to have the same Product Code. This means that you need to answer "No" after increasing the version. Also, the patch must respect some rules in order to work as expected.

Note that you can create a patch only with an Advanced Installer Enterprise license.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”