Install IBM MQ on Windows 10

Reference Document: https://developer.ibm.com/tutorials/mq-connect-app-queue-manager-windows
Learning objectives
Learn how to install IBM MQ on Windows machine.
Steps
Step 1. Download IBM MQ
Grab IBM MQ Advanced for Developers for Windows. This is a large file, so will take some time.
Unzip the download and take note of the location of your MQ Server folder.
Step 2. Install IBM MQ
Important: If the admin user ID that you are logged in to Windows with is longer than 12 characters, you will not be able to complete this tutorial. Log out and log back in as an admin user whose username that has less than 12 characters.
Open your command line interface 'as administrator'. You'll need elevated privileges to run some of the commands in this tutorial.
Construct the command that will install MQ on your machine. You need three things for this:
The path to the location for the MQ installer package file
IBM MQ.msi
, for example:C:\mqadv_dev930_windows\MQServer\MSI\IBM MQ.msi
.The path to a folder where MQ can create a plain text log file for the installation including the name of the file, for example:
C:\Users\{username}\install.log
.The path to the location for the MQ default installation parameters file, called
Response.ini
, for example:C:\Users\{username}\Downloads\mqadv_dev930_windows\MQServer\Response.ini
.
Edit this command by replacing the example paths with your three file location paths or by updating {username}
and then run it in your command line:
start /wait msiexec /i "C:\Users\{username}\Downloads\mqadv_dev930_windows\MQServer\MSI\IBM MQ.msi" /l*v "C:\Users\{username}\install.log" /q RESPONSE="C:\Users\{username}\Downloads\mqadv_dev930_windows\MQServer\Response.ini" TRANSFORMS="1033.mst" AGREETOLICENSE="yes" ADDLOCAL="Server"
The installation will happen in the background. To track the installation's progress, check the log file you specified.
To check if the installation was successful, print the error level:
echo %ERRORLEVEL%
If everything went well, this will return a code 0.
If you get a different code, and it looks like the installation failed, first check if you ran your command line tool 'as administrator'. If not, open another command line window in 'run as administrator' mode and try the command again.
When the installation completes successfully, there will be a new icon on your taskbar, as MQ starts automatically after being installed.
If the installation was not successful, then check the log file to find out what happened (Update {username}
):
notepad C:\Users\{username}\install.log
If the silent installation failed, you can install MQ by double-clicking Setup.exe
in the MQServer
folder to start the Launchpad that will take you through the installation steps.
Summary
In this tutorial, you installed IBM MQ on your Windows machine.
Subscribe to my newsletter
Read articles from Ronak Padaliya directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
