Defining a PowerClient project

Once you have created a PowerClient project, you can open it from the System Tree and modify the properties if necessary. The Project painter for the PowerClient project looks like this.

The following sections describe each of the options you can specify in the Project painter for PowerClient.

Note

If you want to view an example of the PowerClient project, you can open the demo app, for example, from Windows Start | Appeon PowerBuilder [version] | Example Sales App, and view the PowerClient project included in the demo.

Application page

The Application page > Basic tab has the following settings:


Option

What you specify

App Name

Specify a name for the application. The application name is mainly used in the following places:

  • The name of the Cloud App launcher EXE file.

  • The default App shortcut name.

  • The automatically generated directory name of Cloud App launcher files after Build and Deploy.

    When starting the Cloud App launcher through a URL, the name is used in the URL path.

If you need to define and modify the App Name, it is recommended to consider comprehensively.

PBR file name

(Optional) Specify a PowerBuilder resource file (PBR) for your application if you dynamically reference resources (such as bitmaps and icons) in your scripts and you want the resources included in the application instead of having to distribute the resources separately.

You can type the name of a PBR file in the box or click the button next to the box to browse your directories for the PBR file you want to include. The PBR file as well as the resources it references must reside in the application directory or subdirectory; and only relative paths of the PBR file and the resources will be accepted.

For more about PBRs, see Distributing_resources.

"App shortcut" group

You can specify whether to create shortcuts for:

  • Desktop -- Specify whether to create an application shortcut icon on the client desktop.

  • Start menu -- Specify whether to create an application start shortcut menu in the Windows start menu.

  • App uninstall -- Specify whether to create an application uninstall shortcut menu in the Windows start menu.

You can also customize the app shortcut name and the shortcut icon.

  • Shortcut name -- Specify the shortcut name on the client desktop. The default shortcut name is the same as the default app name.

  • Shortcut icon -- Specify the shortcut icon on the client desktop. The icon file must be added to External Files first before it can be selected here, and the image resolutions should be 16*16 pixels, 48*48 pixels or 256*256 pixels.

"External files" group

Specify the custom user external files and/or the resource files that are referenced in the PowerScript. Make sure all these files are placed in the same folder or sub-folder of the application target (.pbt) file.

The custom user external files may include the following:

  • INI files (including pb.ini, pblab.ini, pbodb.ini etc.)

  • DLL/OCX files (requiring no administrator rights to register)

  • XML files or image files used by the UI theme or external functions

  • text files, PDF files or any other files used by the external function

Files preloaded as compressed packages and Files preloaded in uncompressed format

The custom user external files will be downloaded from the server before the application starts. It is recommended that you deploy the files which are large or stay unchanged most of the time (such as UI theme files) as one compressed package, so that it can be transferred faster; and deploy the files which may be modified (hence downloaded) frequently as individual files (such as INI files), or deploy them as a separate package because they need to be downloaded frequently.

  • To deploy files (such as UI theme files) as one compressed package, select Files preloaded as compressed packages from the list box, then click Create Package to create a package, and then click Add Folder or Add Files to add the folder or files under this package.

  • To deploy files (such as INI files) as individual files, select Files preloaded in uncompressed format from the list box, and then click Add Folder or Add Files to add the folder or files under it.

Images/videos dynamically loaded

The resource files (such as images, videos etc.) are downloaded from the server at the moment when they are used by the application. You can select Images/videos dynamically loaded and then click Add Folder or Add Files to add the folder or files under it.

Note

1) After these files are added to External Files, they will be deployed together with the other application files to the server. If these files are changed later, you must re-deploy the application, or replace these files on the server using the CustomizeDeploy.dll tool without needing to deploy the application again. For more information, refer to Change the deployed app using commands.

2) When external files are deployed to the server, they are appended with the file extension ".zip", but they are not compressed files (the only exception is package). For example, if apisetup.ini is selected in the External Files tab, it will be deployed as apisetup.ini.zip to the server, however, apisetup.ini.zip is not a compressed file and it can be directly opened in a text editor just like apisetup.ini.

3) If you have added or removed files from the folder after it is added to External Files, the file list will not be automatically refreshed, thus, you may be prompted for missing files during deployment. In this case, you can remove the folder and then add it back again to External Files, in order to correctly refresh the file list.

DLL & OCX Registration

