Application Packaging Developer's Guide
  Search only this book
Download this book in PDF

............................Contents


1. Distributing Software on CD-ROM
1
..Introduction 1
..Manufacturing a CD-ROM 2
....Documentation 4
....CD-ROM Packaging 5
..Putting Your Software on CD-ROM 8
....File System Formats 12
..Installing Software from CD-ROM 15
....Software Packaging 16
..Using Rock Ridge to Create a CD-ROM 18
....CD-ROM File System Creation Procedure 18

2. Application Packaging
21
..What Are Packages? 21
..Licensing Considerations for Packages 23
..Installation Media 24
..Package Components 24
....Required Package Components 27
....Optional Package Components 28
....Package Objects 29
..A Package Creation Scenario 30
....Assigning a Package Abbreviation 32
....Defining a Package Instance 32
....Defining Object Classes 34
....Defining Package and Object Locations 36
....Writing Your Installation Scripts 37
....Creating the pkginfo File 38
....Defining Package Dependencies 39
....Writing a Copyright Message 40
....Reserving Additional Space on the Installation Machine 40
....Distributing Packages over Multiple Volumes 40
....Creating the prototype File 40
....Creating a Package with pkgmk 47
....Transferring the Package to the Media with pkgtrans 50
..Installation Scripts 52
....The Request Script 56
....The Procedure Script 58
....The Class Action Script 59

3. Installing and Checking Packages
65
..The Installation Software Database 66
..Installing Software Packages 67
.....Interacting with pkgadd 67
.....Installing Packages for Clients on a Server 68
..Checking Installation Accuracy 69
.....Displaying Information About Installed Packages 70

4. Using Software Manager
75
..Installing Software 75
..Creating an Icon for Your Application 78
..Using Clusters 78
.....Contents and Order Files 78

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 89
.....Case #3: Using copyright, compver, and depend Files . 93
......Case #4a: Using the sed Class and a postinstall Script 95
......Case #4b: Using Classes and Class Action Scripts 98
......Case #4c: Using the build Class 101
......Case #5: Using crontab in a Class Action Script 103
......Case #6: Installing a Driver 107
......Case #7:Using the sed Class and postinstall and
........preremove Scripts 110

Glossary
121