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.
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. |
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 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.
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:
Click Start, right-click Command Prompt, choose Run as administrator.
Change to the directory on the local file system where you saved your updated installation script(s).
Run the command to execute the script.
For example:
SilentInstall.bat -licensed_user –I_accept_sybase_license –dst <path to destination directory>\Sybase_server
If you change the license acceptance parameter in the SilentInstall.txt file, you do not need to specify that option on the command line.
You can monitor silent installs by running a tail command on the log file. The default name and location of this file is \%ALLUSERSPROFILE%\SybaseIQ\logfiles\IQ15Console.log. This location and log file name can be changed by adding –cl and the log location as a command line parameter when launching the silent install.