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
> 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.