Silent installation
122 Adaptive Server Enterprise
Silent installation
A silent installation (sometimes referred to as an unattended install) is done by
running the Installer and providing a response file that contains answers to all
of the Installer’s questions. There are two methods of generating a response file
for the Installer. The first method is to run the Installer in GUI mode and record
all of the responses into a response file. This response file then be edited with
an editor to customize the responses if needed.
The second method is to run the Installer and have it write out a template file.
The template file contains all of the questions, but no responses. It can then
edited to provide responses for each of the questions. The Installer is then
invoked with the response file and all questions are answered by reading from
the response file.
To perform the silent installation using the resource file that you created by
running the Installer through the installation process:
1 Change default directory to the CD.
2 Run the setup program with the
-options-record filename:
setup -options-record <full path>session1.txt
3 Run through the installation saving all of the responses.
4 Edit the response file to customize it for your needs.
5 Run the setup program with the
-options filename and -silent command line
arguments. Additionally you must include the
-W argument that indicates
that you accept the license agreement.
./setup -options "/tmp/neals_install.txt" -W
"is:javaconsole"
SybaseLicense.agreeToLicense=true -silent
To generate a template response file, skip step 3 and alter step 2 above to do the
following:
setup -is:javaconsole -options-template <response file in absolute path>
In either case it is possible to custom configure the servers as well as being able
to select a typical install and use the default configuration values.