[Windows]

Installing a client using msiexec

IBM® MQ on Windows uses the MSI technology to install software. MSI provides both an interactive installation and a non interactive installation.

About this task

IBM MQ on Windows uses the MSI technology to install software. MSI provides both an interactive installation and a non interactive installation. An interactive installation displays panels and ask questions.

The msiexec command uses parameters to give MSI some or all of the information that can also be specified through panels during an interactive installation. This means that a user can create a reusable automated or semi-automated installation configuration. Parameters can be given through the command line, a transform file, a response file, or a combination of the three.

Some parameters can only be provided on the command line and not in a response file. For more information about these parameters, see Table 1 in Specifying command line parameters for client installation with msiexec.
There are also a number of parameters can be used either on the command line or in a response file. For more information about these parameters, see Table 1 in Creating and using a response file for client installation. If a parameter is specified both on the command line and in a response file, the setting on the command line takes precedence.

Procedure

  1. For multiple silent installations, for each version that is to be installed, find an MSI instance ID that is available to use for that installation.
  2. To install using msiexec, at the command line, enter the msiexec command in the following format:
    msiexec parameters [USEINI="response-file"] [TRANSFORMS="transform_file"]
    
    where:
    parameters
    are either command line parameters preceded by a / character, or property=value pairs (if using both forms of parameter always put the command-line parameters first). For further information, see Specifying command line parameters for client installation with msiexec.

    For an unattended installation, you must include the /q or /qn parameter in the command line. Without this parameter, the installation is interactive.

    Note: You must include the /i parameter and the file location of the IBM MQ installer package.
    response-file
    is the full path and file name of the file that contains the [Response] stanza and the required property=value pairs, for example C:\MyResponseFile.ini. An example response file, Response.ini, is supplied with IBM MQ. This file contains default installation parameters. For further information, see Creating and using a response file for client installation.
    transform_file
    is the full path and file name of a transform file. For further information, see Using transforms with msiexec for client installation and Choosing MSI Instance IDs for multiple server installations.
    Note: For a silent installation to succeed, the AGREETOLICENSE="yes" property must be defined either on the command line or in the response file.

Results

After the command has been entered, the command prompt immediately reappears. IBM MQ is installing as a background process. If you have entered parameters to produce a log, check this file to see how the installation is progressing. If the installation completes successfully, you see the message Installation operation completed successfully in the log file.