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

Updating Properties for an Upgrade

· 52CE 我爱测

Because the upgrade changes the name of the .msi file and changes the component code of some components, the product code of the upgrade must be changed from that of the original product.

Because the upgrade changes the name of the .msi file and changes the component code of some components, the product code of the upgrade must be changed from that of the original product. For a description of the cases where an upgrade is required to change the ProductCode property, see Changing the Product Code. An upgrade that changes the ProductCode is referred to as a Major Upgrade.

The upgrade package's ProductName property, ProductVersion property, ProductLanguage property, and UpgradeCode property may be changed, or left unchanged, from the original product. Based upon the values of these properties, Windows Installer may determine whether to apply future upgrade packages to the current upgrade.

The property specified in the ActionProperty column of the Upgrade table must be added to the SecureCustomProperties Property.

Use your database editor to open MNP2001.msi and enter the following data into the Property table. The list provides links to the reference topics for built-in installer properties. The property names that are not links are author-defined properties. Many of the properties were imported from Uisample.msi that comes with the SDK. For details, see Importing the User Interface.

Property Table

Property Value
ARPHELPLINK https://www.microsoft.com/management
BannerBitmap bannrbmp
ButtonText_Back < &Back
ButtonText_Browse Br&owse
ButtonText_Cancel Cancel
ButtonText_Exit &Exit
ButtonText_Finish &Finish
ButtonText_Ignore &Ignore
ButtonText_Install &Install
ButtonText_Next &Next >
ButtonText_No &No
ButtonText_OK OK
ButtonText_Remove &Remove
ButtonText_Reset &Reset
ButtonText_Resume &Resume
ButtonText_Retry &Retry
ButtonText_Return &Return
ButtonText_Yes &Yes
CompleteSetupIcon completi
ComponentDownload ftp://anonymous@microsoft.com/components/
CustomSetupIcon custicon
DefaultUIFont DlgFont8
DialogBitmap dlgbmp
DlgTitleFont {&DlgFontBold8}
ErrorDialog ErrorDlg
ExclamationIcon exclamic
False 0
Iagree No
InfoIcon info
InstallerIcon insticon
INSTALLLEVEL 3
InstallMode Typical
Manufacturer Microsoft
PIDTemplate 12345<###-%%%%%%%>@@@@@
ProductCode {34CF587C-1D8F-4DD5-ADFE-440F4B593987}
ProductID none
ProductLanguage 1033
ProductName MNP2001
ProductVersion 01.50.0000
Progress1 Installing
Progress2 installs
PROMPTROLLBACKCOST P
RemoveIcon removico
RepairIcon repairic
Setup Setup
True 1
UpgradeCode {908E378A-9551-4772-BF1D-5CFAF6FD9CB4}
Wizard Setup Wizard
SecureCustomProperties 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)

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

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