Silent installation

To perform a silent installation run the Installer answering the prompts with a response file. There are two methods from which you can choose for generating a response file for the Installer.

  1. Run the Installer in GUI mode and record the responses to a response file. You can edit the response file to customize the responses.

  2. Run the Installer and have it write out a template file. The template file contains all of the questions, but no responses. You can edit the template file so that it provides responses to the questions.

The Installer is invoked with the response file and all questions are answered by reading from the response file.

Follow these steps to perform the silent installation using the resource file you created using the first method.

  1. Change default directory to the CD.

  2. Run the setup program with the -options -record filename:

    ./setup is:javaconsole -options-record <full_path_response_file>
    
  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 -is:javaconsole -silent -options <full path response file>
    -W SybaseLicense.agreeToLicense=true
    

To generate a template response file, skip step 3 and alter step 2 above to do the following:

./setup -is:javaconsole -options-template <full path response file>

In either case it is possible to custom configure the servers, to select a typical install and use the default configuration values.

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 done in GUI mode with the same responses.

NoteThe value for -options, -options-template, and -options-record must specify an absolute path.

Installation in silent mode can fail when a response is required from the user which is not available in the response file. Such a response is required when files already exist on disk and appear to be newer than the files the installer is attempting to install, or when files have been modified by the user.

Set the following options at the command line level to specify actions to take when installing in silent mode:

Any of these options can be specified on the command line or within the options file as follows:

 -G <option>="<value>"

Valid values are:

For example:

-G replaceNewerResponse=”yesToAll”
./setup -is:javaconsole
-silent
-options <full path response file>
-W SybaseLicense.agreeToLicense=true
-G replaceNewerResponse=”yesToAll”