Msiexec [parameters]
For an unattended (silent) installation you must include the /q or /qn parameter in the command line, and set the AGREETOLICENSE parameter to "yes". For information on what an unattended installation is, see Unattended (silent) installation.
For a table of the Msiexec command line parameters, see Table 1.
ADDLOCAL="Server,Client"
When using property=value pair and command line parameters with the Msiexec command, command line parameters must be entered first.
If a parameter is specified both on the command line and in a response file, the setting on the command line takes precedence.
Msiexec /i "path\MSI\IBM WebSphere MQ.msi" /l*v c:\install.log /m mif_file TRANSFORMS=":1033" AGREETOLICENSE="yes" ADDLOCAL="Server"Where:
The Msiexec command can take further parameters that are not supported or listed here. If you need details of these, refer to the help file for the Windows® Installer that is supplied with the MSI software development kit. See the Microsoft Web site at:
Parameter | Options | Description |
---|---|---|
/a | Package | Installs a product on the network using administrative installation, that is, installs a source image of the application onto the network that is similar to a source image on a CD. |
/i | Package|ProductCode | Installs or configures a product using the specified
.msi file. The WebSphere® MQ Windows Installer package is IBM® WebSphere MQ.msi. |
/j | [u|m]Package| |
Advertises the product. This option ignores any property values entered on the command line.
|
/l | [i|w|e|a|r|u|c|m|o|p |
Specifies path to log file, with flags to set which
information to log.
|
/m | filename | Generates a Microsoft System
Management Server (SMS) status .mif file. Must be used with either the install (/i), remove (/x), administrative installation (/a), or reinstall (/f) options. The ISMIF32.DLL is installed as part of SMS and must be on the path. The fields of the status .mif file are filled with the following
information:
|
/q | n|b|r|f | Sets the level of user interface displayed during
the install.
|
/x | Package|ProductCode | Uninstalls the product. |
Note:
|
Table 1 and Table 2 show the parameters that you can enter as property=value pairs on the Msiexec command line (defaults are shown in bold). The parameters given in Table 2 can only be used on the command line, and not in a response file.
Property | Values | Meaning |
---|---|---|
USEINI | path\file_name | Use the specified response file. See Using a response file with Msiexec. |
SAVEINI | path\file_name | Generate a response file during installation. The file will contain those parameters selected for this installation that a user could make during an interactive installation. |
ONLYINI | 1|yes|"" | 1, yes or any value other than null. End the installation
before updating the target system, but after generating a response file, if
this is specified. "". Continue the installation and update the target machine (the default). |
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
msiexeccommand |