Previous Topic: Usage of Non-shell ScriptsNext Topic: Scripts Timer Modification


Usage of Scripts with Parameters

You can use parameters with your script to execute during product installation, for example, to set values for the script or to control script execution. The parameter values you pass to the script may determine which part of the script to execute. Parameter values can be passed to the script as shell parameters, script arguments, or a response file.

To update parameters in shell scripts, use a response file to pass the parameter values to the script. The response file must contain all modified parameters. The Installer evaluates the response file and uses the modified parameter values during the remainder of the installation process. The name of the corresponding response file is referred to in the script through the internal parameter $PIF_RESPONSE_FILE. Updated parameters must be appended to this response file.

Changes made to shell parameters are ignored.

Important! When a product is updated, the value of the installation path parameter cannot be changed. The pre-install script can change only the component install flag.