Hi,

Im trying to package DB2Runtime. I have the vendor MSI on which i am applying an MST. The problem is, if i try to do a silent installation using /qn, one of the shortcuts throws the error: "SQL1390C The Environment variable DB2INSTANCE not found or is invalid".
The same MSI and MST without the switch /qn works fine.

Any ideas how to do a silent install for this one?

Thanks
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
SOrry to bump up an old thread, but I couldn't find anything else concenring this problem.



I'm having this same problem. If I run the msi and mst from the command prompt all is ok, but when I run it silently it doesn't install properly.


Also, when creating the mst with either wise or installshield both applications crash.



Is there any way of using the .rsp file which the install creates and applying it to the msi? I'm deploying in a Novell environment.


Thanks in advance.
Answered 03/23/2006 by: Blue_Demon
Orange Senior Belt

Please log in to comment
0
IIRC db2 does have a "record" option - dunno if they call it an rsp like Oracle, but give it a try.

also, have you tried just typing in DB2INSTANCE = "<whatever the instance name is>" at the command line?
Answered 03/23/2006 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
I've tried using the response file. It's called PROD_RTCL.rsp by default.



What I did was create an MST based on the vendor MSI. All the MST is doing is copying PROD_RTCL.rsp to C:\PROGRA~1\IBM\SQLLIB\BIN\ and then there is a property setting as follows:

RSP_FILE_PATH C:\PROGRA~1\IBM\SQLLIB\BIN\PROD_RTCL.rsp



Maybe I'm off the mark here?
Answered 03/23/2006 by: Blue_Demon
Orange Senior Belt

Please log in to comment
0
Mmmm.... ran this msi and mst from the command prompt with a /qnswitch and it works!


Seems it has to be set for a silent install. Is that right?



Anyway, looks like it's working, have packaged it up in a Nal Object and tested the deployment and it seems to have installed the application.


Fingers crossed it tests ok!! [;)]
Answered 03/23/2006 by: Blue_Demon
Orange Senior Belt

Please log in to comment
0
looks like you nailed it. sorry i didn't look a the first msg where it mentioned the msi.
yes, the /qn will stop all error messages (if nothing else, the event log will tell you if install succeeded or not). also, you still may want to try the DB2INSTANCE name property if you want to set up the client with a default instance.

RSP files, yuk. i'd only use it if (like Oracle) it works best that way.
Answered 03/25/2006 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity