Summary
The article discusses when and why the Package Code, Product Code, Upgrade Code, and Version Number should be changed.
Synopsis
This article discusses when and why the Package Code, Product Code, Upgrade Code, and Version Number should be changed.
Discussion
The Package, Product, and Upgrade codes are Globally Unique Identifiers (GUIDs) that help define and uniquely identify a Windows Installer (MSI) installation package. These GUIDs are important when sending upgrades or patches. The Windows Installer Service allows you to deliver your package upgrade in the form of a patch or a major upgrade. When sending these upgrades, you must change these GUIDs accordingly for proper functioning of upgrades and to follow the rules set by the Windows Installer Service for upgrades.
When deploying a major upgrade the Windows Installer will uninstall the existing version of your product and then install the major upgrade. The Product and Package Codes of the original installation must be different from the Product and Package Code of the major upgrade installation.
A minor upgrade delivers the entire MSI package and repairs the current installation. It installs only those qualifying files using MSI's file replacement mechanism without actually uninstalling the previous version.
A patch is different from a minor upgrade in the sense that it only delivers and updates those files that have changed to the target machine. Patches are deployed via .msp files and are not full MSI installations.
Here is a table that lists the GUID that need to be made while sending an upgrade:
| Update Type | Package Code | Product Version | Product Code | Upgrade Code |
|---|---|---|---|---|
| Minor Upgrade without Patching | X | |||
| Minor Upgrade with Patch | X | X | ||
| Major Upgrade | X | X | X |
Related Articles
Modify Uninstall Behavior of a Previous Version During a Major Upgrade 6Number of Views Upgrade Error: A Newer Version of This Application is Already Installed on This Computer 22Number of Views Changing the cgroup mode for a GKE cluster 5Number of Views Best practices for upgrading Snow Commander 460Number of Views InstallScript MSI Installs to Default Location During Minor Upgrades 6Number 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago