See information about the latest product version
Detecting installed versions of WebSphere Message Broker
A user-defined extension can detect which version of WebSphere® Message Broker is installed.
Detecting installed versions on Windows
Use the following instructions in your installer scripts on Windows to test for the following versions. To detect each version, look for the registry key given for each version.
- WebSphere Message Broker Version 6.1 (and later) toolkit
Check for the presence of the files \IBM\Installation Manager\installed.xml and \IBM\Installation Manager\installRegistry.xml in the working directory.
The default working directory is %ALLUSERSPROFILE%\Application Data\IBM\MQSI where %ALLUSERSPROFILE% is the environment variable that defines the system working directory. The default directory depends on the operating system.- On Windows XP and Windows Server 2003: C:\Documents and Settings\All Users\IBM\MQSI
- On Windows Vista and Windows Server 2008: C:\ProgramData\IBM\MQSI
Detecting installed versions on Linux and UNIX systems
Linux and UNIX systems do not have a common packaging method: you must check which files are present in the file system. Look for the following files for each version of WebSphere Message Broker that you want to detect.
- WebSphere Message Broker Version 6.1 (and later) toolkit
Check for the presence of the files /var/ibm/InstallationManager/installed.xml and /var/ibm/InstallationManager/installRegistry.xml.