aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/BalCompiler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/BalCompiler.cs')
-rw-r--r--src/wixext/BalCompiler.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wixext/BalCompiler.cs b/src/wixext/BalCompiler.cs
index c836adbe..484dd9e4 100644
--- a/src/wixext/BalCompiler.cs
+++ b/src/wixext/BalCompiler.cs
@@ -280,7 +280,7 @@ namespace WixToolset.Bal
280 private void ParseConditionElement(Intermediate intermediate, IntermediateSection section, XElement node) 280 private void ParseConditionElement(Intermediate intermediate, IntermediateSection section, XElement node)
281 { 281 {
282 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(node); 282 var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(node);
283 var condition = this.ParseHelper.GetConditionInnerText(node); // condition is the inner text of the element. 283 string condition = null;
284 string message = null; 284 string message = null;
285 285
286 foreach (var attrib in node.Attributes()) 286 foreach (var attrib in node.Attributes())
@@ -292,6 +292,9 @@ namespace WixToolset.Bal
292 case "Message": 292 case "Message":
293 message = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); 293 message = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib);
294 break; 294 break;
295 case "Condition":
296 condition = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib);
297 break;
295 default: 298 default:
296 this.ParseHelper.UnexpectedAttribute(node, attrib); 299 this.ParseHelper.UnexpectedAttribute(node, attrib);
297 break; 300 break;