Packaging WebBrowser

If the WebBrowser control is used in the application, you need to select the "WebBrowser Support" option in the PowerBuilder Runtime Packager to package the required files into the PowerBuilder runtime installer.

The Runtime Packager automatically packages the files according to the selected WebView2 Runtime version.

  • If your application uses WebView2 Evergreen Runtime, only pbwebbrowser.dll and webbrowserapi.tlb will be packaged.

  • If your application uses WebView2 Runtime Fixed Version, pbwebbrowser.dll, webbrowserapi.tlb, and all of the files in the "PBWebView2" folder will be packaged.

    The location of the "PBWebView2" folder is shown in the Application painter > General tab page > Additional Properties button > WebBrowser tab. Make sure you have downloaded the Fixed Version of the WebView2 Runtime (from https://developer.microsoft.com/en-us/microsoft-edge/webview2/) to the folder.

    For more, refer to Choosing a WebView2 runtime version.


If you want to manually package the PowerBuilder runtime files, please go to the PowerBuilder Runtime location and get the runtime files required for the WebBrowser control.