If the application uses DLL/OCX files and if these DLL/OCX files must be registered before use, you can choose the following methods to register the files:

  • Method 1: select the DLL/OCX files in the DLL & OCX Registration dialog (as shown in the figure below). The file with its check box selected will be registered by Regsvr32 or Regasm automatically before the application starts.

    However, if the DLL/OCX files cannot be registered by Regsvr32 or Regasm, or if they need to be registered using administrator rights, then use method 2 instead.

  • Method 2: write scripts to register the DLL/OCX files before the application starts, and/or input the registration scripts in Preload Event in the PowerServer Project painter > Application page > Advanced tab.

Note

1) For DLL/OCX files that do not need to be registered or those that will be registered by scripts, please do not select them in the DLL & OCX Registration dialog, because unnecessary registration will affect the app startup performance.

2) PowerServer itself does not require any DLL/OCX file registration, please select and register only those DLL/OCX files that are required by the application.


INI Configuration

When the application is updated, the INI file can be updated with the specified strategy. Click the INI Configuration button and then select one or more INI files and configure the strategy for them at one time; or select and configure for the INI file one by one.

  • Overwrite update -- The INI file on the client will be updated if the INI file downloaded from the server has been updated, and changes made to the local INI file will be lost.

  • Merge update -- The INI file on the client will be merged with the INI file downloaded from the server, so changes made to the local INI file will be preserved and merged into the INI file downloaded from the server. But notice that any setting that exists in the local INI file but not in the downloaded INI file will be removed.

  • Do not update -- Once the INI file is downloaded to the client, it shall never be updated with the INI file downloaded from the server.

Note

The external files cannot contain any file that has the same name as the application, or the PBD or p-code file to be generated, otherwise duplicate name error occurs.

For example, [appname].exe, [appname].xml, [appname].manifest file etc. cannot be added to External Files.

For another example, test.pbl will be deployed as test.pbd, therefore, test.pbd cannot be added to External Files.


The Application page > Advanced tab has the following settings:


Option group

What you specify

Runtime files

Select the runtime files according to the features used in the application. The runtime files will be downloaded from the server to the client, for the application to run.

You can select Typical to automatically select all files (except the WebBrowser control), or select Custom to select files manually.

The deployment tool does not actually deploy the files, instead it notifies the application to download such files (corresponding to the runtime version displayed) from the server directly, therefore, you will need to make sure the corresponding version of PowerBuilder Runtime is uploaded to the server when you upload the Cloud App Launcher to the server (view detailed instructions).

When the project is opened, if the runtime version configured in the System Options dialog (Tools > System Options) is different from the runtime version last saved with the project, they both will be displayed (as shown below); and then when the project is saved, the runtime version in the System Options dialog (the second text box) will be saved with the project.

Download and update strategy

Specify the update strategy for the application.

  • Always update: always performs updates before application startup. If checks for updates fail, then the application will not start.

  • Update when connected: performs updates before application startup. If checks for updates fail, then the current version installed on the client will be running.

  • Never update: never checks or performs updates once after the application is installed on the client.

    However, if the "Prompt to upgrade when the application deployment version is invalid" option is selected, and if the application installed on the client is older than the minimum compatible version, or is detected as expired according to the expiration time, the user will get prompts to update the application.

    And make sure appropriate session timeout is implemented otherwise the update strategy will not take effect if the app is open.

Specify the download strategy for the application.

  • Download the app files as necessary: the following files will be downloaded before the app runs: 1) the PowerBuilder Runtime files, 2) the application executable, and 3) the files you selected to be preloaded in External Files; the other files will be downloaded at the moment they are called by the app. This option is not selectable if Never update is selected.

  • Download all the app files at app startup: the runtime files, app executable, the application files, and external files are all downloaded at the startup, except for the image files that are set to be dynamically loaded in the External Files settings.

  • Show the loading animation before the app runs: whether to show the loading image of launcher (as shown below) when the application prepares for startup. The image will disappear when the application's first window displays.

    This option should not be selected if the application starts with no user interface; otherwise the image will not disappear.

    You can deploy your own image to replace the default one (as shown below). For detailed steps, refer to Customizing and uploading cloud app launcher.


Preload Event

(Optional) Specify the commands that will be executed immediately after files are downloaded and before the application starts. For example, you can specify commands to register DLL/OCX files that cannot be registered by Regsrv32 or Regasm or require administrator rights to register; or any other commands that need to be executed with administrator rights. For another example, if your application contains .NET DLLs which have dependencies on the .NET runtime, you can also create a batch file to check and install the .NET runtime on the client and then assign the batch file in the preload event.

