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 in a command window.

Typical install

You can run a typical silent install directly from the installation media. You must include the license acceptance switch:

<DVD drive>\SilentInstall.bat –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

If you want to perform a custom install, the command you use to run SilentInstall.sh must include the –txt switch that points to the location of the modified SilentInstall.txt. The command must also include the license acceptance switch:

<path>\SilentInstall.bat –txt <path >\SilentInstall.txt –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 –I_accept_sybase_license –dst <path to destination directory>\Sybase_server
    

NoteNotes