This section lists the properties defined by Windows Installer:
- Component Location Properties
- Configuration Properties
- Date, Time Properties
- Feature Installation Options Properties
- Hardware Properties
- Installation Status Properties
- Operating System Properties
- Product Information Properties
- Summary Information Update Properties
- System Folder Properties
- User Information Properties
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.
Property
Description
The installer sets this property to the launched-from database, the database on the source, or the cached database.
The installer sets this property for installations run by a Concurrent Installation action.
Root directory that contains the source files.
Specifies 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
Initial action called after the installer is initialized.
Determines where configuration information is stored.
URL of the update channel for an application.
Provides Comments for the Add or Remove Programs in Control Panel.
Provides Contact for the Add or Remove Programs in Control Panel.
Fully qualified path to the primary folder of an application.
Disables functionality that modifies a product.
Disables functionality that removes a product.
Disables the Repair button in the Programs wizard.
Specifies the primary icon for the installation package.
Provides a ReadMe for the Add or Remove Programs in Control Panel.
Estimated size of an application in kilobytes.
Prevents display of an application in the Add or Remove Programs list.
URL for the home page of an application.
URL for application update information.
Registry space (in kilobytes) that an application requires. Used by AllocateRegistrySpace action.
The root path for qualifying products for CCP.
Default font style used for controls.
Set to disable the generation the specific shortcuts that support installation-on-demand.
Prevents the installer from registering media sources, such as a CD-ROMs, as valid sources for the product.
Disables rollback for the current configuration.
Top-level action that ExecuteAction initiates.
Mode of execution that the installer performs.
Improves installation performance under specific OEM scenarios.
Initial level where features are
installed.
UI level capped as Basic.
List of action names to be logged.
This property must be set to the relative path if the installation package is not located at the root of the CD-ROM.
This 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.
Disable the embedded user interface for the installation.
Windows Installer 4.0 and earlier: Not supported.
Reduce the time required to install a large Windows Installer package.
Windows Installer 4.5 and earlier: Not supported.
Requests that the Windows Installer install the package only for the current user.
Windows Installer 4.5 and earlier: Not supported.
Set this property to prevent the installer from setting the DISABLEMEDIA property.
MSIENFORCEUPGRADECOMPONENTRULES
Set 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.
MSIUNINSTALLSUPERSEDEDCOMPONENTS
When this property has been set to 1, the installer can unregister and uninstall redundant components to prevent leaving behind orphan components on the computer.
Windows Installer 4.0 and earlier: Not supported.
Allows the author to designate a primary folder for an installation. Used to determine the values for the PrimaryVolumePath, PrimaryVolumeSpaceAvailable, PrimaryVolumeSpaceRequired, and PrimaryVolumeSpaceRemaining properties.
Runs an installation with elevated privileges.
Action if there is insufficient disk space for the installation.
Forces or suppresses a restart.
Suppresses the display of prompts for restarts to the user. Any restarts that are needed happen automatically.
Default drive for an installation.
A table that has the sequence table schema.
Causes short file names to be used.
List of transforms to be applied to a database.
Informs the installer that the transforms for a product reside at the source.
Setting 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.
The 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.
Sets the default logging mode for the Windows Installer package. This property is available starting with Windows Installer 4.0.
Set 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.
Property
Description
The current date.
The current time.
Feature Installation Options Properties
The following list provides links to more information about the feature installation options properties.
Property
Description
List of features to be installed in the default configuration.
List of features to be installed locally.
List of features to be run from source.
List of features to be advertised.
List of components to be installed in the default configuration.
List of component IDs to be installed locally.
List of component IDs to run from source media.
List of file keys for files to be installed in the default configuration.
List of file keys for files to be run locally.
List of file keys to be run from the source media.
Setting this property prevents Least Privileged User (LUA) patching of an application.
List of patches to be removed during the installation.
Specifies whether the package uses the Restart Manager or FilesInUse functionality.
Specifies 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.
Specifies how applications or services that are currently using files affected by an update should be shutdown to enable the installation of the update.
Setting this property removes patches.
Setting this property applies a patch.
List of features to be reinstalled.
A string that contains letters that specify the type of reinstall to perform.
List of features to be removed.
Hardware Properties
The following list identifies the hardware properties that the Windows Installer sets at startup.
Property
Description
The numeric processor level when running on an Alpha processor.
Note This property is obsolete, the Alpha platform is not supported by Windows Installer.
The width of the window borders, in pixels.
The height of the window borders, in pixels.
The height of normal caption area, in pixels.
The number of adjacent color bits for each pixel.
The numeric processor level when running on an Intel processor.
The numeric processor level when running on an Itanium processor.
The numeric processor level when running on an x64 processor.
The size of the installed RAM, in megabytes.
The width of the screen, in pixels.
The height of the screen, in pixels.
The height of characters, in logical units.
The 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.
Property
Description
Indicates current installation follows a reboot that the ForceReboot action invokes.
Indicates whether disk space costing is complete.
Indicates that a product is already installed.
The Installer does a CRC on files only if the MSICHECKCRCS property is set.
The Installer sets this property to the session key for the Restart Manager session.
The Installer sets the value of this property to 1 when the installer is running with elevated privileges.
The Installer sets this property to 1 if a restart of the operating s
ystem is currently pending.
The Installer sets MsiUIHideCancel to 1 when the internal install level includes INSTALLUILEVEL_HIDECANCEL.
The Installer sets MsiUIProgressOnly to 1 when the internal install level includes INSTALLUILEVEL_PROGRESSONLY.
MsiUISourceResOnly to 1 (one) when the internal install level includes INSTALLUILEVEL_SOURCERESONLY.
Suppresses the automatic setting of the COMPANYNAME property.
Suppresses the automatic setting of the USERNAME property.
Insufficient disk space to accommodate the installation.
Insufficient disk space with rollback turned off.
Features are already selected.
The Installer sets the value of this property to the path of the volume that the PRIMARYFOLDER property designates.
The 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.
The 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.
The 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.
Numeric language identifier (LANGID) for the database. (REQUIRED)
Set if the installer installs over a file that is being held in use.
Resumed installation.
The installer sets this property when rollback is disabled.
Indicates the user interface level.
Set when changes to the system have begun for this installation.
Set by the installer when an upgrade removes an application.
The 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 Name
Brief Description
Set on Windows 2000 if the user has administrator privileges.
Computer name of the current system.
On 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.
Indicates the Windows product type.
On Windows 2000 and later operating systems, the Installer sets this property to 1 (one) only if Microsoft BackOffice components are installed.
On Windows 2000 and later operating systems, the Installer sets this property to 1 (one) only if Windows 2000 Datacenter Server is installed.
On Windows 2000 and later operating systems, the Installer sets this property to 1 (one) only if Windows 2000 Advanced Server is installed.
On Windows XP and later operating systems, the Installer sets this property to 1 (one) only if the operating system is Home (not Professional).
On Windows 2000 and later operating systems, the Installer sets this property to 1 (one) only if Microsoft Small Business Server is installed.
MsiNTSuiteSmallBusinessRestricted
On 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.
On Windows 2000 and later operating systems, the Ins
taller 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.
The installer sets this property to a nonzero value if the current operating system is Windows XP Tablet PC Edition.
On 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.
Set if OLE supports the Windows Installer.
The Installer sets the RedirectedDllSupport property if the system performing the installation supports Isolated Components.
The Installer sets the RemoteAdminTS property when the system is a remote administration server running the Terminal Server role service.
The version number of the operating system service pack.
The minor version number of the operating system service pack.
Set when the system is operating as Shared Windows.
Set if the shell supports feature advertising.
Default language identifier for the system.
Set when the system is a server running the Terminal Server role service.
Indicates if the operating system supports using .ttc (true type font collections) files.
Version number for the Windows operating system.
Numeric database version of the current installation.
Version number for the operating system.
Version number for the operating system if the system is running on a 64-bit computer.
Build 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 Name
Brief Description
Internet address or URL for technical support.
Technical support phone numbers.
String displayed by a message box that prompts for a disk.
Set to 1 (one) if the current installation is running from a package created through an administrative installation.
Places units to the left of the number.
Name of the application manufacturer. (Required)
The installer sets this property to 1 (one) when the installation uses a media source, such as a CD-ROM.
The presence of this property indicates that a product code changing transform is registered to the product.
This property indicates the installation of a new instance of a product with instance transforms.
The installer sets this property for installations that a Concurrent Installation action runs.
String used as a template for the PIDKEY property.
A unique identifier for a specific product release. (Required)
Human readable name of an application. (Required)
Set to the installed state of a product.
String format of the product version as a numeric value. (Required)
A 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.
Property
Description
The value of this property is written to the Revision Number Summary Property.
The value of this property is written to the Comments Summary Property.
The 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
The full path to the directory that contains administrative tools.
The full path to the Roaming folder for the current user.
The full path to application data for all users.
The full path to the predefined 64-bit Common Files folder.
The full path to the Common Files folder for the current user.
The full path to the Desktop folder.
The full path to the Favorites folder for the current user.
The full path to the Fonts folder.
The full path to the folder that contains local (nonroaming) applications.
The full path to the Pictures folder.
The full path to the NetHood folder.
The full path to the Documents folder for the current user.
The full path to the PrintHood folder.
The full path to the predefined 64-bit Program Files folder.
The full path to the predefined 32-bit Program Files folder.
The full path to the Program Menu folder.
The full path to the Recent folder.
The full path to the SendTo folder for the current user.
The full path to the Start menu folder.
The full path to the Startup folder.
The full path to folder for 16-bit system DLLs.
The full path to the predefined System64 folder.
The full path to the System folder for the current user.
The full path to the Temp folder.
The full path to the Template folder for the current user.
The full path to the Windows folder.
The volume of the Windows folder.
User Information Properties
The following list provides links to more information about user-supplied information.
Property
Description
List of properties that are set during an administration installation.
Organization name of the user who is performing the installation.
User name for the user who is currently logged on.
List of properties that are prevented from being written into the log.
Part of the Product ID that the user enters.
Full Product ID after a successful validation.
Default language identifier of the current user.
User who is performing the installation.
Set by the installer according to the security identifier (SID) of the user.
Reference: http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx