Fame Glow Feed

Premium fame highlights with sleek curation.

news

Pre-install script and post-install script - Documentation for BMC Client Management 12.6

Writer Matthew Cannon

This section provides information about pre-install and post-install scripts.

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.

  1. You can directly create and edit the script in the provided panel.
  2. To verify that the script compiles click Compile Script  at the top of the panel.
    Any compilation errors that might occur are displayed in the following panel.
  3. Click Next to continue.

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.

  1. You can directly create and edit the script in the provided panel.
  2. To verify that the script compiles click Compile Script at the top of the panel.
    Any compilation errors that might occur will be displayed in the following panel.
  3. Click Next to continue.

For sample pre-install and post-install scripts, see pre-install script and post-install script.