Deployment Tools Foundation
EvaluateCondition Method (condition, defaultValue)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Session ► EvaluateCondition(String, Boolean)
Evaluates a logical expression containing symbols and values, specifying a default
value to be returned in case the condition is empty.
Declaration Syntax
Return ValueThe result of the condition evaluation
RemarksWin32 MSI API: MsiEvaluateCondition
Exceptions| Exception | Condition |
|---|---|
| InvalidHandleException | the Session handle is invalid |
| SyntaxErrorException | the conditional expression is invalid |