This topic describes the silentinstall and silentuninstall command syntax for PowerBuilder, InfoMaker, and SQL Anywhere.
To run the silent installation from a Windows Command Prompt, run this command in the install directory:
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 it finds to install PowerBuilder and InfoMaker. If you do not provide the lic parameter and there is no license file in the installer search path, an evaluation version of PowerBuilder 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 | Names the product or products to install. Values are:
|
directoryName | Indicates the main installation directory. If you omit this parameter, the main product components install to the sysDriver\Program Files\Sybase\productName directory, where sysDriver is the main computer drive, and productName is either PowerBuilder 12.5 or InfoMaker 12.5. |
sharedDirectoryName | Indicates the shared directory for PowerBuilder or InfoMaker. If you omit this parameter, this directory installs to sysDriver\Program Files\Sybase\Shared. |
logFileName | Names the log file for the installation. If you omit this parameter, the log file is written to the system Temp directory with the file name, silentinstall.log. |
help or /? | Displays command syntax and parameters instead of 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"
When installing PowerBuilder, the silent installation writes warnings to its log file if the setup computer does not have the correct version any of these items:
When installing InfoMaker, the log file includes a warning if the setup computer does not have a working copy of SQL Anywere. If SQL Anywhere is not found, the demonstration databases and code examples are not installed for PowerBuilder or InfoMaker.
To start the standard silent uninstallation, run the silentuninstall.bat command in the main installation directory.
By default (with no arguments), silentuninstall uninstalls only PowerBuilder and InfoMaker. To uninstall SQL Anywhere, specify the all argument.