Program and data directory locations on Windows
The installation location for IBM MQ program binary and data files on Windows depends on the IBM MQ version you are installing and whether this is the first time IBM MQ is being installed.
First-time installations
When you install IBM MQ for the first time, we can accept default installation locations. We can also select the custom installation option by choosing the location for the IBM MQ binary files and the location for the IBM MQ data and logs.
Before Version 8.0, if the default option was chosen, both the IBM MQ program binary and the data files were installed in the same directory. From Version 8.0, the default location for the program binary files is different from the default location for the data files.
Table 1. Default program and data directory locations on different versions of IBM MQ on Windows IBM MQ Version IBM MQ program binary files installation location IBM MQ data files location IBM WebSphere MQ Version 7.0.1, Version 7.1, and Version 7.5 Program and data files are in one location: C:\Program Files (x86)\IBM\WebSphere MQ IBM MQ Version 8.0 C:\Program Files\IBM\WebSphere MQ C:\ProgramData\IBM\MQ IBM MQ Version 9.0 C:\Program Files\IBM\MQ C:\ProgramData\IBM\MQ
Subsequent installations and reinstallations
After the data directory is specified, during the installation process of any installation, it cannot be changed for subsequent installations. IBM MQ is only installed as a 64-bit version when it is installed on a 64-bit operating system.
For Version 9.0, the default data directory is C:\ProgramData\IBM\MQ, unless a version of the product was previously installed, in which case the new installation continues to use the existing data directory.
Existing IBM MQ Version 8.0 installation
Three upgrade paths are possible:
- Uninstall Version 8.0 first and then install Version 9.0.
- Upgrade Version 8.0 at the beginning of the Version 9.0 installation process, without first uninstalling the earlier version.
- Install Version 9.0 alongside Version 8.0 and then uninstall Version 8.0.
When Version 8.0 is installed, the product binary files are put by default into C:\Program Files\IBM\WebSphere MQ and the product data and logs are put by default into C:\ProgramData\IBM\MQ.
When you uninstall Version 8.0, information about the location of the data directory is left in the registry. After uninstalling Version 8.0 and before installing Version 9.0, we can run the ResetMQ.cmd script to tidy up files and data left behind by the uninstallation process. Important: You should use this script with caution. ResetMQ.cmd can remove the existing queue manager configuration. For more information, see Clearing IBM MQ installation settings.
- Install Version 9.0 after uninstalling Version 8.0
- After uninstalling Version 8.0, Version 9.0 is installed using the same installation name but using the Version 9.0 default program binary files location C:\Program Files\IBM\MQ. That is, the program files change location after the upgrade. Optional: You can use the custom installation option to modify the installation path, including modifying it back to C:\Program Files (x86)\IBM\WebSphere MQ.
The default data path is C:\ProgramData\IBM\MQ.
- Upgrading Version 8.0 at the beginning of the Version 9.0 installation process
If you install Version 9.0 without uninstalling Version 8.0 and choose to upgrade the Version 8.0 installation, the new program binary files replace the Version 8.0 binary files so, by default, the new binary files are in C:\Program Files (x86)\IBM\WebSphere MQ. The existing data path is kept so, by default, the data path is C:\ProgramData\IBM\MQ.
- Install Version 9.0 to coexist with Version 8.0
If you install Version 9.0 alongside Version 8.0, a unique path is chosen, which by default is C:\Program Files\IBM\MQ. The existing data path is kept so, by default, the data path is C:\ProgramData\IBM\MQ.
Existing IBM WebSphere MQ Version 7.5 or Version 7.1 installation
Three upgrade paths are possible:
- Uninstall Version 7.1 or Version 7.5 first and then install the latest version.
- Upgrade Version 7.1 or Version 7.5 at the beginning of the Version 9.0 installation process, without first uninstalling the earlier version.
- Install Version 9.0 alongside Version 7.1 or Version 7.5 and then uninstall the earlier version.
When Version 7.5 or Version 7.1 is installed, both the program binary files and data are installed by default into C:\Program Files (x86)\IBM\WebSphere MQ.
When you uninstall Version 7.5 or Version 7.1, information about the location of the data directory is left in the registry.
- Install Version 9.0 after uninstalling Version 7.5 or Version 7.1
- After uninstalling Version 7.5 or Version 7.1, Version 9.0 is installed using the same installation name but using the Version 9.0 default program binary files location of C:\Program Files\IBM\MQ. That is, the program files move from the Windows 32-bit program location to the Windows 64-bit program location. Optional: We can use the custom installation option to modify the installation path, including modifying it back to C:\Program Files (x86)\IBM\WebSphere MQ.
- Upgrading Version 7.5 or Version 7.1 at the beginning of the Version 9.0 installation process
If you install Version 9.0 without uninstalling Version 7.1 or Version 7.5 and choose to upgrade the Version 7.1 or Version 7.5 installation, the new program binary files replace the Version 7.1 or Version 7.5 binary files so, by default, the new binary files are in C:\Program Files (x86)\IBM\WebSphere MQ. The existing data path is kept so, by default, the data path is also C:\Program Files (x86)\IBM\WebSphere MQ.
- Install Version 9.0 to coexist with Version 7.5 or Version 7.1
If you install Version 9.0 alongside Version 7.5 or Version 7.1, a unique path is chosen, which by default is C:\Program Files\IBM\MQ. The existing data path is kept so, by default, the data path is C:\Program Files (x86)\IBM\WebSphere MQ.
Existing IBM WebSphere MQ Version 7.0.1 installation
If you are migrating to Version 9.0 from Version 7.0.1, you must first migrate to an interim version. See Migration paths.
For Version 7.0.1, the interim version we use can only be Version 8.0. For information about specifying program and data directories when upgrading to Version 8.0, see Windows: Program and data directory locations in the Version 8.0 product documentation.