As specified in the requirements, the application MERCHANT is a database application using the Ingres Enterprise Relational Database (Ingres). Therefore, Ingres must be installed before the PIF product MERCHANT is installed.
To ensure the product MERCHANT is installed only if an appropriate Ingres database exists on the system, you must define a dependency in the prototype file. The highlighted new line in the product information section specifies the dependency and the required product, 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 name of the required product is Ingres. The version number 4.0.0.0 in combination with the subsequent operator >= specifies that the required Ingres product version must be greater than or equal to 4.0.0.0. The Installer checks if an appropriate Ingres version is installed on the target computer before installing the product MERCHANT.
To define dependencies through the command line add the new #pdep: line to the prototype file, using any text editor.
To define dependencies through the Packager GUI
The Product dependency dialog appears.
Product name: Ingres
Product version: 4.0.0.0
Dependency type: Mandatory
Operator: >=
The dependency specification is incorporated in the prototype file.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|