UpgradeCode 属性

UpgradeCode 属性是表示一组相关产品的 GUID。 Upgrade 表中的 UpgradeCode 用于搜索已安装产品的相关版本。

RegisterProduct 操作使用此属性。

备注

强烈建议安装包的作者为其应用程序指定 UpgradeCode。

要求

要求
版本
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer。 若要了解 Windows Installer 版本所需的最低 Windows Service Pack,请参阅 Windows Installer 运行时要求

请参阅

属性

修补和升级

为将来重大升级准备应用程序