大网数据广告活动
安装更新与部署

Updating Upgrade Table for an Upgrade

· 52CE 我爱测

To apply a major upgrade using Windows Installer, the original product installation package must specify an UpgradeCode Property, described in Preparing an Application for Future Major Upgrades, and the upgrade package must have an Upgrade table.

To apply a major upgrade using Windows Installer, the original product installation package must specify an UpgradeCode Property, described in Preparing an Application for Future Major Upgrades, and the upgrade package must have an Upgrade table.

For more information about major upgrades, see Major Upgrades in Patching and Upgrades.

The installation package of MNP2000.msi was assigned an UpgradeCode property, as described in the section Specifying Properties.

Windows Installer applies the upgrade if the user has already installed the 1.0 to 1.4 versions (inclusive) of English language MNP2000. Windows Installer migrates all of the original product's feature settings to the upgraded product. The installer removes the files belonging to the original products not being used by the product's upgrade.

If your copy of MNP2001.msi does not include an Upgrade table, use Orca, or another table editor, to import an empty Upgrade table into the database from Schema.msi. The SDK provides a copy of Schema.msi. Use your database editor to open MNP2001.msi and enter the following data into the empty Upgrade table.

UpgradeCode VersionMin VersionMax Language Attributes Remove ActionProperty
{908E378A-9551-4772-BF1D-5CFAF6FD9CB4} 01.00.0000 01.40.0000 1033 769 OLDAPPFOUND

Continue

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。