Article ID: 230781
Article Last Modified on 2/22/2007
APPLIES TO
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional Edition
- Microsoft Windows 2000 Datacenter Server
This article was previously published under Q230781
SUMMARY
It is possible to perform all Microsoft Windows Installer functions at a command prompt by using Msiexec.exe. You can use many property command-line switches to perform different functions or set certain variables. Some examples include setting the Company Name variable and applying patches or transforms.
MORE INFORMATION
The following properties are defined by the Microsoft Windows Installer. You can specify additional properties by authored data or custom actions. Properties whose names are entirely uppercase can be specified on the command line. For example:
msiexec /i mypackage.msi COMPANYNAME="ACME Corp."
The following list provides more information about the component locations properties.
Property Name | Brief Description of Property |
---|---|
ADDLOCAL | List of features to be installed locally. |
ADVERTISE | List of features to be advertised. |
ADDDEFAULT | List of features to be installed in their default configuration. |
ADDSOURCE | List of features to be run from source. |
REMOVE | List of features to be removed. |
REINSTALL | List of features to be reinstalled. |
REINSTALLMODE | A string containing letters that specify the type of reinstallation to perform. |
COMPADDLOCAL | List of component IDs to be installed locally. |
COMPADDSOURCE | List of component IDs to run from source media. |
FILEADDLOCAL | List of file keys to be run locally. |
FILEADDSOURCE | List of file keys to be run from the source media. |
The following list provides more information about other configurable properties.
Property Name | Brief Description of Property |
---|---|
ACTION | Initial action called after the installer is initialized. |
ALLUSERS | Determines where configuration information is stored. |
ARPAUTHORIZEDCDFPREFIX | Uniform Resource Locator (URL) of the update channel for the program. |
ARPCOMMENTS | |
ARPCONTACT | |
ARPINSTALLLOCATION | Fully qualified path to the program's primary folder. |
ARPNOREPAIR | Disables the Repair button in the Programs Wizard. |
ARPREADME | |
ARPSIZE | Estimated size of the program in kilobytes. |
ARPSYSTEMCOMPONENT | Prevents the program from being displayed in the Add/Remove Programs tool list. |
ARPURLINFOABOUT | URL for program's home page. |
ARPURLUPDATEINFO | URL for program update information. |
ARPNOMODIFY | Disables functionality that modifies the product. |
ARPNOREMOVE | Disables functionality that removes the product. |
AVAILABLEFREEREG | Registry space (in kilobytes) required by the program. Used by AllocateRegistrySpace action. |
CCP_DRIVE | The root path for any of the qualifying products for CCP. |
DISABLEADVTSHORTCUTS | Set to disable the generation certain shortcuts supporting install-on-demand. |
DISABLEROLLBACK | Disables rollback for the current configuration. |
EXECUTEACTION | Top-level action initiated by the ExecuteAction action. |
EXECUTEMODE | Mode of execution performed by the installer. |
INSTALLLEVEL | Initial "level" at which features are installed. |
LOGACTION | List of action names that are logged. |
PRIVILEGED | Runs an installation with elevated privileges. |
PROMPTROLLBACKCOST | Action if there is insufficient disk space for the installation. |
PRIMARYFOLDER | Allows the author to designate a "primary" folder for the installation. Used to determine the values for the PrimaryVolumePath, PrimaryVolumeSpaceAvailable, PrimaryVolumeSpaceRequired, and PrimaryVolumeSpaceRemaining properties. |
REBOOT | Force or suppress rebooting. |
ROOTDRIVE | Default drive for the installation. |
SEQUENCE | A table having the sequence table schema. |
SHORTFILENAMES | Causes short file names to be used. |
TRANSFORMS | List of transforms to be applied to the database. |
TRANSFORMSATSOURCE NOTE: In Windows Installer 1.1 (Native with Windows 2000) this property is the same as TRANSFORMSSECURE. | Informs the installer that the transforms for the product reside at the source. |
LIMITUI | User interface (UI) level capped as Basic. |
DEFAULTUIFONT | Default font style used for controls. |
Keywords: kbenv kbinfo KB230781