Previous Topic: Conventions for Patch PackagesNext Topic: Components of PIF Products


Virtual Packages and Alias Names

Within a PIF product, for example, PROD1, you can specify alias names of other PIF or RPM packages (virtual packages), whose functionality or services are covered by the PROD1 product. The alias names can include, for example, the previous name of PROD1, if it has been renamed recently, or the names of packages that were merged in the product PROD1.

The use of alias names separates names of physical packages and names of logical services. This allows renaming packages without losing dependency information.

During installation of PROD1 the dependency check evaluates the list of alias names and resolves dependencies to these packages. So the Installer prevents a service or package being removed from the system if any product still requires this service or the service the package provides.

You specify alias names in the @PRODUCT section of the prototype file using the #vname keyword, or on the Advanced tab of the Packager GUI.

Example:

Three different product packages provide the internationalization service: "CAWIN", "ca-cs-cawin", and "CAI18N". When you define the alias name "CAWIN" inside each of the three packages, none of those packages will be removed from the system as long as there are products that require the "CAWIN" internationalization service.