Summary
Creating a major upgrade in InstallShield
Synopsis
This article discusses how to create a major upgrade installation for a Basic MSI or InstallScript MSI project.
Discussion
When deploying a major upgrade the Windows Installer will uninstall the existing version of your product and then install the major upgrade. The Product Version, ProductCode and PackageCode of the original installation must be different from the Product Version, ProductCode and PackageCode of the major upgrade installation. It's recommended to use the same UpgradeCode when packaging a newer version of an existing product. The UpgradeCode property is a GUID representing a related set of products. The UpgradeCode is used in the Upgrade Table to search for related versions of the product that are already installed.
To create major upgrade, follow these steps:
- Create a backup copy of the InstallShield project.
- Open the InstallShield project under the Installation Designer tab.
- Change
ProductVersionunder the General Information view e.g. change Product Version from 1.00.0000 to 2.00.0000 - Generate a new GUID for the
ProductCodeunder the General Information view by clicking on the ellipsis. - Create the major upgrade item:
- Go to the Media/Upgrades view.
- Expand the Prepare Setup For Upgrade Scenarios.
- Right click on Upgrade Windows Installer Setup.
- Select Add Major Upgrade Item from the pop-up menu.
- Give the new item a meaningful name.
- Under the common tab specify the Upgrade Code for the product family that this major upgrade would target and whether it would be 'Any earlier version' or 'Within a specific range of Versions' or 'With a specific Version' upgrade.
- Based on the upgrade code and Product version settings the 'detect property' (specified under the Advanced tab) gets set during runtime and a major upgrade is performed.
- Create the new Release.
- Go to the Media/Releases view.
- In the middle pane, right click on Releases and select New Product Configuration from the pop-up menu.
- Give the Product Configuration a meaningful name.
- Right click on the new Product Configuration -> select New Release from the pop-up menu.
- Give the new release a meaningful name.
- Build the major upgrade release.
Additional Information
The following Microsoft article has additional information on major upgrades
Related Articles
Changing the Package/Product/Upgrade Code and Version Number for Upgrades 6Number of Views Major Upgrade vs. Minor Upgrade vs. Small Update 4Number of Views How to detect if a Suite is running in upgrade mode? 3Number of Views Introduction to Windows Installer Upgrade Types 30Number of Views Uninstalling an InstallShield Installation Manually 18Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago