Application Packaging Developer's Guide

Package Components

The components of a package fall into two categories.

The control files are also divided into two categories: information files and installation scripts. Some control files are required. Some control files are optional.

To package your applications, you must first create the required components, and any optional components, that make up your package. You can then build the package by using the pkgmk command.

To build a package, you must provide the following:

The following figure describes the contents of a package.

Figure 1–1 The Contents of a Package

The preceding context and the following context describe
the graphic.

Required Package Components

You must create the following components before you build your package:

Optional Package Components

Package Information Files

You can include four optional package information files in your package:

Each package information file should have an entry in the prototype file. See Creating Information Files for more information on creating these files.

Package Installation Scripts

Installation scripts are not required. However, you can provide scripts that perform customized actions during the installation of your package. An installation script has the following characteristics:

The four script types are as follows:

See Creating Installation Scripts for a more information on installation scripts.