Property Reference


Property Reference

This section lists the properties defined by Windows Installer:

Additional properties can be specified by authored data or custom actions. Properties with names containing no lowercase letters are public properties and can be specified on the command line.

For information about values of the Uninstall registry key that are provided by installer properties, see Uninstall Registry Key.

Component Location Properties

The following list provides links to more information about the component location properties.

PropertyDescription
OriginalDatabaseThe installer sets this property to the launched-from database, the database on the source, or the cached database.
ParentOriginalDatabaseThe installer sets this property for installations run by a Concurrent Installation action.
SourceDirRoot directory that contains the source files.
TARGETDIRSpecifies the root destination directory for the installation. During an administrative installation this property is the location to copy the installation package.

 

Configuration Properties

The following list provides links to more information about other configurable properties.

Property Description
ACTIONInitial action called after the installer is initialized.
ALLUSERSDetermines where configuration information is stored.
ARPAUTHORIZEDCDFPREFIXURL of the update channel for an application.
ARPCOMMENTSProvides Comments for the Add or Remove Programs in Control Panel.
ARPCONTACTProvides Contact for the Add or Remove Programs in Control Panel.
ARPINSTALLLOCATIONFully qualified path to the primary folder of an application.
ARPNOMODIFYDisables functionality that modifies a product.
ARPNOREMOVEDisables functionality that removes a product.
ARPNOREPAIRDisables the Repair button in the Programs wizard.
ARPPRODUCTICONSpecifies the primary icon for the installation package.
ARPREADMEProvides a ReadMe for the Add or Remove Programs in Control Panel.
ARPSIZEEstimated size of an application in kilobytes.
ARPSYSTEMCOMPONENTPrevents display of an application in the Add or Remove Programs list.
ARPURLINFOABOUTURL for the home page of an application.
ARPURLUPDATEINFOURL for application update information.
AVAILABLEFREEREGRegistry space (in kilobytes) that an application requires. Used by AllocateRegistrySpace action.
CCP_DRIVEThe root path for qualifying products for CCP.
DefaultUIFontDefault font style used for controls.
DISABLEADVTSHORTCUTSSet to disable the generation the specific shortcuts that support installation-on-demand.
DISABLEMEDIAPrevents the installer from registering media sources, such as a CD-ROMs, as valid sources for the product.
DISABLEROLLBACKDisables rollback for the current configuration.
EXECUTEACTIONTop-level action that ExecuteAction initiates.
EXECUTEMODEMode of execution that the installer performs.
FASTOEMImproves installation performance under specific OEM scenarios.
INSTALLLEVELInitial level where features are installed.
LIMITUIUI level capped as Basic.
LOGACTIONList of action names to be logged.
MEDIAPACKAGEPATHThis property must be set to the relative path if the installation package is not located at the root of the CD-ROM.
MSIARPSETTINGSIDENTIFIERThis optional property contains a semi-colon delimited list of the registry locations where the application stores a user's settings and preferences. Available with Windows Installer 4.0.
MSIDISABLEEEUIDisable the embedded user interface for the installation.
MSIFASTINSTALLReduce the time required to install a large Windows Installer package.
MSIINSTALLPERUSERRequests that the Windows Installer install the package only for the current user.
Windows Installer 4.5 and earlier:  Not supported.
MSINODISABLEMEDIASet this property to prevent the installer from setting the DISABLEMEDIA property.
MSIENFORCEUPGRADECOMPONENTRULESSet this property to 1 (one) on the command line or in the Property Table to apply the upgrade component rules during small updates and minor upgrades of a specific product. Available beginning with Windows Installer 3.0.
MSIUNINSTALLSUPERSEDEDCOMPONENTSWhen this property has been set to 1, the installer can unregister and uninstall redundant components to prevent leaving behind orphan components on the computer.
PRIMARYFOLDERAllows the author to designate a primary folder for an installation. Used to determine the values for the PrimaryVolumePath, PrimaryVolumeSpaceAvailable, PrimaryVolumeSpaceRequired, and PrimaryVolumeSpaceRemaining properties.
PrivilegedRuns an installation with elevated privileges.
PROMPTROLLBACKCOSTAction if there is insufficient disk space for the installation.
REBOOTForces or suppresses a restart.
REBOOTPROMPTSuppresses the display of prompts for restarts to the user. Any restarts that are needed happen automatically.
ROOTDRIVEDefault drive for an installation.
SEQUENCEA table that has the sequence table schema.
SHORTFILENAMESCauses short file names to be used.
TRANSFORMSList of transforms to be applied to a database.
TRANSFORMSATSOURCEInforms the installer that the transforms for a product reside at the source.
TRANSFORMSSECURESetting the TRANSFORMSECURE property to 1 (one) informs the installer that transforms are to be cached locally on the user computer in a location where the user does not have write access.
MsiLogFileLocationThe installer sets the value of this property to the full path of the log file, when logging has been enabled. This property is available starting with Windows Installer 4.0.
MsiLoggingSets the default logging mode for the Windows Installer package. This property is available starting with Windows Installer 4.0.
MSIUSEREALADMINDETECTIONSet this property to 1 to request that the installer use actual user information when setting the AdminUser property. This property is available starting with Windows Installer 4.0.

 

