| |
| ..Package Components | 26 |
| ....Required Package Components | 28 |
| ....Optional Package Components | 29 |
| ....Package Objects | 30 |
| ..A Package Creation Scenario | 31 |
| ....Assigning a Package Abbreviation | 33 |
| ....Defining a Package Instance | 33 |
| ....Defining Object Classes | 35 |
| ....Defining Package and Object Locations | 37 |
| ....Writing Your Installation Scripts | 39 |
| ....Creating the pkginfo File | 39 |
| ....Defining Package Dependencies | 40 |
| ....Writing a Copyright Message | 41 |
| ....Reserving Additional Space on the Installation Machine | 41 |
| ....Distributing Packages over Multiple Volumes | 42 |
| ....Creating the prototype File | 42 |
| ....Creating a Package with pkgmk | 49 |
| ....Transferring the Package to the Media with pkgtrans | 52 |
| ..Installation Scripts | 54 |
| ....The Request Script | 59 |
| ....The Procedure Script | 60 |
| ....The Class Action Script | 61 |
3. Installing and Checking Packages | 69 |
| ..The Installation Software Database | 70 |
| |
| ..Installing Software Packages | 71 |
| .....Interacting with pkgadd | 71 |
| .....Installing Packages for Clients on a Server | 72 |
| ..Checking Installation Accuracy | 73 |
| .....Displaying Information About Installed Packages | 74 |
4. Creating Icons and Package Clusters | 79 |
| ..Creating an Icon for Your Application | 79 |
| ..Using Clusters | 79 |
| .....Contents and Order Files | 80 |
A. Packaging Guidelines | 83 |
| ..Optimize for Client-Server Configurations | 83 |
| ..Package by Functional Boundaries | 83 |
| ..Package Along Royalty Boundaries | 84 |
| ..Package by Machine Dependencies | 84 |
| ..Overlap in Packages | 84 |
| ..Sizing Considerations | 84 |
| ..Localization Software Packaging Guidelines | 84 |
B. Packaging Case Studies | 85 |
| ..Introduction | 85 |
| .....Case #1: Using a request Script | 85 |
| .....Case #2: Using Classes, Class Action Scripts, and the space |
| .......File | 90 |
| .....Case #3: Using copyright, compver, and depend Files . | 94 |
| .....Case #4a: Using the sed Class and a postinstall Script | 96 |