From 6241bbf88e61f07816ea8fd028d7aaeba6bc524e Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sat, 26 Sep 2020 20:31:50 -0400 Subject: Last bit of inner text expunged. --- src/wixext/BalCompiler.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/wixext') 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 private void ParseConditionElement(Intermediate intermediate, IntermediateSection section, XElement node) { var sourceLineNumbers = this.ParseHelper.GetSourceLineNumbers(node); - var condition = this.ParseHelper.GetConditionInnerText(node); // condition is the inner text of the element. + string condition = null; string message = null; foreach (var attrib in node.Attributes()) @@ -292,6 +292,9 @@ namespace WixToolset.Bal case "Message": message = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); break; + case "Condition": + condition = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); + break; default: this.ParseHelper.UnexpectedAttribute(node, attrib); break; -- cgit v1.2.3-55-g6feb