Date, Time Properties

The Date and Time properties are live properties that the installer sets when data is extracted.

PropertyDescription
DateThe current date.
TimeThe current time.

 

Feature Installation Options Properties

The following list provides links to more information about the feature installation options properties.

PropertyDescription
ADDDEFAULTList of features to be installed in the default configuration.
ADDLOCALList of features to be installed locally.
ADDSOURCEList of features to be run from source.
ADVERTISEList of features to be advertised.
COMPADDDEFAULTList of components to be installed in the default configuration.
COMPADDLOCALList of component IDs to be installed locally.
COMPADDSOURCEList of component IDs to run from source media.
FILEADDDEFAULTList of file keys for files to be installed in the default configuration.
FILEADDLOCALList of file keys for files to be run locally.
FILEADDSOURCEList of file keys to be run from the source media.
MSIDISABLELUAPATCHINGSetting this property prevents Least Privileged User (LUA) patching of an application.
MsiPatchRemovalListList of patches to be removed during the installation.
MSIRESTARTMANAGERCONTROLSpecifies whether the package uses the Restart Manager or FilesInUse functionality.
MSIDISABLERMRESTARTSpecifies how applications or services that are currently using files affected by an update should be shutdown and restarted to enable the installation of the update.
MSIRMSHUTDOWNSpecifies how applications or services that are currently using files affected by an update should be shutdown to enable the installation of the update.
MSIPATCHREMOVESetting this property removes patches.
PATCHSetting this property applies a patch.
REINSTALLList of features to be reinstalled.
REINSTALLMODEA string that contains letters that specify the type of reinstall to perform.
REMOVEList of features to be removed.

 

Hardware Properties

The following list identifies the hardware properties that the Windows Installer sets at startup.

PropertyDescription
AlphaThe numeric processor level when running on an Alpha processor.

Note  This property is obsolete, the Alpha platform is not supported by Windows Installer.

BorderSideThe width of the window borders, in pixels.
BorderTopThe height of the window borders, in pixels.
CaptionHeightThe height of normal caption area, in pixels.
ColorBits The number of adjacent color bits for each pixel.
IntelThe numeric processor level when running on an Intel processor.
Intel64The numeric processor level when running on an Itanium processor.
Msix64The numeric processor level when running on an x64 processor.
PhysicalMemoryThe size of the installed RAM, in megabytes.
ScreenXThe width of the screen, in pixels.
ScreenYThe height of the screen, in pixels.
TextHeightThe height of characters, in logical units.
VirtualMemoryThe amount of available page file space, in megabytes.

 

Installation Status Properties

The following list provides links to more information about status properties that are updated by the installer during installation.

