Running a silent install

SilentInstall.bat is a batch file that you launch from the command line to start the install. You must include a license acceptance switch as an argument when you run this script. If you do not have the %SYBASE% environment variable set, you must also specify the -dst parameter. Other arguments depend on whether you plan to run a Typical install or Custom install.

Command line arguments

You can display options for this script by running the SilentInstall.bat with the –h or –? option on the command line. All arguments appear in the table below.

Argument

Description

h or ?

Display help and exit.

jvm "JVM_ARGS"

Include user specified JVM_ARGS.

java

Specify the location of the java folder.

txt

Specify the location of Silent Install text file.

bs <32|64>

Specify the bit size of the installed files.

cl

Specify the location of the silent install console log.

src

Specify the path to root directory of installer files.

I_accept_sybase_license

Agree to the Sybase IQ licensing terms.

dst

Specify the install location for Sybase IQ .

licensed_user

Installs the licensed version of Sybase IQ.

eval_user

Installs the evaluation version of Sybase IQ.

Typical install

You can run a typical silent install directly from the installation CD. The command you use to launch the install must include a version switch (– licensed_user or – eval_user) and a – license acceptance switch:

<DVD drive>\SilentInstall.bat -licensed_user 
-I_accept_sybase_license 

If you do not have the %SYBASE% environment variable set, you must also specify the -dst parameter and the destination directory as parameters.

Custom install

Custom install commands must include the –txt switch that points to the location of the modified SilentInstall.txt as well as a version switch and – license acceptance switch:

<path>\SilentInstall.bat –txt <path>\SilentInstall.txt -licensed_user -I_accept_sybase_license 

If you do not have the %SYBASE% environment variable set, you must also specify the -dst parameter and the destination directory as parameters.

Running silent install scripts on Microsoft Vista

You must have sufficient user permissions to run applications in Microsoft Vista. If you do not have administrator privileges and want to run a silent install or uninstall, open a command prompt as an Administrator, then execute the silent install or uninstall from the command line.

For example:

  1. Click Start, right-click Command Prompt, choose Run as administrator.

  2. Change to the directory on the local file system where you saved your updated installation script(s).

  3. Run the command to execute the script.

    For example:

    SilentInstall.bat -licensed_user 
    –I_accept_sybase_license –dst <path to destination directory>\Sybase_server
    

NoteNotes