The ExternalDependence section of the info.sxp archive file can have the following entries:
|
Target_computer_1,Archive_name_1 operator_1 version_1 |
optional |
|
: |
|
|
Target_computer_1,Archive_name_n operator_n version_n |
optional |
|
|
|
The ExternalDependence section describes dependencies of the product on other products on other (“external”) target computers. In this section, you can create multiple entries specifying dependencies. All entries in this section are optional.
Indicates the name of the other “external” target computer containing the required product. The name of the target computer has the following criteria:
Specifies the name of the package as it appears in the Packager's product archive (maximum 32 bytes).
Specifies, in connection with a version number, when to install the product. The following operators are permitted:
|
= |
Installation, when this version of the product is installed. |
|
> |
Installation, when a later version of the product is installed. |
|
< |
Installation, when an earlier version of the product is installed. |
|
>= |
Installation, when this version or a later version of the product is installed. |
|
<= |
Installation, when this version or an earlier version of the product is installed. |
|
! |
Each of the above operators can be negated by prefixing it with an exclamation point (!). |
When the exclamation point (!) is used as operator, a condition is regarded as true, even if the product is not installed on the target computer. Use the exclamation point (!) operator if the installation is not to be performed when the two versions are compared.
Example: prod_a !<= 2000 specifies that the product is not installed if version 1000 to 2000 of prod_a is installed on the target computers. If prod_a is not installed or if the version is > 2000, the new product is installed.
The operator must be enclosed in blanks (spaces)!
Specifies the version of a product with dependencies (range: 1000 - 9999).
Note: In products that have been migrated from an earlier Software Delivery version, an additional parameter may appear in entries before “Target_computer“, separated by a comma. This parameter is obsolete and is no longer evaluated.
Example: Specify that a client component is installed only when a server component of version 1000 is installed on the application server
In a client-server application, the client component, Xclient, should be installed only when the accompanying server component, Xserver, of version 1000 is installed on the application server with the unique name ApplsServer1.
As a prerequisite to install the client component Xclient as an SXP product on the target computer, the server component Xserver must have been installed also as an SXP product on the target computer ApplsServer1.
To specify this dependency, insert the following line in the info.sxp archive file of the Xclient product:
#ExternalDependence# ApplsServer1,Xserver = 1000
| Copyright © 2014 CA Technologies. All rights reserved. |
|