Running Actions

[This is preliminary documentation and subject to change.]

You can use the installer functions to run specific actions or to instigate action sequences. These actions can be standard actions, which ship with the installer, or they can be custom actions. The following procedure describes how to run actions:

    To run an action sequence
  1. Run a sequence of actions defined in a table by calling the MsiSequence function.

    The installer queries the indicated table and runs each action if its conditional expression evaluates to TRUE.

  2. Check conditional expressions by calling the MsiEvaluateCondition function.
  3. Run the action by calling the MsiDoAction function. The action can be a standard action, a custom action, or a user interface dialog box.
  4. If an error occurred during the execution of this action, call the MsiProcessMessage function. The installer then processes the error.