The following article uses options that are available starting with the Freeware edition and project type.
This article will guide you in creating a major upgrade for your package
A major upgrade is essentially the removal of an older product followed by the installation of the newer product.
A patch only contains the differences between two versions of the same product. This means that through a patch you can only update a package that is already installed on the target machine.
An upgrade package is a stand-alone installer that can perform a first-time install in case the old product is not installed on the target machine.
For more information regarding how to create a patch take a look on our Authoring a Windows Installer Patch article.
- Before starting editing the .AIP project we recommend creating a backup copy of the project file. This would be referenced as the “old .AIP Project”
- Edit the Installer Project as you wish in order to configure the new version of your software.
Please note that the "Files and Folders" page of this upgrade project should contain all the files and folders of your application, not only the ones that are updated by this upgrade installation.
- Go to "Product Details" page and increment the "Version" from “Product Details” section:
- When leaving the page you will be prompted if you want to generate a new Product Code:
- Select "Generate New" in order to change the Product Code
- The last step is to build the new .AIP project to create the upgrade package.
By default, during the major upgarade process the old product will be removed before the new package is installed. You can change the order of these actions or add custom Upgrade rules in Upgrades page.