为什么InstallShield中有两个不同的ProductCode(又名产品代码)字段?

时间:2021-09-02 22:40:19

In InstallShield, why are there two productcode settings? One is in general information and another in releases > productconfig. The latter seems to be the one that matters for major upgrades. Likewise there are duplicate Upgrade Code and Package Code fields.

在InstallShield中,为什么有两个产品代码设置?一个是一般信息,另一个是发行版> productconfig。后者似乎是重大升级的重要因素。同样,有重复的升级代码和包代码字段。

1 个解决方案

#1


2  

Product Configurations are a way of building variations of an installer from a single source project. Through the use of release flags you can create different MSI's with different feature sets and then you can override the ProductName, ProductVersion, ProductCode and UpgradeCode to give the resultant MSIs different meta context.

产品配置是一种从单个源项目构建安装程序变体的方法。通过使用发布标志,您可以创建具有不同功能集的不同MSI,然后您可以覆盖ProductName,ProductVersion,ProductCode和UpgradeCode,以便为结果MSI提供不同的元上下文。

An example would be a Lite, Standard and Professional version of your product.

一个例子是您的产品的Lite,Standard和Professional版本。

#1


2  

Product Configurations are a way of building variations of an installer from a single source project. Through the use of release flags you can create different MSI's with different feature sets and then you can override the ProductName, ProductVersion, ProductCode and UpgradeCode to give the resultant MSIs different meta context.

产品配置是一种从单个源项目构建安装程序变体的方法。通过使用发布标志,您可以创建具有不同功能集的不同MSI,然后您可以覆盖ProductName,ProductVersion,ProductCode和UpgradeCode,以便为结果MSI提供不同的元上下文。

An example would be a Lite, Standard and Professional version of your product.

一个例子是您的产品的Lite,Standard和Professional版本。