PropertyDescription
AFTERREBOOTIndicates current installation follows a reboot that the ForceReboot action invokes.
CostingCompleteIndicates whether disk space costing is complete.
InstalledIndicates that a product is already installed.
MSICHECKCRCSThe Installer does a CRC on files only if the MSICHECKCRCS property is set.
MsiRestartManagerSessionKeyThe Installer sets this property to the session key for the Restart Manager session.
MsiRunningElevatedThe Installer sets the value of this property to 1 when the installer is running with elevated privileges.
MsiSystemRebootPendingThe Installer sets this property to 1 if a restart of the operating system is currently pending.
MsiUIHideCancelThe Installer sets MsiUIHideCancel to 1 when the internal install level includes INSTALLUILEVEL_HIDECANCEL.
MsiUIProgressOnlyThe Installer sets MsiUIProgressOnly to 1 when the internal install level includes INSTALLUILEVEL_PROGRESSONLY.
MsiUISourceResOnlyMsiUISourceResOnly to 1 (one) when the internal install level includes INSTALLUILEVEL_SOURCERESONLY.
NOCOMPANYNAMESuppresses the automatic setting of the COMPANYNAME property.
NOUSERNAMESuppresses the automatic setting of the USERNAME property.
OutOfDiskSpaceInsufficient disk space to accommodate the installation.
OutOfNoRbDiskSpaceInsufficient disk space with rollback turned off.
PreselectedFeatures are already selected.
PrimaryVolumePathThe Installer sets the value of this property to the path of the volume that the PRIMARYFOLDER property designates.
PrimaryVolumeSpaceAvailableThe Installer sets the value of this property to a string that represents the total number of bytes available on the volume that the PrimaryVolumePath property references.
PrimaryVolumeSpaceRemainingThe Installer sets the value of this property to a string that represents the total number of bytes remaining on the volume that the PrimaryVolumePath property references if all the currently selected features are installed.
PrimaryVolumeSpaceRequiredThe Installer sets the value of this property to a string that represents the total number of bytes required by all currently selected features on the volume that the PrimaryVolumePath property references.
ProductLanguageNumeric language identifier (LANGID) for the database. (REQUIRED)
ReplacedInUseFilesSet if the installer installs over a file that is being held in use.
RESUMEResumed installation.
RollbackDisabledThe installer sets this property when rollback is disabled.
UILevelIndicates the user interface level.
UpdateStartedSet when changes to the system have begun for this installation.
UPGRADINGPRODUCTCODESet by the installer when an upgrade removes an application.
VersionMsiThe installer sets this property to the version of Windows Installer that is run during the installation.

 

Operating System Properties

The following list provides links to more information about operating system properties that the Installer sets at startup.

Property NameBrief Description
AdminUserSet on Windows 2000 if the user has administrator privileges.
ComputerNameComputer name of the current system.
MsiNetAssemblySupportOn systems that support common language runtime assemblies, the Installer sets the value of this property to the file version of fusion.dll. The Installer does not set this property if the operating system does not support common language runtime assemblies.
MsiNTProductTypeIndicates the Windows product type.
MsiNTSuiteBackOfficeOn Windows 2000 and later operating systems, the Installer sets this property to 1 (one) only if Microsoft BackOffice components are installed.
MsiNTSuiteDataCenterOn Windows 2000 and later operating systems, the Installer sets this property to 1 (one) only if Windows 2000 Datacenter Server is installed.
MsiNTSuiteEnterpriseOn Windows 2000 and later operating systems, the Installer sets this property to 1 (one) only if Windows 2000 Advanced Server is installed.
MsiNTSuitePersonalOn Windows XP and later operating systems, the Installer sets this property to 1 (one) only if the operating system is Workstation Personal (not Professional).
MsiNTSuiteSmallBusinessOn Windows 2000 and later operating systems, the Installer sets this property to 1 (one) only if Microsoft Small Business Server is installed.
MsiNTSuiteSmallBusinessRestrictedOn Windows 2000 and later operating systems, the Installer sets this property to 1 (one) only if Microsoft Small Business Server is installed with the restrictive client license.
MsiNTSuiteWebServerOn Windows 2000 and later operating systems, the Installer sets the MsiNTSuiteWebServer property to 1 (one) if the web edition of the Windows Server 2003 is installed. Only available with the Windows Server 2003 release of the Windows Installer.
MsiTabletPCThe installer sets this property to a nonzero value if the current operating system is Windows XP Tablet PC Edition.
MsiWin32AssemblySupportOn systems that support Win32 assemblies, the Installer sets the value of this property to the file version of sxs.dll. The Installer does not set this property if the operating system does not support Win32 assemblies.
OLEAdvtSupportSet if OLE supports the Windows Installer.
RedirectedDllSupportThe Installer sets the RedirectedDllSupport property if the system performing the installation supports Isolated Components.
RemoteAdminTSThe Installer sets the RemoteAdminTS property when the system is a remote administration server running the Terminal Server role service.
ServicePackLevelThe version number of the operating system service pack.
ServicePackLevelMinorThe minor version number of the operating system service pack.
SharedWindowsSet when the system is operating as Shared Windows.
ShellAdvtSupportSet if the shell supports feature advertising.
SystemLanguageIDDefault language identifier for the system.
TerminalServerSet when the system is a server running the Terminal Server role service.
TTCSupportIndicates if the operating system supports using .ttc (true type font collections) files.
Version9XVersion number for the Windows operating system.
VersionDatabaseNumeric database version of the current installation.
VersionNTVersion number for the operating system.
VersionNT64Version number for the operating system if the system is running on a 64-bit computer.
Windows buildBuild number of the operating system.

 

