Distributing Your Application: 2 Package Description File

Up: GEOS SDK TechDocs | Up | Prev: 1 Preparing Your Application | Next: 3 Setting Up a PC Server

No matter how you're making your program available, you'll need to provide a "package description file," sometimes known as the . INS file. This is an ASCII text file which specifies important information about the files that make up your program:

This installation order is important in case of interrupted installation--if file A depends upon file B , but installation was interrupted after file A was brought over, but before file B was, then file A won't work, since it depends on an absent file. If another package is relying upon an older, successfully installed version of file A , then you've just broken that other file.

Use the following format when creating the package description file:

The line-pairs describing file locations must be ordered based upon the order in which the files should be installed. Libraries, fonts, etc. must be listed before the applications that depend on them.

Sample Package Description File

This example shows a package description file for the Santa package. On the host machine, the package description file is in the C:\NSERVER directory, and the files making up the package are in the C:\NSERVER\SANTA directory. The Santa application depends on the Sleigh library, and the Rudy font; the Sleigh library depends on the Donner and Blitzen libraries.

GEOS Package Description File v1.0

Santa v1.0
Gives gifts.
15769
.

santa\rudy.fnt
userdata\font\rudy.fnt
santa\donner.geo
system\donner.geo
santa\blitzen.geo
system\blitzen.geo
santa\sleigh.geo
system\sleigh.geo
santa\santa.geo
world\extrapps\santa.geo

Up: GEOS SDK TechDocs | Up | Prev: 1 Preparing Your Application | Next: 3 Setting Up a PC Server