ArticleDirectory
- Package code
- Product Code
- Upgrade Code
There are two codes worth noting when creating an MSI installation file, which are very important during product upgrade. Follow the standard version release method to automatically delete the old version and then install the new version to facilitate product upgrade. Each MSI installation package has three codes: Package code, product code, and upgrade code.
Package code
The package code uniquely identifies each installation package.
Product Code
The product code identifies a series of upgraded versions. WindowsProgramA version number in the format of 0.0.0.0 and 4 digits is generally used. The first three digits are used to identify the version. The product code must be the same in all patch versions. The patch version refers to the version released when the first two versions remain unchanged and only 3rd and 4th versions change. Similarly, if the first two versions of our product have changed, a new product code must be changed.
Upgrade Code
The upgrade code is used to identify a complete product line. For example, two versions of vs2008 and vs2012. use two different upgrade codes, which do not affect each other, different product codes are used in each version to implement their respective upgrades.