[This is preliminary documentation and subject to change.]
The installer calls scripts by creating a separate process at user privilege. Script custom actions return the full set of return values described in Custom Action Return Values. The installer does not provide the script engine but can use it if it is installed. Authors wishing to make use of a scripting language during installation should be certain that the appropriate scripting engine is available.
The following options can be specified for a script custom action as described in Custom Action Types.
The script file can be:
Script custom actions can only be executed synchronously. Custom actions can be scheduled to run during rollback as described in Deferred Execution of Custom Actions.