Information
Space banner This version of the product is in limited support. However, the documentation is available for your convenience. You will not be able to leave comments.

The Contents node


The Contents node provides you with a list of the contents of the package, through which you can verify that the package is complete and provides you with access to the scripts included with the packages for possible modifications.

This topic includes:

Adding files to a package

After having defined all installation options through the contents of the Configuration and Contents nodes, the RPM package is created. You can add now files to this package which will then be sent to the targets for installation. To add files, proceed as follows:

  1. Click Edit> Add Files to Packagefilestozip_add.png.
    The RPM Packages dialog box appears.
  2. The Add Files tab provides the list of all available drives through which you can go down in their hierarchy to select the files to be added to the .zip file.
  3. Click OK at the bottom of the window to confirm the additions or Cancel to stop and close the window.

Files for a custom package

Below the Files node you can see all files contained in the package in their tree hierarchy of all directories. When selecting a directory in the left window pane, the table in the right pane displays the information about the files contained in that specific directory.

Adding Files to the custom package

To add files to the custom package proceed as follows:

  1. Select Edit> Add Filefile_add.png.
    An Add Files dialog box appears on the screen providing the list of all available drives.
  2. Go down in their hierarchy to select the files to be added to the package.
  3. Click OK at the bottom of the window to confirm the additions or Cancel to stop and close the window.

Mapping Files to a different location at the target

To map a file or directory to another target location or to modify an existing mapping, proceed as follows:

  1. In the Mapping tab select Edit> Mapmapping_add.png.
    The Mapping window opens on the screen.
  2. Enter the source and destination paths into the respective text boxes or modify them.

    Information

    You can enter the path as a relative or complete path and it is possible to use environment variables as well.

  3. Click OK at the bottom of the window to confirm the mapping or Cancel to stop and close the window.

Files for an MSI package

The Files node for MSI packages displays all files in their directory structure which are contained in the original package. No file can be added here.

Below the Files node you can see a tree hierarchy of all directories and files contained in the MSI package. When selecting a directory in the left window pane, the table in the right pane displays the information about the files contained in that specific directory.

The Additional Files node

Through the Additional Files node you can add extra files to the package which are needed by the MSI package for its installation, no other files can be added here.

Scripts

The Scripts subnode of the Contents node of all different types of packages of allows you to edit the default scripts which are included with the package to be executed at a specific time during installation.

The Scripts node has the following subnodes:

  • Pre-Install Script
    The preinstall.chl will be executed before the installation. This script is automatically created when the package is created. By default it already contains a number of predefined procedures, such as error handling. If you intend to use it, don't forget to provide the error information at the respective location.
  • Post-Install Script
    The postinstall.chl will be executed after the installation. This script is automatically created when the package is created. By default it already contains a number of predefined procedures, such as error handling. If you intend to use it, don't forget to provide the error information at the respective location.

Editing a script

To edit an existing or newly created script, proceed as follows:

  1. Select the script to edit in the left window pane.
    The right window pane will open as a normal text editor.
  2. Create/Edit the script in the right window pane.
  3. After you finish the script and return to another point in the console, the console will try to compile the script to verify it is correct.
    If it is not correct an error message appears.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Client Management 12.9