If the commands need to be executed with the administrator rights, you should select the Run as administrator option.

You can specify how often the commands should be executed: if you select "Only when the app first starts or is updated", the commands will be executed for only one time when the application is launched for the first time or when the application is updated; if you select "Every time the app starts", the commands will be executed every time when the application runs.

The commands can be any Windows commands or user-defined commands.

For example, suppose there is a DLL file from the application that needs to be registered on the client, you can enter the following commands:

cd /d "C:\Windows\Microsoft.NET\Framework\v4.0.30319"
regasm "%AppData%\Appeon\PBCloud\demo.appeon.com_app1\EncryptDecryptClass.dll" /tlb:testappeon.tlb  /codebase /nologo

Note: As the commands are executed silently, any commands that will pause the execution and wait for user input will cause the application to wait endlessly.


Commandline argument

Specify the command line arguments for the application. The arguments will be directly passed to the application when the application is run. The arguments will be automatically saved and updated to the app startup icon on the desktop and the app shortcut menu in Windows start.

The arguments specified here are static and cannot be modified at runtime. If you want to pass the argument dynamically at runtime, you can specify the argument in the application URL (for example, http://localhost/salesdemo/?arg=1). But note that the arguments appended to the application URL cannot contain special characters such as "?", "#", as they have special meanings in HTML URL; if you want to use these characters in the argument name or value, you can specify them in Commandline argument as static arguments, so that they can be passed to the application directly instead of being sent as part of the URL.

You can also pass arguments to the EXE directly. If there are multiple arguments, please include them in quotation marks or separate them with a delimiter (instead of a space), for example,

C:\Users\<username>\AppData\Roaming\PBApps\Applications\localhost_<appname>\<appname>.exe "parm1 parm2 parm3"

C:\Users\<username>\AppData\Roaming\PBApps\Applications\localhost_<appname>\<appname>.exe parm1/parm2/parm3

If the commandline argument is specified on the client, in the URL or desktop shortcut, and if you want to save the argument in pbapp.ini for future access, you can select the "Save the argument(s) in the pbapp.ini file for future access" option. By default, the arguments will not be saved to the pbapp.ini file.



Tip

Advanced usage of External Files and Preload Event

The combination of External Files and Preload Event can streamline the process of deploying a setup package to the server, installing the package and registering the file on the client machine. In the External Files page, you add the folders and/or files that make up of the setup package, and in the Preload Event field, you add commands to run the setup file and register any component if necessary.

Take Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL) as an example. Suppose the MSOLEDBSQL setup package includes the following folders and files: msoledbsql folder, sqlncli folder, CheckDBDriver.bat file, and Install.bat file.

Step 1: Copy the msoledbsql folder, sqlncli folder, CheckDBDriver.bat file, and Install.bat file to the same folder as the application target file.

Step 2: In the External Files page, select Files (Download at startup) in the list, and then click Add Folder to add the folders: msoledbsql and sqlncli and click Add Files to add the files: CheckDBDriver.bat and Install.bat.

The selected folders and files will be first deployed to the server and then downloaded to the application directory on the client machine.

Step 3: In the Startup page > Advanced tab, add the following command in the Preload Event field: .\CheckDBDriver.bat.

The command will be executed automatically when the application is first installed or upgraded. The CheckDBDriver.bat file checks whether MSOLEDBSQL is installed on the client machine. If MSOLEDBSQL is not installed, then Install.bat is automatically run to install MSOLEDBSQL. Administrator rights are required to run the Install.bat file, so the end user will be prompted for that if Install.bat is run.

Security page

The Security page has the following settings:


Option or option group

What you specify

Whether to ignore server certificate

Select or input a value or a sum of values, if you want the client app to ignore certain type(s) of server certificate error when sending a request.

The client app can suppress certain type(s) of certificate error from the server.

The value can be 0, 1, 2, 4, 8, 999, or a sum of two or more values of 1, 2, 4, 8 (each value representing one type of error). For example, the value 3 means ignoring unknown certificate authentication (CA) and certificates whose date is invalid. The value 0 means all of the certificate errors will be ignored.

  • 0 -- ignores all certificate errors

  • 1 -- ignores unknown certificate authorities (CA)

  • 2 -- ignores certificates whose date is invalid

  • 4 -- ignores certificates whose common name (CN) is invalid

  • 8 -- ignores certificates with incorrect usage

  • 999 -- does not ignore

