Windows Installer Editor Reference
306
Upgrading Applications
What you need to create an upgrade
z
The previous version or versions, which you are upgrading, must have been
installed using Windows Installer.
z
You need access to the .MSI of each version you are upgrading.
z
If you do not have access to the .MSI files, you must have the upgrade code and
version information from the .MSI files. The upgrade code is stored in the
UpgradeCode property, which is in the Properties icon in Setup Editor > Product tab.
The version is located on the Product Details page.
z
The product code of this installation should be different from the product codes of
the installations you will upgrade.
What is the upgrade code?
The upgrade code is a property that is set when you create a new installation. It should
be the same for a related set of applications. When the end user runs an installation on
the destination computer, Windows Installer searches for applications with the same
upgrade code.
The upgrade code is the only information required for creating an upgrade. If no other
upgrade specifications are entered, it is used as the sole factor for determining whether
the upgrade takes place. You can see the upgrade code under the Properties icon in
Setup Editor > Product tab. It is in GUID format.
Creating an Upgrade
To create an upgrade
1. Select Installation Expert > Upgrades page.
2. Click Add at the right of the page and specify the .MSI or .WSI for the previous
version of the application.
If you see a warning to update the current installation’s product code, click Yes.
The Upgrade Details dialog box appears.
3. Complete the dialog box:
Upgrade Code
If you specified an .MSI or .WSI to upgrade, this is filled in with that .MSI’s
upgrade code. If you did not specify an .MSI, you must enter the upgrade code
of the installation you want to upgrade.
See
What is the upgrade code?
on page 306.
Minimum Version
Enter the minimum version that should be upgraded by this installation. The
version you enter here is not upgraded unless you mark the Include minimum
version in range check box.
Include minimum version in range
Mark this to include the minimum version as a valid upgrade. If you clear this,
only versions greater than the minimum version are upgraded.
Maximum Version
Enter the maximum version that should be upgraded by this installation. The
version you enter here is not upgraded unless you mark the Include
maximum version in range check box.