A silent installation (sometimes referred to as an unattended installation) is done by running the installer and providing a response file that contains answers to all of the installer questions. The response file is a text file that you can edit to change any responses before using it in any subsequent installations.
There are two ways to create a response file:
Record mode
Template mode
In this mode, the installer performs the installation 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 the following command, where respFileName is the absolute path of the file name you choose for the response file:
On Windows:
sysearch_ca.exe -options-record respFileName
On AIX, Solaris, Linux, and HP:
./sysearch_ca.bin -options-record respFileName
You can also use the console mode to generate a response file without using the GUI. To create a response file in console mode, enter the following command, where respFileName is the absolute path of the file name you choose for the response file:
On Windows:
sysearch_ca.exe -is:javaconsole -console -options-record respFileName
On AIX, Solaris, Linux, and HP:
./sysearch_ca.bin -is:javaconsole -console -options-record respFileName
The following are the results:
An installation of Content Adapter
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.
In this mode, installer creates a response file containing commented-out values for all required responses and selections. However, you need not install the Content Adapter, and you can cancel the installation after the response file has been created.
To create this template file, enter the following command, where respFileName is the absolute path of the file name you choose for the response file:
On Windows:
syssearch_ca.exe -is:javaconsole -options-template respFileName
On AIX, Solaris, Linux, and HP:
./syssearch_ca.bin -is:javaconsole -options-template respFileName
If run in console mode, as shown in the previous example, the installer displays a message indicating that the template creation was successful. If run in GUI mode, the installer does not display the message.
If you use this response file for a silent installation, the default values for all responses are used. 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, where respFileName is the absolute path of the response file.
On Windows:
syssearch_ca.exe -options respFileName
On AIX, Solaris, Linux, and HP:
./syssearch_ca.bin -options respFileName
A silent mode installation allows you to install the Content Adapter 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, where respFileName is the absolute path of the response file. The -W option specifies that you agree with the Sybase License Agreement text.
On Windows:
syssearch_ca.exe -is:javaconsole -silent -options respFileName -W SybaseLicense.agreeToLicense=true
On AIX, Solaris, Linux, and HP:
./syssearch_ca.bin -is:javaconsole -silent -options respFileName -W SybaseLicense.agreeToLicense=true
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.