You can use the Msiexec command with a parameter call that calls a response file. The response file contains the parameters that you normally specify during an interactive installation. You can combine the Msiexec command line parameters described in Using command line parameters with Msiexec with a response file to invoke a complex installation or uninstallation. This could be silent or interactive. For a silent installation, this must include the /q or /qn parameter.
Msiexec [parameters] USEINI="reponse_file"
Where:If a parameter is specified both on the command line and in a response file, the setting on the command line takes precedence.
In the response file, all text is in English, and comments begin with a ; character.
For information on creating a response file see Creating a response file.
ADDLOCAL="Server,Client"
Property | Values | Meaning |
---|---|---|
PGMFOLDER | path | Folder for the WebSphere MQ program files. For example, c:\mqm. |
DATFOLDER | path | Folder for the WebSphere MQ data files. For example, c:\mqm\data. |
LOGFOLDER | path | Folder for the WebSphere MQ queue manager log files. For example, c:\mqm\log. |
GSKFOLDER | path | Folder for the Global Security Kit files. WebSphere MQ will append IBM\gsk7 to the path given for this parameter. For example, if you set GSKFOLDER="c:\Program Files", the Global Security Kit files will be stored in c:\Program Files\IBM\gsk7. |
USERCHOICE | 0|no | If the command line or response file specifies parameters
to install features, a dialog can be displayed to prompt the user to accept
the preselected options, or review and possibly change them. 0 or no. Suppresses display of the dialog. Anything else. Dialog is displayed. Not used for a silent installation. |
AGREETOLICENSE | yes | Accept the terms of the license. For a silent installation,
this must be set to yes. If the installation is not silent, this parameter is ignored. |
KEEPQMDATA | keep |delete | If the Server feature is to be uninstalled, whether
to delete any existing queue managers. delete removes any existing queue managers. keep, or any other value, keeps them. |
KEEPWEBDATA | keep|delete | If the WebAdmin feature is already installed from
a previous version of WebSphere MQ, it will
be uninstalled. This property gives you the option to delete the existing
Web Administration scripts. delete removes any existing Web Administration scripts. keep, or any other value, keeps them. |
LAUNCHWIZ | 0|1|yes|no|"" | 0 or no. Do not launch the Prepare WebSphere MQ wizard
after WebSphere MQ is installed. 1 or yes. Launch the Prepare WebSphere MQ wizard if the Server feature is installed. "". Launch the Prepare WebSphere MQ wizard if this installation will install the Server (the default). If this option will launch the Prepare WebSphere MQ wizard, you can specify the WIZPARMFILE, either in this file, or on the command line. |
WIZPARMFILE | path\file_name | When specified, the file that contains the parameters to pass to the Prepare WebSphere MQ wizard when it is launched. These are in the [Services], [DefaultConfiguration] and [SSLMigration] stanzas. See Table 1. |
ADDLOCAL | feature, feature, |All|"" | A comma-separated list of features to install locally.
For a list of valid feature names, see Table 2. All installs all features "" installs the typical features. If you do not want a feature use REMOVE="feature" |
REMOVE | feature, feature, |All|"" | A comma-separated list of features to remove. For
a list of valid feature names, see Table 2.
All uninstalls all features "" uninstalls no features (the default). |
REMOVEFEATURES | 1|yes | Must be set to 1 or yes for a silent installation if Internet Gateway, Web Administration Server, or SupportPac™ MA88 are installed, or the installation fails. |
STARTSERVICE | 0|no|"" | 0 or no. Do not start the WebSphere MQ Service
at the end of installation. "". (The default) Start the WebSphere MQ Service at the end of installation if it was running at the start, or if this is a new installation. Anything else. Start the Service at the end of the installation. Ignored if the server feature is not installed. |
STARTTASKBAR | 0|no|"" | 0 or no. Do not start the WebSphere MQ taskbar
application at the end of installation. "". (The default) Start the WebSphere MQ taskbar application at the end of installation if it was running at the start, or if this is a new installation. Anything else. Start the taskbar application at the end of the installation. Ignored if the server feature is not installed. |
HIGHCONTRAST | 0|no|"" | 0 or no. Do not set high-contrast mode for the installation. "" (The default). Set high-contrast mode for the installation if Windows 2000, Windows 2003, or Windows XP high-contrast mode is set or if WebSphere MQ high-contrast mode is set. Anything else. Set high-contrast mode for the installation. |
Feature Name | Description |
---|---|
Server | The WebSphere MQ for Windows server. This will install the files needed to create and run queue managers. |
FTA_Server | The file transfer application for the server. This is a graphical application used to send and receive files. |
Explorer | The WebSphere MQ Explorer. This feature is installed automatically if the server feature is installed. You can select to remove it. |
Client | The WebSphere MQ for Windows client. |
XA_Client | Extended transaction support for the Windows client. |
FTA_Client | The file transfer application for the client. This is a graphical application used to send and receive files. |
Java™Msg | The files needed for messaging using Java (includes Java Message Service and SOAP transport support). |
XA_Java | Extended transaction support for Java Message Service. |
Toolkit | Sample WebSphere MQ program source, sample executable code, headers, and bindings. |
[Response] PGMFOLDER="c:\mqm" DATFOLDER="c:\mqm\data" LOGFOLDER="c:\mqm\log" GSKFOLDER="c:\mqm" AGREETOLICENSE="yes" LAUNCHWIZ="" WIZPARMFILE="d:\MQParms.ini" ADDLOCAL="Server,Client" REMOVE="Toolkit"
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
msiexecresponse |