The following task map describes the optional features you can build into a package.
Table 3–1 Creating Information Files and Installation Scripts (Task Map)
Task |
Description |
For Instructions |
---|---|---|
1. Create information files |
Define package dependencies A definition of package dependencies allows you to specify whether your package is compatible with previous versions, dependent on other packages, or whether other packages are dependent on yours. | |
Write a copyright message A copyright file provides legal protection for your software application. | ||
Reserve additional space on the target system. A space file sets aside blocks on the target system, which enables you to create files during installation that are not defined in the pkgmap file. | ||
2. Create installation scripts |
Obtain information from the installer A request script enables you to obtain information from the person installing your package. | |
Gather file system data needed for installation A checkinstall script enables you to perform an analysis of the target system and set up the correct environment for, or cleanly halt, the installation. | ||
Write procedure scripts Procedure scripts enable you to provide customized installation instructions during specific phases of the installation or removal process. | ||
Write class action scripts Class action scripts enable you to specify a set of instructions to be executed during package installation and removal on specific groups of package objects. |