Managing pre-install script and post-install script
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.
- You can directly create and edit the script in the provided panel.
- 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. - 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.
- You can directly create and edit the script in the provided panel.
- 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. - Click Next to continue.
For sample pre-install and post-install scripts, see
and .