Product Information Properties

The following list provides links to more information about product-specific properties specified in the Property Table.

Property NameBrief Description
ARPHELPLINKInternet address or URL for technical support.
ARPHELPTELEPHONETechnical support phone numbers.
DiskPromptString displayed by a message box that prompts for a disk.
IsAdminPackageSet to 1 (one) if the current installation is running from a package created through an administrative installation.
LeftUnitPlaces units to the left of the number.
ManufacturerName of the application manufacturer. (Required)
MediaSourceDirThe installer sets this property to 1 (one) when the installation uses a media source, such as a CD-ROM.
MSIINSTANCEGUIDThe presence of this property indicates that a product code changing transform is registered to the product.
MSINEWINSTANCEThis property indicates the installation of a new instance of a product with instance transforms.
ParentProductCodeThe installer sets this property for installations that a Concurrent Installation action runs.
PIDTemplateString used as a template for the PIDKEY property.
ProductCodeA unique identifier for a specific product release. (Required)
ProductNameHuman readable name of an application. (Required)
ProductStateSet to the installed state of a product.
ProductVersionString format of the product version as a numeric value. (Required)
UpgradeCodeA GUID that represents a related set of products.

 

Summary Information Update Properties

The following properties are only set by transforms in .msp files that are used to update the summary information stream of an administrative image.

PropertyDescription
PATCHNEWPACKAGECODEThe value of this property is written to the Revision Number Summary Property.
PATCHNEWSUMMARYCOMMENTSThe value of this property is written to the Comments Summary Property.
PATCHNEWSUMMARYSUBJECTThe value of this property is written to the Subject Summary Property.

 

System Folder Properties

The following list provides links to more information about system folders that the installer sets at setup.

Property Description
AdminToolsFolderThe full path to the directory that contains administrative tools.
AppDataFolderThe full path to the Roaming folder for the current user.
CommonAppDataFolderThe full path to application data for all users.
CommonFiles64FolderThe full path to the predefined 64-bit Common Files folder.
CommonFilesFolderThe full path to the Common Files folder for the current user.
DesktopFolderThe full path to the Desktop folder.
FavoritesFolderThe full path to the Favorites folder for the current user.
FontsFolderThe full path to the Fonts folder.
LocalAppDataFolderThe full path to the folder that contains local (nonroaming) applications.
MyPicturesFolderThe full path to the Pictures folder.
NetHoodFolderThe full path to the NetHood folder.
PersonalFolderThe full path to the Documents folder for the current user.
PrintHoodFolderThe full path to the PrintHood folder.
ProgramFiles64FolderThe full path to the predefined 64-bit Program Files folder.
ProgramFilesFolderThe full path to the predefined 32-bit Program Files folder.
ProgramMenuFolderThe full path to the Program Menu folder.
RecentFolderThe full path to the Recent folder.
SendToFolderThe full path to the SendTo folder for the current user.
StartMenuFolderThe full path to the Start menu folder.
StartupFolderThe full path to the Startup folder.
System16FolderThe full path to folder for 16-bit system DLLs.
System64FolderThe full path to the predefined System64 folder.
SystemFolderThe full path to the System folder for the current user.
TempFolderThe full path to the Temp folder.
TemplateFolderThe full path to the Template folder for the current user.
WindowsFolderThe full path to the Windows folder.
WindowsVolumeThe volume of the Windows folder.

 

User Information Properties

The following list provides links to more information about user-supplied information.

PropertyDescription
AdminPropertiesList of properties that are set during an administration installation.
COMPANYNAMEOrganization name of the user who is performing the installation.
LogonUserUser name for the user who is currently logged on.
MsiHiddenPropertiesList of properties that are prevented from being written into the log.
PIDKEYPart of the Product ID that the user enters.
ProductIDFull Product ID after a successful validation.
UserLanguageIDDefault language identifier of the current user.
USERNAMEUser who is performing the installation.
UserSID propertySet by the installer according to the security identifier (SID) of the user.

 

Send comments about this topic to Microsoft

Build date: 11/12/2009



Page view tracker