Application Packaging Developer's Guide
  Buscar sólo este libro
Descargar este libro en 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 17
....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 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
......Case #4b: Using Classes and Class Action Scripts 99
......Case #4c: Using the build Class 102
......Case #5: Using crontab in a Class Action Script 104
......Case #6: Installing a Driver 108
......Case #7:Using the sed Class and postinstall and
........preremove Scripts 111

Glossary
123