Friday, April 1, 2016

Silent MQ Uninstall on Windows..

You can use the Windows msiexec command to run the silent uninstall with the following syntax:
msiexec /x { product_code } /l*v " c:\removal.log" /q INSTALLATIONNAME=" installation_name "

You can find the product code in the registry under the following key:

64 bit OS:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\WebSphereMQ\Installation\Installation_name

32 bit OS:
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\WebSphere MQ\Installation\Installation_name