Deploying the Web ActiveX

CAB file for deployment

The PowerBuilder Setup program installs the PSDWC125.CAB file in the Sybase\Shared\PowerBuilder directory. This CAB file contains files and information the client Web browser (Internet Explorer) needs for installing the Web ActiveX and the Transaction Object control. The CAB file includes:

The browser manages installation of the ActiveX controls using the information in the CAB file. It installs the controls in the system registry and maintains its Java class path. If your Web ActiveX control uses a PSR file, you need only to tell the browser how to find the CAB file.

StepsTo make the Web ActiveX and Transaction Object control available to users:

  1. Put the CAB file on your Web server.

    If the Web server uses Internet Infomation Services (IIS) 6.0, you need to configure IIS to recognize the .pbl, .pbd, and .psr extensions as MIME types. See “Adding MIME types to IIS 6.0”.

  2. Refer to the CAB file on the Web page in the CODEBASE attribute of the Object element.

If your Web page uses a JDBC connection, the Web ActiveX has additional deployment requirements:

Deploying a new version

The version number in the value of the CODEBASE attribute determines whether the browser downloads and installs a new version of the ActiveX controls. The browser compares the version number in the CODEBASE value with the version of the controls that is installed in the system registry. If the version numbers do not match, the browser downloads the CAB file again and installs it.

StepsTo deploy the new CAB file when you get a new version of PowerBuilder:

  1. Find the new version number by checking the version number of any PowerBuilder DLL (as described in “HTML for inserting the controls on a Web page”).

  2. Edit the Web pages that refer to the CAB file. Change the version number in the CODEBASE attribute to match the new number.

  3. Replace the CAB file on the Web server with the new version.