It is recommended to ignore certificate errors only in the development or testing environment; in the production environment, you'd better resolve (rather than ignore) the certificate errors.

The above settings will take effect after you deploy the application.

If you want to change the ignore option without needing to deploy the application again, you can use the CustomizeDeploy.dll tool. For more, refer to Ignoring server certificate errors.

Encrypt all the compiled p-code files

Select whether to encrypt the object files when compiled from the PowerBuilder dynamic libraries.

Validate the application integrity before the app runs

Specify whether to validate the hash of every object file before they are loaded, so that files changed illegally will not be run.

Signing

Select whether to digitally sign the application executable file (appname.exe).

You can sign the file using a PFX file or a token. (To sign with an HSM (Hardware Security Module), you can only use the "Use your own signing script" option.)

To use the "Use the SignTool utility from the Windows SDK" option to sign the application executable file:

  1. When Certificate Type is PFX file, specify the SignTool location, certificate path, certificate password, signature algorithm, and URL of the time stamp server. And make sure Microsoft’s SignTool has been installed on the current machine.

  2. When Certificate Type is Token-based, specify the SignTool location, certificate thumbprint, signature algorithm, and URL of the time stamp server.

    The certificate thumbprint is the unique identifier of a certificate. You are required to specify the certificate thumbprint only if you have multiple certificates. If there is only one certificate, you may leave the field empty.


To use the "Use your own signing script" option, you should place the signing scripts in a file (with file extension as .cmd) and then select the file under the "Use your own signing script" option. To sign with an HSM (Hardware Security Module), you can only use the "Use your own signing script" option.

Take the PFX file for example,

  • To sign the application executable file (appname.exe) without dynamic parameters, you may create a cmd file which contains the following scripts (using Microsoft’s SignTool for example):

    signtool.exe sign /f mycert.pfx /p password /d "My application" /du http://www.mytest.com /fd sha256 /tr "http://timestamp.digicert.com" /td sha256 salesdemo_cloud.exe

    And then in the "Use your own signing script" field, input the file path of the cmd file, for example:

    D:\test\test.cmd
  • To sign the application executable file (appname.exe) with dynamic parameters, you may create a cmd file which contains the following scripts:

    %4 sign /f %5 /p %2 /d "My application" /du test /fd sha256 /tr %3 /td sha256 %1

    And then in the "Use your own signing script" field, input the file path of the cmd file and the parameter values (using Microsoft’s SignCode for example):

    "D:\test\test_param.cmd" "salesdemo_cloud.exe" "password" "http://timestamp.digicert.com" "D:\test\signcode.exe" "D:\test\mycert.pfx"

    In the above example, the parameters are passed as follows:

    Parameter 1: Application executable file name, for example, "salesdemo_cloud.exe" (%1)

    Parameter 2: Certificate password (%2)

    Parameter 3: URL of the timestamp server (%3)

    Parameter 4: Path to the code signing tool (%4)

    Parameter 5: Path to the digital certificate (%5)

Take the token for example,

  • To sign the application executable file (appname.exe) without dynamic parameters, you may create a cmd file which contains the following scripts (using Microsoft’s SignCode for example):

    signcode.exe sign /fd SHA256 /a /sha1 "13731a37233bbd83eeb13e95c7898d1d76a2256c" /tr http://timestamp.digicert.com "salesdemo_cloud.exe"

    And then in the "Use your own signing script" field, input the file path of the cmd file, for example:

    D:\test\test_token.cmd
  • To sign the application executable file (appname.exe) with dynamic parameters, you may create a cmd file which contains the following scripts:

    %1 sign /a /fd sha256 /sha1 %2 /tr %3 /td sha256 %4

    And then in the "Use your own signing script" field, input the file path of the cmd file and the parameter values (using Microsoft’s SignCode for example):

    "D:\test\test_token_param.cmd" "D:\test\signcode.exe" "13731a37233bbd83eeb13e95c7898d1d76a2256c" "http://timestamp.digicert.com" "salesdemo_cloud.exe"

    In the above example, the parameters are passed as follows:

    Parameter 1: Path to the code signing tool (%1)

    Parameter 2: Certificate thumbprint (%2). You are required to specify the certificate thumbprint only if you have multiple certificates.

    Parameter 3: URL of the timestamp server (%3)

    Parameter 4: Application executable file name (%4)

