Install using Msiexec
The Msiexec command uses parameters to give MSI some or all of the information that would normally be specified as part of an interactive installation using WebSphere MQ Installation Launchpad. This means 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.
To install using Msiexec, at the command line enter...
Msiexec parameters USEINI="response-file" TRANSFORM="transform_file"Where:
- parameters
- 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).
You must include the /i parameter and the file location of the WebSphere MQ installer package.
- response-file
- Full path and file name of the file that contains the [Response] stanza and the required property=value pairs, for example Response.ini.
- transform_file
- is the full path and filename of a transform file.
Once the command has been entered, the command prompt will immediately reappear. WebSphere MQ will be installing as a background process. If you have entered parameters to produce a log, check this file to see how the install is progressing. If the install completes successfully you will see the message
Installation operation completed successfullyIf you install WebSphere MQ using Msiexec first end any applications that are using Java. This is because if a Java application is running, WebSphere MQ will be unable to update the class path. If WebSphere MQ is unable to update the class path, your computer will restart to allow the update to happen.
Parent topic:
Unattended (silent) installation