Install PowerBuilder from a Command Prompt window or script, without displaying messages or windows during the installation process.
Prerequisites
Complete installation planning.
-
Accept the license agreement.
-
Specify the SQL Anywhere engine.
-
Configure the
silentinstall.bat
file. -
Run
silentinstall.bat
to install PowerBuilder.
Accept the Appeon license agreement before running the silent installation.
Edit the silentinstall.bat file located in the installation package and change the value of set AgreeToAppeonLicense from false to true.
set AgreeToAppeonLicense=false
Specify the location of a SQL Anywhere engine before running the silent installation.
Edit the pbsetup.iss file located in the PowerBuilder IDE installation package and set the value of szSqlAnywhereDir.
szSqlAnywhereDir=C:\Program Files\SQL Anywhere 16\Bin64
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 [ "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 |
---|---|
|
Specifies the name of the products to install.
Multiple products can be separated by a slash ("/"), for example, opt=PB/PSM/PST. |
|
Indicates the main installation directory. If you
omit this parameter, silentinstall installs the product to
the |
|
Indicates the shared directory for PowerBuilder. If
you omit this parameter, this directory installs to
|
|
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. |
|
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 computer does not have the correct version of any of these items:
-
SQL Anywhere
-
Microsoft .NET Framework
-
Microsoft .NET Framework SDK
-
Microsoft IIS