Silent Install Commands

This topic describes the silentinstall command syntax for PowerBuilder.

To run the silent installation from a Windows Command Prompt, run this command in the installation package (silentinstall.bat for Universal Edition, silentInstall_st.bat for Standalone Edition):

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

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

Silent installation parameter

Description

opt

Names the product or products to install.

This parameter is optional to the PowerBuilder Standalone Edition.

For the PowerBuilder Universal Edition, values are:

  • All Installs PowerBuilder, PowerServer (PB Edition), PowerServer Toolkit, PowerServer Help, & PowerServer Web Component.

    Note

    SnapDevelop cannot be installed in the silent mode in the current version. It may be supported in a future release.

  • PB Installs only PowerBuilder

  • PSM Installs only PowerServer (PB Edition)

  • PST Installs only PowerServer Toolkit

  • PSH Installs only PowerServer Help

  • PSWC Installs only PowerServer Web Component

Multiple products can be separated by a slash ("/"), for example, opt=PB/PSM/PST.

dir

Indicates the main installation directory. If you omit this parameter, silentinstall installs the product to the sysDriver\Program Files\Appeon\productName directory, where sysDriver is the main computer drive, and productName is PowerBuilder 2019.

shr

Indicates the shared directory for PowerBuilder. If you omit this parameter, this directory installs to sysDriver\Program Files\Appeon\Shared.

log

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 parameters for the silent installation command:

silentinstall.bat "opt=pb" "dir=D:\appeon\pb190" "shr=D:\appeon\shared" "log=D:\appeon\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:

  • SQL Anywhere

  • Microsoft .NET Framework

  • Microsoft .NET Framework SDK

  • Microsoft IIS