Silent installation

To perform a silent installation, run the installer while answering the prompts with a response file. There are two ways to generate a response file for the installer, either.

The response file invokes the installer, which takes actions based on your recorded or customized responses to the prompts.

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

  1. Change default directory to the CD or DVD.

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

    .\setupConsole.exe -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.

    .\setupConsole.exe -silent -options <full path response file> -W SybaseLicense.agreeToLicense=true
    

    NoteYou should restart the machine when the silent installation has completed.

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

.\setupConsole.exe -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 and is not available in the response file. Such a response is required when files already exist on disk and appear to be later 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:

.\setupConsole.exe
-silent
-options <full path response file>
-W SybaseLicense.agreeToLicense=true