Installing using a silent installation
Install IBM® MQ on Windows by using the command line to perform a silent installation and confirm that the environment for your installation is set up correctly.
Before you begin
- You must have local administrator authority when you are installing. Define this authority through the Windows facilities.
- Ensure that the machine name does not contain any spaces.
- Ensure that you have sufficient disk space. You need up to 1005 MB to fully install IBM MQ 9.0 for Windows.
- Determine whether you need to define Windows domain user IDs for any IBM MQ users.
Before you install IBM MQ, check that your system meets the hardware and software requirements. For the latest details of hardware and software requirements on all supported platforms, see System Requirements for IBM MQ.
About this task
This scenario assumes that you are installing IBM MQ for the first time on your machine, and that you are using the default locations. By default the location of the IBM MQ 9.0 program files are C:\Program Files\IBM\MQ, and the data and log file location is C:\ProgramData\IBM\MQ.
IBM MQ on Windows uses the MSI technology to install software. For more information on installing using the MSI technology, see Advanced installation using msiexec.
-
/i "MQ_INSTALLATION_MEDIA\MSI\IBM MQ.msi"
where MQ_INSTALLATION_MEDIA is the location of the IBM MQ.msi file. This argument specifies the location of the .msi file. -
/l*v USER_LOGFILE_LOCATION\install.log
where USER_LOGFILE_LOCATION is where you want the installation logs to be written to.Note: The folder where you want the install.log to be created must exist before you run the command. -
/q[n|b|r|f]
/q
must be paired with one ofn
,b
,r
, orf
. Running the msiexec command at a command prompt opens the help file, which shows the correct usage. -
USEINI="RESPONSE_FILE"
where RESPONSE_FILE is the name and location of the response file to be used by the silent installation. This scenario uses the sample Response.ini file, which is included in the IBM MQ installation media. -
TRANSFORMS="TRANSFORM_FILE"
where TRANSFORM_FILE is the name of the transform file to be applied to the installation. This scenario uses the American English transform, 1033.mst. -
AGREETOLICENSE="YES"
this parameter must be included, or the installation can not complete. -
ADDLOCAL="Server"
this parameter lists which components to install.
Procedure
Results
What to do next
- You can run the Prepare IBM MQ Wizard.
- Follow the instructions in Creating a queue manager called QM1.
If you encounter any issues during the installation, check the installation log, at the location that you specified in the msiexec command, in this scenario the location of the log file is: c:\wmqinslogs\install.log. Take any action that is specified in the log and rerun the installation again. You can also check the parameters that you passed with the command, masking sure you are including all the required parameters.