To avoid repeatedly entering the UKey password (for instance the screen is locked or the system is restarted), you can use the "Use your own signing script" option and specify the token password in the signing commands, for example:

"D:\test_newsign\signcode.exe" sign /fd SHA256 /a /sha1 "13731a37233bbd83eeb13e95c7898d1d76a2256c" /tr http://timestamp.digicert.com /td SHA256  -f "D:\test_newsign\cersign.cer" /csp "eToken Base Cryptographic Provider" /K "[{{appeon0418}}]=p11#f408f337487afa2d" "echarts_cloud.exe"
  • -f: Specifies the code signing certificate file

  • /csp: Specifies the cryptographic service provider (CSP) that contains the private key container

  • /K: Specifies the token password and private key container name in this format: "[{{TokenPasswordHere}}]=KeyContainerNameHere"

Note:

1) When writing scripts in the .cmd file, please follow the rules of Windows commands. If there are any exceptions or errors in the logs after configuring the "Use your own signing script" option, try running the scripts in the Windows Command Prompt or Windows PowerShell to identify the issue.

2) For .cmd files without dynamic parameters, both the directory name and the .cmd file name can contain spaces. However, for .cmd files with dynamic parameters, the directory path should not contain spaces, while the .cmd file name itself can contain spaces.

3) When entering the file path of the .cmd file in the "Use your own signing script" text box, follow the standard rules for accessing file paths in Windows. If the file name or path contains spaces, use double quotes to avoid escape errors. It is recommended to use absolute paths for the .cmd file and the parameters.

After the executable file is generated and before it is deployed to the server, PowerBuilder will sign the executable file using your own signing scripts or using the SignTool settings you specified.

Make sure the PowerBuilder user has the appropriate rights to access the time stamp server and sign files.

Manifest Information

Select whether to generate a manifest file (either external or embedded) and to set the execution level of the application.

For further information, see Attaching or embedding manifest files.


Build page

The Build page > Basic tab has the following settings:


Option or option group

What you specify

Rebuild

Specify how to build the application:

  • Full -- Regenerates and redeploys all object files to the server. It is strongly recommended that you always select Full if you build and deploy the project to the production environment.

  • Incremental -- Regenerates and redeploys only objects that have changed, and objects that inherit or reference any objects that have changed, since the last time you built the application.

As a precaution, regenerate all objects before rebuilding your project.

Platform

Select if the client app can run on 32-bit or 64-bit machines.

Enable DEBUG symbol

Select to enable any code that you placed in DEBUG conditional code blocks. For more information, see Using the DEBUG preprocessor symbol.


The Build page > Advanced tab has the following settings:


Option group

What you specify

Libraries

(Optional) Specify a PowerBuilder resource file (PBR) for your application if you dynamically reference resources (such as bitmaps and icons) in your scripts and you want the resources included in the application instead of having to distribute the resources separately.

You can type the name of a PBR file in the box or click the button next to the box to browse your directories for the PBR file you want to include. The PBR file as well as the resources it references must reside in the application directory or subdirectory; and only relative paths of the PBR file and the resources will be accepted.

For more about PBRs, see Distributing_resources.

Versioning

Deployment version -- The deployment version number is used by the server to determine whether to perform an install or update for the application on the client. It is recommended to increment the deployment version number every time when the application is updated and re-deployed.

Minimum compatible version -- Specify the lowest compatible version for the application. If the version installed on the client is older than it, a forced update will be performed, or the application will stop running.

Note

To effectively manage version compatibility and prevent issues when upgrading the application, you should follow these guidelines when defining Deployment version and Minimum compatible version (the rules of comparing the versions are similar to the rules of sorting the file name in Windows):

  • You should always increase the version number, for example, from 1.0.3 to 1.0.4, and should NOT decrease the number, for example, from 1.0.3 to 1.0.2.

  • You should use the consistent versioning scheme/structure, that is to say, the same total length, the same total segments, and the same length and format in each segment.

    Here are a few correct and incorrect examples:

    √: Deployment version: 1.01, Minimum compatible version: 1.00

    X: Deployment version: 1.2, Minimum compatible version: 1.00 (incorrect, because these two numbers have different lengths in the second segment)

    √: Deployment version: 1.10, Minimum compatible version: 1.09

    X: Deployment version: 1.10, Minimum compatible version: 1.9 (incorrect, because these two numbers have different lengths in the second segment)

    √: Deployment version: 23.0.0.1, Minimum compatible version: 23.0.0.0

    X: Deployment version: 23.0.1, Minimum compatible version: 23.0.0.0 (incorrect, because these two numbers have different segments)

