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

Specifying Properties

· 52CE 我爱测

Windows Installer properties are global variables the installer uses during an installation.

Windows Installer properties are global variables the installer uses during an installation. See the sections under Properties. If in the section Importing a Blank Database you used uisample.msi from the Windows Installer SDK, the Property table in your copy of MNP2000.msi already contains many properties that are used by the user interface. In this section you add additional information to the Property table specific to the installation of the Notepad sample. See also the Program Information Tables Group.

There are five properties that are required in every installation package, and these must be updated for the Notepad sample in the Property table of MNP2000.msi:

Although not required by all installation packages, applications that may in the future receive an upgrade should also have an UpgradeCode property. See Preparing an Application for Future Major Upgrades.

Use your database editor to open MNP2000.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 imported from uisample.msi are for the sample user interface. The later section User Interface for the Installation Sample discusses 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 {18A9233C-0B34-4127-A966-C257386270BC}
ProductID none
ProductLanguage 1033
ProductName MNP2000
ProductVersion 01.40.0000
Progress1 Installing
Progress2 installs
PROMPTROLLBACKCOST P
RemoveIcon removico
RepairIcon repairic
Setup Setup
True 1
UpgradeCode {908E378A-9551-4772-BF1D-5CFAF6FD9CB4}
Wizard Setup Wizard

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)

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

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