Silent Install and Uninstall Commands

This topic describes the silentinstall and silentuninstall command syntax.

To run the silent installation from a Windows Command Prompt, run this command in the install directory:

silentinstall.bat [ "lic=licPathNameOrServerName" "opt=product" "dir=directoryName" "shr=sharedDirectoryName" "log=logFileName" ] [ { help | /? } ]

All of the parameters for the silent installation are optional. If you do not provide a value for the lic parameter, the installer searches the files in the installer directory in ascending alphabetic order for a valid license file. It uses the first valid license file found to install InfoMaker. If you do not provide the lic parameter and there is no license file in the installer search path, an evaluation version of is installed.

The parameters can be listed in any order and are not case sensitive. Parameter values are also not case sensitive.

Silent installation parameter Description
licPathNameOrServerName The full path to a valid license file with an LIC extension, or the name of a server hosting a served license. If a license server requires a port number, you can include the port number after the server name, separated by a colon. For example: silentinstall.bat “lic=myServer:1688”
product The product to install. Values are:
  • All – Installs InfoMaker and SQL Anywhere (default)
  • IM – Installs only InfoMaker
  • SA – Installs only SQL Anywhere
directoryName The root installation directory. If you omit this parameter, silentinstall installs InfoMaker in sysDriver\Program Files\Sybase\productName, where sysDriver is the main computer drive, and productName is InfoMaker 12.5.
sharedDirectoryName Indicates the directory for shared InfoMaker files. If you omit this parameter, the location is sysDriver\Program Files\Sybase\Shared.
logFileName Names the log file that the installation writes to the system Temp directory. If you omit this parameter, the name is silentinstall.log.
help or /? Displays command syntax and parameters without running the command.

The following example uses all five parameters for the silent installation command:

silentinstall.bat "lic=D:\pb125\pb125.lic" "opt=pb" "dir=D:\pb125" "shr=D:\shared" "log=D:\install.log"

If SQL Anywhere 12.0.1 is not installed on the setup computer, the demonstration databases and code examples for InfoMaker cannot be installed, and the silent installation writes warnings to its log file.

To start the standard silent uninstallation, run the silentuninstall.bat command in the main installation directory.

silentuninstall.bat [ "all" ] [ { help | /? } ]

By default (with no arguments), silentuninstall uninstalls only InfoMaker. To uninstall SQL Anywhere, specify the all argument.

Note: Uninstalling SQL Anywhere on 64-bit editions of Windows Vista requires elevated privileges.