PowerClient deployment

PowerBuilder 2019 R3 introduces a new project type: PowerClient. PowerClient changes the way of deploying and updating PowerBuilder applications. Regardless your application is client/server or cloud-native architecture, the PowerBuilder client is deployed from a web server over HTTP/HTTPS, and it can update itself automatically. This eliminates the headaches and costs of creating installation programs, deploying apps to users, and keeping apps updated.

Key Features:

  • Seamless installation, even without admin rights

  • Self-updating with flexible update strategies

  • Packages all necessary files (PBVM, OCXs, DLLs, etc.)

  • Automatic file encryption and integrity verification

  • Compatible with any Web server on any operating system

  • Deploy to the Web server over FTP or create .ZIP package

Cloud App Launcher:

The Cloud App Launcher is a launcher program that must be first installed to the user’s machine. It facilitates the initial installation and subsequent updates of your PowerBuilder applications over HTTP/HTTPS.

There are two launcher types. We recommend you test carefully to see which best meets your technical requirements:

  • Launcher without background service: This launcher program does NOT use a background service. As such, it should be easier to install and use and does not require administration rights. However, it has certain dependency on the browser, which may result in different installation experience depending on the browser used and its configuration.

  • Launcher with background service: The launcher program uses a background service. If there are multiple users on a client machine, the launcher requires administrator rights to install and will work together with the background service. This launcher type does NOT have dependency on the browser.

Compilation Differences:

PowerClient only supports compiling as p-code files. The compilation is different from the traditional p-code approach. All PBD files are broken down very granularly into each individual object/definition file. For example, each SRW, SRD, SRU, etc. file would have its individual corresponding p-code file (that have new file extensions, such as .dwo, .apl, .fun, .win, .udo) instead of a monolithic PBD files. Also, by default the p-code files are encrypted so they cannot be readily decompiled.

For more, refer to this whitepaper: Automating On-Premise Deployment of PowerBuilder Apps.

With PowerClient, you can

  • Define a PowerCient project

  • Build and deploy the PowerCient project

  • Install and run the PowerCient project

  • Package the PowerCient project

  • Uninstall the PowerCient project

For detailed instructions, refer to the section called “Creating a PowerClient project” in Users Guide.

For a walkthrough of creating a PowerClient project, refer to the section called “Tutorial: deploying your first PowerClient project” in Users Guide.

Note

You must have a Professional or CloudPro license to use the PowerClient-related feature.

Note

You must run PowerBuilder IDE as administrator in order to use the PowerClient-related features.

Related features

Two system functions IsPBApp and IsPowerClientApp are added to check if the current application is a native C/S application compiled using Pcode/machine code or an application deployed using PowerClient.