The 2 conditions to check for DOTNET will return false when they should return true.
I did get them too worked. In order for the DOTNET conditions to work from the html host control I added the condition (AI_DETECTED_DOTNET_VERSION >= "2.0") to any control in the dialog. It does not matter what version or if it returns true or false in the dialog control condition.
I believe this is a bug since the "external.MsiEvaluateCondition('VersionNT >= 602 AND MsiNTProductType <> 1');" works without any issues. It does not need a condition to exist in a dialog control. Please confirm.
- external.MsiEvaluateCondition(aCondition):
var OsResult = external.MsiEvaluateCondition('VersionNT >= 602 AND MsiNTProductType <> 1');
var Net35Result = external.MsiEvaluateCondition('AI_DETECTED_DOTNET_VERSION >= "3.5"');
var Net40Result = external.MsiEvaluateCondition('AI_DETECTED_DOTNET_VERSION >= "4.0"');
Diego
FOLLOW US
Get the latest news in Application Packaging