Available time -- Schedule the time for the deployment version to be accessible to end users.

Expiration time -- Schedule the time for the deployment version to be inaccessible to end users.

If the available time or expiration time is reached and the app is still open, the app will not get updated, until the app is closed or the session times out. Therefore, it is recommended that the session timeout feature should be enabled (for apps deployed via PowerServer) or implemented (for apps deployed via PowerClient).

Version used by the installer > Product version -- Specify the product version (in numeric values) that will be used by Microsoft Installer to determine whether a product needs to be updated.

Version used by the installer > File version -- Specify the file version (in numeric values) that will be used by Microsoft Installer to determine whether a file needs to be updated.

Product name, Company name, Description, Copyright, Product version, File version -- Specify your own values for these fields associated with the application file and with machine-code DLLs. These values become part of the Version resource associated with the application file, and most of them display on the Version tab page of the Properties dialog box for the file in Windows Explorer. The Product and File version string fields can have any format.

The four numbers can be used to represent the major version, minor version, point release, and build number of your product. They must all be present. If your file versioning system does not use all these components, you can replace the unused numbers with zeros. The maximum value for any of the numbers is 65535.


Others

Windows classic style -- Select this to add a manifest file to the application that specifies the appearance of the controls as an application resource.

By default, this option is not selected, which means the Windows flat style is used and the 3D effect of some controls will be removed to have a "flat" look, for example, the 3D lowered border of Column and Computed Field in the DataWindow object, the background color of Button, the BackColor and TextColor of the tooltip, and the TabBackColor of tab header will not take effect. If you still want the 3D effect, you should select the "Windows classic style" option when deploying the application.

Note

If you have applied a theme to the application, you should not check the "Enable Windows Classic Style in the IDE" option in the System Options or the "Windows classic style" option in the project painter and the PB.INI file (if any) should not contain such setting, otherwise, the application UI will be rendered in the Windows classic style instead of the selected theme.


Deploy page

The Deploy page > Basic tab has the following settings:


Option or option group

What you specify

Target server

You can deploy to the following servers/folder:

  • IIS -- Deploy to a local or remote IIS server.

    • Server: Select a server profile. If you have not configured a profile for the IIS server, click the Configuration button and follow the instructions in Configuring a server for deployment to create a server profile.

    • App URL -- The App URL is generated automatically based on the site URL in the profile + [App name], for example, http://localhost/salesdemo_local. This URL will be run by default when you click Run Project from the PowerBuilder IDE after you build & deploy the project using this profile. If you move or deploy the client app to a different site, then you can input the new URL manually in the Web browser.


  • Folder -- Package the app as an executable installer, a zipped file, or a folder, and then manually deploy the app to the server. Refer to Packaging the PowerClient project for more information.

    • If you select Zipped file, an appname.zip file is generated in the specified path. You can copy the zip file to the server and then decompress it to the web root; If you select Executable installer, an appname.exe file is generated in the specified path. You can copy the executable file to the server and then run it to install the application to the web root; if you select Folder, an appname folder is generated in the specified path. You can directly copy files and subfolders from this folder to the web root.

    • Specify the folder (and file) name where the package will be generated. You can select to delete all existing files in the zip/installer/folder before packaging.



The Deploy page > Advanced tab has the following settings:


IMPORTANT: Cloud App Launcher and runtime files are indispensable files that make up the app. Only after you confirm that these files already exist in the server, you can choose to not upload these files. Otherwise, any missing file may cause the app to fail to run.

Option or option group

What you specify

Cloud App Launcher

Select whether to deploy/package the Cloud App Launcher.

You can click Configuration to customize the cloud app launcher. For how to customize the cloud app launcher, refer to Customize cloud app launcher.

Runtime files

Select whether to deploy/package the runtime files.

The runtime files compatible with the selected platform (32-bit or 64-bit) of the client app will be deployed or packaged.

apprun.json

Select whether to deploy/package the apprun.json file.

apprun.json specifies the location of launcher and runtime. It is used by the client app to download the launcher and runtime.

{
    "deployment_urls": {
        "launcher": "CloudAppPublisher/CloudAppInstall V3",
        "runtime": "CloudAppPublisher/runtime/25.0.0.3522"
    }
}

The launcher URL and the runtime URL can be relative URLs (without the site/domain name) or complete URLs (including the site/domain name).