/build/static/layout/Breadcrumb_cap_w.png

DB2Runtime client v8.2

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

Answers (5)

Posted by: Blue_Demon 18 years ago
Orange Senior Belt
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.
Posted by: aogilmor 18 years ago
9th Degree Black Belt
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?
Posted by: Blue_Demon 18 years ago
Orange Senior Belt
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?
Posted by: Blue_Demon 18 years ago
Orange Senior Belt
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!! [;)]
Posted by: aogilmor 18 years ago
9th Degree Black Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