MSI Factory 2.3

MSI.EvaluateCondition

MSI.EvaluateCondition

This is the first topic This is the last topic  

MSI.EvaluateCondition

This is the first topic This is the last topic  

OverviewExamples

number MSI.EvaluateCondition (

number hInstall,

string Condition )

Example 1

ConditionResult = MSI.EvaluateCondition(_hInstall, "ProductType=\"Trial\"");

 

if (ConditionResult == MSICONDITION_TRUE) then

   Dialog.Message("Condition Result", "This product is the trial version.");

else

   Dialog.Message("Condition Result", "This product is not the trial version.");

end

Checks to see if the property named "ProductType" is equal to the string "Trial" and shows a dialog message if it evaluates to true.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us