This topic describes how to choose the MSI instance ID
you require for non-interactive multiple installations.
About this task
In order to support non-interactive multiple installations,
you need to find out whether the instance ID you want to use is already
in use or not and choose the appropriate one. For each installation
media (for example, each 7.5 client and 7.5 server), Instance ID 1
is the default ID which is used for single installations. If you want
to install alongside Instance ID 1 you need to specify which instance
you want to use. If you have already installed instance 1, 2, and
3 then you need to find out what the next available instance is, for
instance, Instance ID 4. Similarly, if instance 2 has been removed,
you need to find out that there is a gap that can be reused. You can
find out which Instance ID is currently in use using the dspmqinst command.
Procedure
- Type dspmqinst to find a free MSI Instance
in the media being installed by reviewing the MSIMedia and MSIInstanceId
values for the versions already installed. For example:
InstName: Installation1
InstDesc:
Identifier: 2
InstPath: C:\mq\install1
Version: 7.5.0.0
Primary: Yes
State: Available
MSIProdCode: {0730749B-080D-4A2E-B63D-85CF09AE0EF0}
MSIMedia: 7.5 Server
MSIInstanceId: 1
- If MSI Instance ID 1 is in use and you want to use MSI
Instance ID 2, the following parameters must be added to the msiexec
call:
MSINEWINSTANCE=1 TRANSFORMS=:InstanceId2.mst
What to do next
For multiple installations, the INSTALLATIONNAME or PGMFOLDER must
be supplied as an additional parameter on any non-interactive installation
command. Supplying the INSTALLATIONNAME or PGMFOLDER ensures
that you do not work with the wrong installation in case you omit
or incorrectly specify the TRANSFORMS parameter.