@joebigelow / wix-1 / commits / 7ed30050

Move PermissionEx\Condition inner text to Condition attribute

Rob Mensching committed Jun 22, 2020 at 23:12 UTC 7ed30050420916896f78841e35b80bb152bd38d1
1 file changed +4 -1
src/WixToolset.Core/Compiler_2.cs
+4 -1
@@ -1208,6 +1208,9 @@ namespace WixToolset.Core
1208 case "Id":
1209 id = this.Core.GetAttributeIdentifier(sourceLineNumbers, attrib);
1210 break;
1211 + case "Condition":
1212 + condition = this.Core.GetAttributeValue(sourceLineNumbers, attrib);
1213 + break;
1214 case "Sddl":
1215 sddl = this.Core.GetAttributeValue(sourceLineNumbers, attrib);
1216 break;
@@ -1264,7 +1267,7 @@ namespace WixToolset.Core
1267 {
1268 LockObject = objectId,
1269 Table = tableName,
1267 - SDDLText =sddl,
1270 + SDDLText = sddl,
1271 Condition = condition
1272 });
1273 }