By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,018 Members | 930 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,018 IT Pros & Developers. It's quick & easy.

DB2 RT Client silent install

P: n/a
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

Mar 1 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Nananana wrote:
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)


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/...deployment.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/...oymentunix.pdf
Mar 1 '06 #2

P: n/a
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

Mar 2 '06 #3

P: n/a
Nananana wrote:
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.
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.
Mar 2 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.