Running Actions

The installer functions can be used to run specific actions or action sequences. These actions can either be standard or custom actions. The following procedure describes how to run actions:

Aa371376.wedge(en-us,VS.85).gifTo 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 will process the error.