Perform silent installation (sometimes referred to as an “unattended installation”) by running the installer and providing a response file that contains answers to all the installer questions.
There are two ways to create a response file for the installer; using record mode or template mode.
In this mode, the installer performs an installation of the product and records all your responses and selections in the specified response file. You must complete the installation to generate a response file. To create a response file, enter:
./setup -options-record responseFileName
where responseFileName is the absolute path of the file name you choose for the response file.
You can also use the console mode to generate a response file without using the graphical interface. Enter the following:
./setup -is:javaconsole -console -options-record responseFileName
These commands result in:
An installation of DI Suite components on your computer
A response file containing all of your responses from the installation
If you use this response file for a silent installation, the resulting installation is identical to the one from which the response file was created; the same installation location, same feature selection, and all the same remaining information. The response file is a text file that you can edit to change any responses before using it in any subsequent installations.
In this mode, the installer creates a response file containing commented-out values for all required responses and selections. To create this template file, enter:
./setup -is:javaconsole -options-template responseFileName
where responseFileName is the file name you choose for the response file. When specifying the response file name, include the full directory path of its location.
To use this response file for a silent installation, you must manually edit the template with the values you want to use during installation.
An interactive installation using a response file allows you to accept the default values from the response file, or to change any of those values for the specific installation. This is useful when you have multiple similar installations that have minor differences that you want to change at installation time.
Enter the following at the command line:
./setup -options responseFileName
where responseFileName is the file name containing the installation options you chose. When specifying the response file name, include the full directory path of its location.
A silent-mode installation allows you to install the product with all responses being taken from the response file that you have set up. There is no user interaction. This is useful when you want multiple identical installations, or you want to automate the installation process.
Enter the following at the command line:
./setup -is:javaconsole -silent -options responseFileName -W SybaseLicense.agreeToLicense=true
where responseFileName is the absolute path of the file name containing the installation options you chose. The -W option specifies that you agree with the Sybase License Agreement text.
Except for the absence of the GUI screens, all actions of the installer are the same, and the result of an installation in silent mode is exactly the same as one performed in GUI mode with the same responses.