Επεξεργασία

Κοινή χρήση μέσω


Specifying Properties

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