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
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)
Please log in to answer
Posted by:
Blue_Demon
18 years ago
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.
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
Posted by:
Blue_Demon
18 years ago
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?
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
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!! [;)]
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
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.
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.
so that the conversation will remain readable.