

Deployment Tools Foundation
EvaluateCondition Method (condition)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Session ► EvaluateCondition(String)
Evaluates a logical expression containing symbols and values.

C# | Visual Basic | Visual C++ | F# |
public bool EvaluateCondition( string condition )
Public Function EvaluateCondition ( condition As String ) As Boolean
public: bool EvaluateCondition( String^ condition )
member EvaluateCondition : condition : string -> bool

- condition (String)
- conditional expression

Boolean
The result of the condition evaluation
The result of the condition evaluation

Win32 MSI API: MsiEvaluateCondition

Exception | Condition |
---|---|
InvalidHandleException | the Session handle is invalid |
ArgumentNullException | the condition is null or empty |
InvalidOperationException | the conditional expression is invalid |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)