Previous Topic: File Selection PropertiesNext Topic: Components Properties Pane


Add Components to a PIF Package

A component is a logical part of a package and contains package files, directories and symbolic links. The component type determines the installation behavior of the component.

To add a component to a PIF package

  1. Select the package in the project pane.
  2. Select the Components tab in the subproject pane.

    The components of the package are listed in the subproject pane.

  3. Right-click within this list and select Add from the context menu.

    The Package component dialog appears.

  4. Enter information about the component on the General tab, as follows:
    Name

    Gives the name of the component.

    Component type

    Describes the type of component. Select one of the component types from the following list:

    • Standard—A standard component is any component other than one of the special components mentioned following. A standard component contains items to be processed during the main part of the PIF package installation. Usually, the package files are contained in this type of component.
    • Pre install—A pre-installation component hosts all resources used before the PIF package installation, for example, pre-installation scripts, graphics used for installation dialogs, and text resource files used by pre-install scripts. You can define several pre-installation components with the same name but different languages. Therefore, you can choose a language from the drop-down list.
    • Language specific—A language-specific component contains language-specific files, such as manual pages, help files, and language-specific graphic files. A language-specific component is installed when the system locale $LANG matches the language identifier of the component. For example, a language-specific component with the language identifier ENU is installed on a target computer where $LANG is set to "en_US" or "en". You can define several language-specific components with the same name but different languages. Therefore, you can choose a language from the drop-down list.
    • Platform specific—A platform-specific component contains platform-specific files.

      For example, a shared library on HPUX has the file extension .sl. On other UNIX platforms the extension is .so. Therefore, you can add two platform-specific components to the PIF package. The first stores the HP library with the extension .sl, the second component stores the library with the extension .so.
      You can define several platform-specific components with the same name but different platforms. Therefore, you can select a platform from the drop-down list.

  5. Click Add.

    The component is added to the package. A new entry is displayed in the components list.