Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / March 2006

Tip: Looking for answers? Try searching our database.

DB2 RT Client silent install

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nananana - 01 Mar 2006 13:58 GMT
Hi.
Using Win XP, I would like to use the silent installation for DB2
Runtime Client 8.2.
I read a lot about it in the DB2 docs, but didn't get it to work.
My installation choices are trivial. Something like:
Next, Next, Yes (Accept..), Next, Next..

Does anyone have a working sample for me? (batch file + response file)

TIA
Darin McBride - 01 Mar 2006 14:39 GMT
> Hi.
> Using Win XP, I would like to use the silent installation for DB2
[quoted text clipped - 4 lines]
>
> Does anyone have a working sample for me? (batch file + response file)

Batch file:

REM assumes that the runtime client is net use'd on q:
REM and that it has been copied into the db2\runtimeclient directory
REM and that the response file is in the same directory.
q:
cd db2\runtimeclient
setup -r yourresponsefile.rsp

As for the response file, you should look in the db2\windows\samples
directory for db2rtcl.rsp.  For the most part, it should be usable as-is.
There will be some critical things to change, e.g., you need to set
LICENCE=ACCEPT to signify that you've read the license and agreed to it.

Most of the sample response file should be pretty self-explanatory, so I'd
love to hear any questions you have about it.  Also, what response file did
you try?

Finally, there should be a whitepaper on mass deployment on Windows that may
help you out.  I think this is it:
ftp://ftp.software.ibm.com/software/data/pubs/papers/db2massdeployment.pdf
It should answer a lot of response file questions, whether you're using
response file install to roll out to 1, 5, 10, 100, or 10,000 machines.

The unix/linux version of this whitepaper is:
ftp://ftp.software.ibm.com/software/data/pubs/papers/deploymentunix.pdf
Nananana - 02 Mar 2006 06:41 GMT
Darin, thanks.

I tried the sample response file ..\db2\Windows\samples\db2rtcl.rsp
Correction: my version is 8.1 (sorry)

1.
A batch like the one you suggested results in an InstallShield popup.
Title bar: InstallShield
Text:
Command-line parameters:
/L language ID
.
.
2.
The mass deployment doc suggests a different syntax:
setup.exe -u \\server\share\db2ese.rsp -l c:\db2logs\db2.

Note the "-u", while you suggested "-r" for the response file.
Anyway, it gives the same result - InstallShield popup.
Please advice,
TIA
Darin McBride - 02 Mar 2006 14:42 GMT
> Darin, thanks.
>
[quoted text clipped - 14 lines]
>
> Note the "-u", while you suggested "-r" for the response file.

Both -u and -r should work the same.

> Anyway, it gives the same result - InstallShield popup.
> Please advice,

It would be really helpful if I could see the log file(s), the response file
(you did modify it, right?  The sample is merely a starting point and will
not work immediately without at least changing the LICENSE_ACCEPT
parameter), and the popup.

Also, if you could generate a trace, that would be useful as well:

setup -u \\server\share\db2ese.rsp -l c:\db2logs\db2 -t c:\db2logs\db2trc

Finally, getting 8.2 would be highly beneficial as well - you get all the
fixes (and enhancements) that are in the first 7 fixpacks in a single shot.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.