ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Automating MQ installation /configuration

Post new topic  Reply to topic
 Automating MQ installation /configuration « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Mon Mar 31, 2008 10:59 am    Post subject: Automating MQ installation /configuration Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I am exploring silent installatino feature of MQ. I started with generating a ini files instead of installing the whole product. I issued the follwing command:

Quote:

Msiexec /i IBM WebSphere MQ.msi" c:\mqm\install.log TRANSFORMS="1033.mst" ONLYINI="yes" AGREETOLICENSE="yes" ADDLOCAL="Server"


It just brings up an MSI windows but does not do anyting. Did I miss anything else?

I hope, this should go ahead start asking questions which will be eventually be recored in an silent file ( not sure whether I should mention a file name or it generates automatically as default file name)
Back to top
View user's profile Send private message
jeevan
PostPosted: Mon Mar 31, 2008 3:21 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

One more thing, I am consufuse while reading the doc. At one point it says:

Quote:

Msiexec /i "path\MSI\IBM WebSphere MQ.msi" /l*v c:\install.log /m mif_file
TRANSFORMS="1033.mst" AGREETOLICENSE="yes" ADDLOCAL="Server"



And in another place, it says:

Quote:



To invoke the Msiexec command using a response file, enter the following command at a command line:
Msiexec [parameters] USEINI="reponse_file"



Does it mean when I invoke MSI with USEINI do I need to mention .msi file or not ?

I am not sure response file and msi file are mutually exclusive? If not, why they have similar parameters?

When I tried invoking the command without .msi file, it an winodws pops up with follwoing errors:

This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package

Any help would be greatly appreciated
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Mar 31, 2008 11:56 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Jeevan,

Try this:

Msiexec /i "<path to MSI>\IBM WebSphere MQ.msi" /qn /l*v "<temp dir path>\<log file name>" USEINI="<path to ini file>\<ini file name>"
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
jeevan
PostPosted: Tue Apr 01, 2008 7:16 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

exerk wrote:
Jeevan,

Try this:

Msiexec /i "<path to MSI>\IBM WebSphere MQ.msi" /qn /l*v "<temp dir path>\<log file name>" USEINI="<path to ini file>\<ini file name>"


It does not work either. The other parameters are optional. The msi and ini file are the main configuration files.

thanks anyway
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Apr 01, 2008 11:17 am    Post subject: Re: Automating MQ installation /configuration Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

jeevan wrote:
It just brings up an MSI windows but does not do anyting. Did I miss anything else?


With the "ONLYINI" switch, unless you have an *.ini file for it to read I would expect that it would appear to hang.

I've found the /i switch to be very sensitive to the path and MSI file name not being enclosed in quotes (and from your post it looks like one is missing from the beginning Msiexec /i IBM WebSphere MQ.msi"), especially if there are spaces in the directory name where the MSI file is.

It's possible either the path is incorrect, or possibly the file is corrupt. Have you tried to run it from the command line while in the MSI directory?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
jeevan
PostPosted: Tue Apr 01, 2008 12:15 pm    Post subject: Re: Automating MQ installation /configuration Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

exerk wrote:
jeevan wrote:
It just brings up an MSI windows but does not do anyting. Did I miss anything else?


With the "ONLYINI" switch, unless you have an *.ini file for it to read I would expect that it would appear to hang.

I've found the /i switch to be very sensitive to the path and MSI file name not being enclosed in quotes (and from your post it looks like one is missing from the beginning Msiexec /i IBM WebSphere MQ.msi"), especially if there are spaces in the directory name where the MSI file is.

It's possible either the path is incorrect, or possibly the file is corrupt. Have you tried to run it from the command line while in the MSI directory?


Let me explain how my setup is. I have mq binary ( installation stuff), .ini and msi files all in the same directory.

I use ONLYINI at the beg, but I tried virtually everthing afterward.

I used simplest parameters

Msiexec /i "c:\mq6.0\IBM WebSphere MQ.msi" c:\mqm\install.log TRANSFORMS="1033.mst" ADDLOCAL="Server"

This is a simplest parameters. But it still does not work. It pops up an msi windows and do nothig. Not a hang as such.

Thanks a lot
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Apr 01, 2008 12:28 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Anything in EventViewer? Specify a log file and see if anything is printed in it.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
chaitralip
PostPosted: Thu Apr 03, 2008 2:06 am    Post subject: Reply with quote

Novice

Joined: 16 May 2007
Posts: 24

instead of using INI file you can try doing the below. It works for me

MSiexec /i "\<Path to MSI>\IBM WebSphere MQ.msi" /q /L*v "<LogPath>\<logname>" PGMFOLDER="C:\WebSphereMQ" DATFOLDER="C:\WebSphereMQ" LOGFOLDER="C:\WebSphereMQ\log" ADDLOCAL="Server" LAUNCHWIZ=0 AGREETOLICENSE="yes" REMOVEFEATURES="yes" /q
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Automating MQ installation /configuration
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.