|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ 9 silent installer DATFOLDER paramter (Windows/MSIEXEC) |
« View previous topic :: View next topic » |
Author |
Message
|
DeadLetter |
Posted: Tue Nov 15, 2016 11:50 pm Post subject: MQ 9 silent installer DATFOLDER paramter (Windows/MSIEXEC) |
|
|
Novice
Joined: 15 Nov 2016 Posts: 11
|
Hello Team,
I did some search about my issue and did find some older threads regarding MQ6 or MQ7 but none of them was pointing out this one.
Objective of the task is, to install the MQ9 package silent as descripted in here (its my first post, so I need to cut the URL)
h_t_t_p_:_/_/_www_ibm_com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.sce.doc/q120000_.htm
The surrounding script generates an MSIEXEC command like this (its all one line):
Code: |
msiexec /i "C:\install\IBM_MQ_9.0.0.0_WINDOWS\MQServer\msi\IBM MQ.msi" /l* .\201611151023_msi.log /q PGMFOLDER="c:\mqm" DATFOLDER="c:\mqm\DATA" ADDLOCAL="Server,Client,Explorer,JavaMsg,Toolkit" USEINI="C:\install\IBM_MQ_9.0.0.0_WINDOWS\MQServer\response.ini" TRANSFORMS="C:\install\IBM_MQ_9.0.0.0_WINDOWS\MQServer\msi\1033.mst" AGREETOLICENSE="YES" |
PGMFOLDER is accepted, but somehow the DATFOLDER is not processed, even so it is listed in the parameter summary of the msi log file:
Code: |
Property(S): ARPINSTALLLOCATION = C:\mqm\
Property(S): AMQUISEQ = 0
Property(S): CURRENTDIRECTORY = C:\install\IBM_MQ_9.0.0.0_WINDOWS\MQServer
Property(S): USEINI = C:\install\IBM_MQ_9.0.0.0_WINDOWS\MQServer\response.ini
Property(S): AdminUser = 1
Property(S): ADDLOCAL = Server,Client,Explorer,JavaMsg,Toolkit
Property(S): DATFOLDER = c:\mqm\DATA
Property(S): PGMFOLDER = c:\mqm
Property(S): PackagecodeChanging = 1
Property(S): AMQFEATUREPREREQLIST =
Property(S): ProductState = -1
Property(S): TRANSFORMSATSOURCE = 1
Property(S): TRANSFORMSSECURE = 1
Property(S): AGREETOLICENSE = YES
Property(S): TRANSFORMS = |C:\install\IBM_MQ_9.0.0.0_WINDOWS\MQServer\msi\1033.mst
Property(S): RecacheTransforms = C:\install\IBM_MQ_9.0.0.0_WINDOWS\MQServer\msi\1033.mst
Property(S): MsiLogFileLocation = C:\install\IBM_MQ_9.0.0.0_WINDOWS\MQServer\.\201611151108_msi.log
Property(S): AMQINSTALLINSTANCENAME = Installation1
Property(S): AMQLOSEFEATURESLIST =
Property(S): CostingComplete = 1
Property(S): SOURCEDIR = C:\install\IBM_MQ_9.0.0.0_WINDOWS\MQServer\msi\
Property(S): SourcedirProduct = {80B9C730-0533-4060-A44B-16549476F111}
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): AMQHAVELAUNCHPAD = 1
Property(S): AMQFEATUREPREREQ = 0
Property(S): AMQSOFTPREREQ = 0
Property(S): AMQWARNFEATURES = 0
Property(S): AMQPGMREGPATH = C:\mqm
Property(S): AMQPGMQUOTEPATH = C:\mqm
Property(S): AMQTOOLKITPATH = C:\mqm\tools\c\samples\bin
Property(S): AMQSHORTPGMREGPATH = C:\mqm
Property(S): AMQDATREGPATH = C:\ProgramData\IBM\MQ
Property(S): AMQDATQUOTEPATH = C:\ProgramData\IBM\MQ
Property(S): AMQLOGREGPATH = C:\ProgramData\IBM\MQ\log
Property(S): AMQLOGQUOTEPATH = C:\ProgramData\IBM\MQ\log
Property(S): AMQGUI = 1
Property(S): AMQSERVICENAME = MQ_Installation1
Property(S): AMQSTARTSERVICE = 1
Property(S): AMQPATHPROPERTY0 = C:\ProgramData\IBM\MQ\Config\
Property(S): AMQPROPERTYCOUNTER = 1
Property(S): ProductToBeRegistered = 1
MSI (s) (C4:C0) [11:11:07:598]: Product: IBM MQ (Installation1) -- Installation operation completed successfully.
|
As You can see, it still installs the data folder to "C:\programdata\IBM...." and not to "c:\mqm\data".
I found similar command lines in the forum as mentioned above. So I would expect the line itself to be correct, or at which point did I left the track?
thanks in advance
Carsten
PS: be patient with me. I am with IBM MQ since 16 days now, and never touched it before  |
|
Back to top |
|
 |
hughson |
Posted: Wed Nov 16, 2016 1:24 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Is it possible that you have got another installation of MQ already on that machine? If so, the data directory cannot be changed in a subsequent install.
Quoted from the page you linked to:-
IBM Knowledge Center wrote: |
Note: If you have any previous installations of IBM MQ on your machine the default locations of the program and data files might change. For further information, see Program and data directory locations. If you have already previously completed this scenario, and want to repeat it with a single, fresh installation using the default locations, remove your previous installation before starting the scenario again. To uninstall an existing instance of IBM MQ from your machine, see Uninstalling IBM MQ. |
Hope that helps.
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
DeadLetter |
Posted: Wed Nov 16, 2016 4:16 am Post subject: |
|
|
Novice
Joined: 15 Nov 2016 Posts: 11
|
Thanks morag,
You hit the point.
I am working on a test machine to develop the silent package.
I used the MSIEXEC to uninstall the package and deleted the remaining folder structure.
What I missed were the 4 reg values at "HKLM\software\[Wow6432Node\]IBM\Websphere MQ".
After deletion of those, the next attempt was successful.
[Solved]... at least for now
best
Carsten |
|
Back to top |
|
 |
hughson |
Posted: Wed Nov 16, 2016 6:38 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|