Creating Information Files and Installation Scripts (Task Map)
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. |
How to Define Package Dependencies |
|
Write a copyright message A copyright file provides legal protection
for your software application. |
How to Write a Copyright Message |
|
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. |
How to Reserve Additional Space on a Target System |
2. Create installation scripts |
Obtain information from the installer A request script enables you to obtain information from
the person installing your package. |
How to Write a request Script |
|
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. |
How to Gather File System Data |
|
Write procedure scripts Procedure scripts enable you to provide customized installation instructions during specific
phases of the installation or removal process. |
How to Write Procedure Scripts |
|
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. |
How to Write Class Action Scripts |