diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-05-16 21:53:44 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-05-16 22:01:33 +1000 |
commit | abfe02f2e31480f2cfb72b3daa641d7e723448d9 (patch) | |
tree | 5d485ce1a3475a838386cc014a7a0707a52245aa /src/wixext/BalCompiler.cs | |
parent | bb7b3dc1bc20629e04014b3f049cc30625a1a06c (diff) | |
download | wix-abfe02f2e31480f2cfb72b3daa641d7e723448d9.tar.gz wix-abfe02f2e31480f2cfb72b3daa641d7e723448d9.tar.bz2 wix-abfe02f2e31480f2cfb72b3daa641d7e723448d9.zip |
WIXFEAT:6164 Implement DisplayInternalUICondition.
Diffstat (limited to 'src/wixext/BalCompiler.cs')
-rw-r--r-- | src/wixext/BalCompiler.cs | 17 |
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)) |