Silent install and uninstall

All of the parameters for the silent install 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 install 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:

 

All (default) Installs PowerBuilder and

 

 

InfoMaker

 

PB

Installs PowerBuilder only

 

IM

Installs InfoMaker only

 

 

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 11.5

 

or InfoMaker 11.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.

 

 

 

 

If the license file you point to in the licPathNameOrServerName parameter is a professional or desktop license, InfoMaker will not be installed.

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

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

22

PowerBuilder Enterprise

Page 30
Image 30
Sybase 6131765115041SS manual Silent install and uninstall, Silent install parameter Description