Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

/d (and other deployment parameters) – PB Docs 2021 – PowerBuilder Library

/d (and other deployment parameters) – PB Docs 2021

/d (and other deployment parameters)

/d is used to deploy the PowerBuilder projects to EXE and
DLL/PBD files. It supports two file types: .pbw or .pbt (.pbl is not
supported currently). For example, pbc210 /d test11.pbw.

It also supports the compilation modes (/f for full
compilation and /i for incremental compilation) and the following
optional parameters for deployments. For example, pbc210 /d
“test11.pbt” /o “test11.exe” /r “test11.pbr” /w n /f /m y /tr n /in
n /op 0 /x 32 /bg y /p “PowerBuilder Enterprise Series” /cp “Appeon”
/de “Appeon Product File” /cr “Contains licensed copyright material
by Appeon” /v “1.0.0.1” /fv “1.0.0.1” /ge 1 /le 0 /ps n

Please see the following table for details about these
parameters.

Parameters

Description

/o

Name of the application executable file to be
created.

All the other related files will be deployed to the
same folder as the exe file. For example: /o
d:fo est11.exe. If not specified, the same name as the
PBT file will be used.

PowerBuilder IDE -> Project Painter: Executable
file name option

/r

Name of a PBR (PowerBuilder resource file) that will
be used to build the executable file. For example, /r
test11.pbr.

PowerBuilder IDE -> Project Painter: Resource
file name option

/x

Whether the platform to run the exe file is 32-bit
or 64-bit. Values are 32 (the default) and 64. For
example, /x 32.

32-bit exe file can only run with the 32-bit runtime
files, and 64-bit exe file can only run with the 64-bit
runtime files.

PowerBuilder IDE -> Project Painter: Platform
option

/cp

Name of the company. Default value is
“Appeon”.

If there’s space in the company name, the name
should be quoted, for example, /cp “Appeon SZ”.

PowerBuilder IDE -> Project Painter: Company name
option

/p

Name of the product. Default value is “PowerBuilder
Enterprise Series”.

If there’s space in the product name, the name
should be quoted, for example, /p “PowerBuilder Enterprise
Series”.

PowerBuilder IDE -> Project Painter: Product name
option

/de

Description of the product. Default value is “Appeon
Product File”.

If there’s space in the description, the description
should be quoted, for example, /de “Appeon Product
File”.

PowerBuilder IDE -> Project Painter: Description
option

/cr

Copyright statement of the product. Default value is
“Contains licensed copyright material by Appeon Inc. and
others. Use and distribution of Sybase copyright material
and licensed material is governed by Appeon End-user
License Agreement.”.

If there is space in the copyright description, the
description should be quoted, for example, /cr “All rights
reserved.”.

PowerBuilder IDE -> Project Painter: Copyright
option

/v

Version of the software. Default value is
“1.0.0.1”.

PowerBuilder IDE -> Project Painter: Product
version option (Properties displayed for
executable)

/fv

Version of the file. Default value is
“1.0.0.1”.

PowerBuilder IDE -> Project Painter: File version
option (Properties displayed for executable)

/vn

Version of the software which consist of four
integer values representing the major version number,
minor version number, fix version number, and build
number, with each value separated by a decimal point, for
example “11.0.0.3012”.

PowerBuilder IDE -> Project Painter: Product
version option (Executable version used by
installer)

/fvn

Version of the file which consists of four integer
values representing the major version number, minor
version number, fix version number, and build number, with
each value separated by a decimal point, for example
“11.0.0.3012”.

PowerBuilder IDE -> Project Painter: File version
option (Executable version used by installer)

/w

Whether to use the Windows classic style. Values
are:

  • y – use the Windows classic style.

  • n – (default) use the PowerBuilder style.

PowerBuilder IDE -> Project Painter: Windows
classic style option

/m

Whether to generate machine code executables and
dynamic libraries. Values are:

  • y – generate machine code.

  • n – (default) generate pseudo code.

PowerBuilder IDE -> Project Painter: Pcode option
and Machine code option

/tr

Whether to generate a trace file for troubleshooting
or profiling your application when you run the executable
file. Values are y and n (the default).

This parameter takes effect only when machine code
executable is generated.

PowerBuilder IDE -> Project Painter: Trace
information option

/in

Whether to display context information (such as
object, event, and script line number) for runtime errors.
Values are y and n (the default).

This parameter takes effect only when machine code
executable is generated.

PowerBuilder IDE -> Project Painter: Error
context information option

/op

Optimization level. Values are:

  • 0 – (default) Optimize for speed

  • 1 – Optimize for space

  • 2 – None

This parameter takes effect only when machine code
executable is generated.

PowerBuilder IDE -> Project Painter: Optimization
option

/bg

Whether to enable any code that you placed in DEBUG
symbol conditional compilation code blocks. Values are y
(the default) and n.

PowerBuilder IDE -> Project Painter: Enable DEBUG
symbol option

/ge

Whether to generate manifest. Values are:

  • 0 – (default) No manifest

  • 1 – Embedded manifest

  • 2 – External manifest

PowerBuilder IDE -> Project Painter: Generation
options option

/le

Execution level of manifest. This parameter takes
effect only when /ge is set to 1 or 2. Values are:

  • 0 – (default) As Invoker

  • 1 – Highest Available

  • 2 – Require Administrator

PowerBuilder IDE -> Project Painter: Execution
level option

/ps

Whether to allow access to the protected system UI.
Values are y and n (the default). This parameter takes
effect only when /ge is set to 1 or 2.

PowerBuilder IDE -> Project Painter: Allow access
to protected system UI option

/pd

Whether to generate the PBD/DLL file for a PBL.
Values are:

  • y – (default) to generate PBD/DLL file

  • n – not to generate PBD/DLL file

PowerBuilder IDE -> Project Painter: PBD
option

When there are more than one PBLs in an application,
each PBL can have its own /pd value. For example, when
there are three PBLs, /pd nnn indicates only EXE file is
generated and no PBD/DLL file is generated; /pd yny
indicates the first and the third PBLs will have PBD/DLL
files generated; /pd n indicates the first PBL will not
have PBD/DLL file generated, and the second and the third
PBL will have PBD/DLL files generated because the default
value is y.

If you specify to generate the EXE file only without
the PBD/DLL file, make sure to test that the EXE file can
run correctly.

/rt

The version of PowerBuilder Runtime that will be
used to compile the application executable, for example,
/rt 19.2.0.0000.

If this parameter is not set, then the runtime
version configured in the PowerBuilder IDE will be used;
and if no PowerBuilder IDE is installed on the current
machine, then the latest runtime within the same major
version as PowerBuilder Compiler will be used.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x