PowerBuilder Runtime Packager
The PowerBuilder Runtime
Packager is a tool that packages the PowerBuilder files an application
needs at runtime into a Microsoft Windows Installer (MSI) package
file. Windows Installer is an installation and configuration service
that is installed with more recent Microsoft Windows operating systems.
You must have Microsoft Windows Installer on your system in
order to run the RuntimePackager successfully. Microsoft provides
a redistributable package for installation and upgrade on Windows
2000. The Installer is always available
on Windows XP and Windows 2003.
To get more information and to obtain the latest version of
Windows Installer, see Windows Installer in the MSDN Library
.
The Runtime Packager is intended for use with client applications
installed on Windows systems. It does not package the files required
if your application exports data as PDF, or if it uses the DataWindow
Web control for ActiveX or a plug-in. Make sure that you read the
sections referenced in Table 41-2 that apply to your application
before using the Runtime Packager.
To use the PowerBuilder Runtime Packager:
-
Select Programs>Sybase>PowerBuilder
10.0>PowerBuilder Runtime Packager from the Windows Start
menu or launch the pbpack100 executable file
in your SharedPowerBuilder directory. -
Select a location for the generated MSI file.
-
Select the database interfaces your application
requires.The DLLs for the database interfaces you select are added
to the package. For ODBC, the pbodb100.ini file
is also added. For JDBC, the pbjdbc12100.jar and pbjvm100.dll files
are also added. The Java Runtime Environment (JRE) is not added.
For more information, see “JDBC database interface”.Other ODBC or OLE DB files your application may require, such
as DataDirect drivers, are not added. For information about deploying
these files, see “ODBC database drivers and
supporting files” and “OLE DB database providers”. -
If your application uses DataWindow XML export
or import, check the XML support check box.The Runtime Packager adds PBXerces100.DLL and xerces-c_2_1_0.dll to the
package -
If your application uses the XML services provided
by the PowerBuilder Document Object Model, or if it is an EJB or
SOAP Web services client, select the appropriate check boxes.The Runtime Packager adds the DLLs and JAR files required
to the package. For more information about the files required for
extensions, see “PowerBuilder extensions”. -
Click Create.
The Runtime Packager creates an MSI file that includes the
files required by the components you selected, as well as the following
PowerBuilder runtime DLLs:- libjcc.dll
- libjlog.dll
- pbacc100.dll
- pbdwe100.dll
- pbdwr100.dll
- pbdwr100.pbd
- pbjag100.dll
- pbjvm100.dll
- pbrtc100.dll
- pbshr100.dll
- pbtra100.dll
- pbvm100.dll
The MSI file is a compressed file that can be executed directly
on any Windows platform. It registers any self-registering DLLs,
adds the installation destination path to the Windows Registry,
sets the system PATH environment variable, and adds information
to the Registry for the Install/Uninstall page in the Windows
Control Panel. It can also be used in some third-party installation
software packages.