Writing Out a Template File

The second method for installing in silent mode is to run the installer and have it write out a template file. Learn how to write out a template file.

The template file contains all of the install questions, but no responses. You can edit the file to provide responses for each of the questions. Then you can invoke the installer from the response file, and use the the response file to answer the installer's questions. Here is how to do this:
  1. Change the default directory to the CD directory.
  2. Run the setup program:
    setup -is:javaconsole -options-template <full path response file>
    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.
    Note: The value for -options, -options-template, and -options-record must specify an absolute path.
    Installation in silent mode may fail if a response is required from the user. 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 to specify actions to take when installing in silent mode:
Specify any of these options on the command line or within the options file as follows:
 -G <option>="<value>"
Valid values are:
  • yesToAll
  • yes
  • noToAll
  • no

For example:

./setup -is:javaconsole -silent -options <responseFileName> 
   -W SybaseLicense.agreeToLicense=true 
   -G replaceNewerResponse="yesToAll"


Created June 23, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com