A user-defined extension can detect which version of IBM® Integration Bus is installed.
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.
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 C:\ProgramData\IBM\MQSI.
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 IBM Integration Bus that you want to detect.
Check for the presence of the files /var/ibm/InstallationManager/installed.xml and /var/ibm/InstallationManager/installRegistry.xml.