msiexec Command Options

The following table provides a summary of common MSI commands used when installing from the command line:

Command Parameters Meaning
/a Package Uses the Administrative option to install a product to a network for use by a work group.

An administrative installation installs a source image of the program to a location on a network. This is useful for sites that customize the installation program. Users in a work group who have access to this administrative source image can then install the product from this source.

/i Package|ProductCode Installs or configures a product.

To prevent migration of user settings and data from Micro Focus predecessor products, enter

msiexec /I features.msi NM_NODETECT=1

Where features.msi identifies the MSI file for the product, and NM_NODETECT=1 turns off detection of previous products.

/m Generates an SMS status .mif file. Must be used with either the install (-i), remove (-x), administrative installation (-a), or reinstall (-f) options. The ISMIF32.DLL file is installed as part of SMS and must be on the path.
/q n|b|r|f Sets the user interface level:
  • q, qn: No UI. Use this option to specify an unattended installation.
  • qb: Basic UI level (simple progress and error handling boxes only).
  • qr: Reduced UI level (authored modeless dialog boxes only) with a modal dialog box at the end of the installation.
  • qf: Full UI level (dialog boxes, progress bars, and error messages) with a modal dialog box at the end of the installation.
  • qn+: No UI except for a modal dialog box at the end of the installation.
  • qb+: Basic UI with a modal dialog box displayed at the end. The modal box is not displayed if the user cancels the installation. This is the recommended option.
  • qb-:Basic UI (simple progress and error handling boxes only) with no modal dialog boxes.
/x Package|ProductCode Uninstalls a product.

Use the msiexec /x /qn command to uninstall the product in unattended mode. Error or warning messages that require a user response are not suppressed when you use this option.

Notes:
  • Only public properties can be modified using the command line.
  • msiexec command line options are case-sensitive.
  • If MSI is not installed on the machine then the only options that can be entered are /a and /q (any combination of valid options).
  • All property names on the command line are interpreted as uppercase but the value retains case sensitivity. If you enter MyProperty at a command line, the installer overrides the value of MYPROPERTY and not the value of MyProperty in the Property table.