MSI.EvaluateCondition

number MSI.EvaluateCondition ( 

number hInstall,

string Condition )

Description

Calls the MsiEvaluateCondition function that evaluates a conditional expression containing property names and values.

Parameters

hInstall

(number) The handle to the install.

Note:  _hInstall is the default for this parameter. See Global Variables for more information.

Condition

(string) The conditional expression to use. See Conditional Statement Syntax for more information on how to set up a proper condition.

Returns

(number)  One of the following numbers will be returned. You can use Application.GetLastError to determine whether this action failed, and why.

CONSTANT

VALUE

DESCRIPTION

MSICONDITION_FALSE

0

Expression evaluates to False

MSICONDITION_TRUE

1

Expression evaluates to True

MSICONDITION_NONE

2

No expression present

MSICONDITION_ERROR

3

Syntax error in expression

See also:  Related Actions