summaryrefslogtreecommitdiff
path: root/src/ext/Util/wixext/UtilConstants.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Util/wixext/UtilConstants.cs')
-rw-r--r--src/ext/Util/wixext/UtilConstants.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ext/Util/wixext/UtilConstants.cs b/src/ext/Util/wixext/UtilConstants.cs
index 28ff368f..93616e44 100644
--- a/src/ext/Util/wixext/UtilConstants.cs
+++ b/src/ext/Util/wixext/UtilConstants.cs
@@ -2,11 +2,32 @@
2 2
3namespace WixToolset.Util 3namespace WixToolset.Util
4{ 4{
5 using System.Xml.Linq;
6
5 /// <summary> 7 /// <summary>
6 /// Constants used by Utility Extension. 8 /// Constants used by Utility Extension.
7 /// </summary> 9 /// </summary>
8 internal static class UtilConstants 10 internal static class UtilConstants
9 { 11 {
12 internal static readonly XNamespace Namespace = "http://wixtoolset.org/schemas/v4/wxs/util";
13
14 internal static readonly XName CloseApplicationName = Namespace + "CloseApplication";
15 internal static readonly XName EventManifestName = Namespace + "EventManifest";
16 internal static readonly XName FileShareName = Namespace + "FileShare";
17 internal static readonly XName FileSharePermissionName = Namespace + "FileSharePermission";
18 internal static readonly XName GroupName = Namespace + "Group";
19 internal static readonly XName GroupRefName = Namespace + "GroupRef";
20 internal static readonly XName InternetShortcutName = Namespace + "InternetShortcut";
21 internal static readonly XName PerfCounterName = Namespace + "PerfCounter";
22 internal static readonly XName PerfCounterManifestName = Namespace + "PerfCounterManifest";
23 internal static readonly XName PermissionExName = Namespace + "PermissionEx";
24 internal static readonly XName RemoveFolderExName = Namespace + "RemoveFolderEx";
25 internal static readonly XName RestartResourceName = Namespace + "RestartResource";
26 internal static readonly XName ServiceConfigName = Namespace + "ServiceConfig";
27 internal static readonly XName UserName = Namespace + "User";
28 internal static readonly XName XmlConfigName = Namespace + "XmlConfig";
29 internal static readonly XName XmlFileName = Namespace + "XmlFile";
30
10 internal static readonly string[] FilePermissions = { "Read", "Write", "Append", "ReadExtendedAttributes", "WriteExtendedAttributes", "Execute", null, "ReadAttributes", "WriteAttributes" }; 31 internal static readonly string[] FilePermissions = { "Read", "Write", "Append", "ReadExtendedAttributes", "WriteExtendedAttributes", "Execute", null, "ReadAttributes", "WriteAttributes" };
11 internal static readonly string[] FolderPermissions = { "Read", "CreateFile", "CreateChild", "ReadExtendedAttributes", "WriteExtendedAttributes", "Traverse", "DeleteChild", "ReadAttributes", "WriteAttributes" }; 32 internal static readonly string[] FolderPermissions = { "Read", "CreateFile", "CreateChild", "ReadExtendedAttributes", "WriteExtendedAttributes", "Traverse", "DeleteChild", "ReadAttributes", "WriteAttributes" };
12 internal static readonly string[] GenericPermissions = { "GenericAll", "GenericExecute", "GenericWrite", "GenericRead" }; 33 internal static readonly string[] GenericPermissions = { "GenericAll", "GenericExecute", "GenericWrite", "GenericRead" };