Application Packaging Developer's Guide

ProcedureHow to Write Procedure Scripts

  1. Make the directory that contains your information files the current working directory.

  2. Create one or more procedure scripts with your favorite text editor.

    A procedure script must be named one of the predefined names: preinstall, postinstall, preremove, or postremove.

  3. Save your changes and quit the editor.

  4. Complete one of the following tasks.

  5. Build your package.

    See How to Build a Package, if needed.

See Also

After you build the package, install it to confirm that it installs correctly and verify its integrity. Chapter 4, Verifying and Transferring a Package explains these tasks and provides step-by-step instructions on how to transfer your verified package to a distribution medium.