Previous Topic: Requirements and Specifications of the UNIX Application MERCHANTNext Topic: Define Dependencies for the PIF Product MERCHANT


Create the Prototype File and Specify Product Information for the PIF Product MERCHANT

The first step to building the PIF product MERCHANT is to create the prototype file that will contain the complete product definition. Following the naming conventions for prototype files and the requirements of the application, the name of the prototype file for the sample PIF product MERCHANT is as follows:

MERCHANT.Any.@prm

To create the prototype file, open a text editor in your current working directory and save the (empty) file with this name.

Enter the product information section as follows:

@PRODUCT:
#phead: MERCHANT , 2.1.0.0 ;
#sys: Any ;
#locale: ENU ;
#comment: This is an example for a PIF product ;
#ppath: /home/merchant ;
@ENDPROD:

The product information section defines the following product properties:

#phead: MERCHANT , 2.1.0.0 ;

Defines the PIF product name MERCHANT and the PIF product Version 2.1.0.0.

#sys: Any ;

Defines the operating environment on which the PIF product can be installed. In this case, Any states that the PIF product MERCHANT can be installed on any UNIX/Linux operating environment.

#locale: ENU ;

Defines the default locale of the PIF product MERCHANT. As a default setting, use the string ENU (English/US).

#comment: This is an example for a PIF product ;

After the keyword #comment you can enter any text to describe the product.

#ppath: /home/merchant ;

The PIF product MERCHANT will be installed in the directory /home/merchant on the target computer. This directory is created automatically during the product installation.

To create the prototype file for the PIF product MERCHANT including product information through the command line, execute the pifproto command, as follows:

pifproto -b /home/merchant -a Any -n MERCHANT -v 2.1.0.0

To create the prototype file for the PIF product MERCHANT including product information using the Packager GUI

  1. Run the smgui command to launch the Packager GUI.
  2. Select File, New from the menu bar.

    The New product dialog appears.

  3. Enter the product name MERCHANT, the version 2.1.0.0, and the platform identification Any.