Specify command line parameters for client installation with msiexec
We can specify either standard msiexec command line parameters preceded by a / character, or property=value pairs, or a combination of both.
About this task
The msiexec command can accept the following types of parameters on the command line:
- Standard command line parameters, preceded by a / character
- For more information about the msiexec command line parameters, see the MSDN Command-Line Options web page.
- Property=value pair parameters on the command line
- All the parameters that are available for use in a response file can be used on the command line. For more information about these parameters, see Table 1 in Create and using a response file for client installation.
When using the property=value pair parameters note that:
- Property strings must be in uppercase.
- Value strings are not case-sensitive, except for feature names. We can enclose value strings in double quotation marks. If a value string includes a blank, enclose the blank value string in double quotation marks.
- For a property that can take more than one value, use the format:
ADDLOCAL="Server,Client"- For properties taking paths and file names, for example PGMFOLDER, we must supply the paths as absolute paths and not relative; that is, C:\folder\file and not .\folder\file.
When using property=value pair and command line parameters with the msiexec command, enter command line parameters first.
If a parameter is specified both on the command line and in a response file, the setting on the command line takes precedence.
Procedure
- For a single installation of IBM MQ, specify the msiexec command as shown in the following typical example.
msiexec /i "path\MSI\IBM MQ.msi" /l*v c:\install.log /q TRANSFORMS="1033.mst" AGREETOLICENSE="yes" ADDLOCAL="Client"- If we are installing a second copy of IBM MQ, specify the msiexec command as shown in the following typical example.
msiexec /i "path\MSI\IBM MQ.msi" /l*v c:\install.log /q TRANSFORMS=":InstanceId2.mst;1033.mst" AGREETOLICENSE="yes" ADDLOCAL="Client" MSINEWINSTANCE=1Parent topic: Installing a client using msiexec