Command line options

The following table lists alphabetically the command line options that you can use when running an installer or uninstaller.

Table 2-1: Command line options

Option

Purpose

-console

Specifies to use the console interface mode, where messages during installation are displayed on the Java console and the Wizard is run in console mode.

-is:javaconsole

Displays the Java console during installation. This has no affect on the mode in which the Installer runs (see -console).

-is:javahome <Java home directory>

Indicates that the installer or uninstaller uses the specified JVM rather than the default. Only a version 1.4.x JVM may be specified. If used when installing the product, no uninstaller is created.

-is:tempdir <directory>

Sets the path to the temporary directory (<directory>) to which the installer should write its temporary files. If the specified directory does not exist or is not a directory, the installer uses the system temp directory instead, and no error message is provided.

-log !<filename>

Initializes logging for the installer, where !<filename> is the name of a file to save the log information. If you specify “!” without a file name, the default log file name is used.

-options-template <responseFileName>

Automatically generates a response/options “template” type file (<responseFileName>) that can be used to provide user input during installation.

-option-record <responseFileName>

Automatically generates a response/options “record” type file <responseFileName>after the completion of the installation or uninstallation.

-options <responseFileName>

Specifies that a response/options file (<responseFileName>) be used to execute the installation/uninstallation, which contains command line options, one command per line, that set specified properties for the installation. A response/options file is usually used when a silent installation is run (see the next option).

-silent

Specifies to install or uninstall the product in silent mode, where the installation/uninstallation is performed with no user interaction and the install is "silent."

-W <beanID>.<property name>.<subproperty name>=<value>

Specifies properties to the installer. This option must be used to agree to the Sybase License conditions during a silent installation. Refer to “Installing in silent mode”.

NoteWhen using the command line option, specify the full path, including the file name for the <responseFileName>.