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.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/wixext/BalCompiler.cs b/src/wixext/BalCompiler.cs
index dfe29bde..03b74e57 100644
--- a/src/wixext/BalCompiler.cs
+++ b/src/wixext/BalCompiler.cs
@@ -104,6 +104,23 @@ namespace WixToolset.Bal
104 { 104 {
105 switch (attribute.Name.LocalName) 105 switch (attribute.Name.LocalName)
106 { 106 {
107 case "DisplayInternalUICondition":
108 switch (parentElement.Name.LocalName)
109 {
110 case "MsiPackage":
111 case "MspPackage":
112 var displayInternalUICondition = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attribute);
113 section.AddTuple(new WixBalPackageInfoTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, packageId))
114 {
115 PackageId = packageId,
116 DisplayInternalUICondition = displayInternalUICondition,
117 });
118 break;
119 default:
120 this.ParseHelper.UnexpectedAttribute(parentElement, attribute);
121 break;
122 }
123 break;
107 case "PrereqLicenseFile": 124 case "PrereqLicenseFile":
108 125
109 if (!this.prereqInfoTuplesByPackageId.TryGetValue(packageId, out prereqInfo)) 126 if (!this.prereqInfoTuplesByPackageId.TryGetValue(packageId, out prereqInfo))