+

Search Tips | Advanced Search

Modifying a server installation silently using msiexec

We can silently remove or install IBM MQ features on Windows by using msiexec.

To silently modify an installation using msiexec, set the ADDLOCAL parameter to include the features you want to add, and set the REMOVE parameter to the features you want to remove.

For example if we use ADDLOCAL="JavaMsg" and REMOVE="" it modifies the installation to include the Java Messaging and Web Services feature.
msiexec /i {product code} /q ADDLOCAL="JavaMsg" REMOVE="" INSTALLATIONNAME="Installation1"
where product_code is the value shown for MSIProdCode in the output of the following command:
dspmqinst -n installation_name
An example of a product code is {0730749B-080D-4A2E-B63D-85CF09AE0EF0}.

The instructions for msiexec begin here: Install the server using msiexec.