aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Symbols
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Symbols')
-rw-r--r--src/wixext/Symbols/SecureObjectsSymbol.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/wixext/Symbols/SecureObjectsSymbol.cs b/src/wixext/Symbols/SecureObjectsSymbol.cs
index b90df521..25fc6dca 100644
--- a/src/wixext/Symbols/SecureObjectsSymbol.cs
+++ b/src/wixext/Symbols/SecureObjectsSymbol.cs
@@ -25,6 +25,7 @@ namespace WixToolset.Util
25 25
26namespace WixToolset.Util.Symbols 26namespace WixToolset.Util.Symbols
27{ 27{
28 using System;
28 using WixToolset.Data; 29 using WixToolset.Data;
29 30
30 public enum SecureObjectsSymbolFields 31 public enum SecureObjectsSymbolFields
@@ -38,6 +39,13 @@ namespace WixToolset.Util.Symbols
38 ComponentRef, 39 ComponentRef,
39 } 40 }
40 41
42 [Flags]
43 public enum WixPermissionExAttributes
44 {
45 None = 0x0,
46 Inheritable = 0x01
47 }
48
41 public class SecureObjectsSymbol : IntermediateSymbol 49 public class SecureObjectsSymbol : IntermediateSymbol
42 { 50 {
43 public SecureObjectsSymbol() : base(UtilSymbolDefinitions.SecureObjects, null, null) 51 public SecureObjectsSymbol() : base(UtilSymbolDefinitions.SecureObjects, null, null)
@@ -74,10 +82,10 @@ namespace WixToolset.Util.Symbols
74 set => this.Set((int)SecureObjectsSymbolFields.User, value); 82 set => this.Set((int)SecureObjectsSymbolFields.User, value);
75 } 83 }
76 84
77 public int Attributes 85 public WixPermissionExAttributes Attributes
78 { 86 {
79 get => this.Fields[(int)SecureObjectsSymbolFields.Attributes].AsNumber(); 87 get => (WixPermissionExAttributes)this.Fields[(int)SecureObjectsSymbolFields.Attributes].AsNumber();
80 set => this.Set((int)SecureObjectsSymbolFields.Attributes, value); 88 set => this.Set((int)SecureObjectsSymbolFields.Attributes, (int)value);
81 } 89 }
82 90
83 public int? Permission 91 public int? Permission