aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/UtilTupleDefinitions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/UtilTupleDefinitions.cs')
-rw-r--r--src/wixext/Tuples/UtilTupleDefinitions.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wixext/Tuples/UtilTupleDefinitions.cs b/src/wixext/Tuples/UtilTupleDefinitions.cs
index 00c98337..ece64502 100644
--- a/src/wixext/Tuples/UtilTupleDefinitions.cs
+++ b/src/wixext/Tuples/UtilTupleDefinitions.cs
@@ -4,6 +4,7 @@ namespace WixToolset.Util
4{ 4{
5 using System; 5 using System;
6 using WixToolset.Data; 6 using WixToolset.Data;
7 using WixToolset.Data.Burn;
7 8
8 public enum UtilTupleDefinitionType 9 public enum UtilTupleDefinitionType
9 { 10 {
@@ -19,6 +20,7 @@ namespace WixToolset.Util
19 User, 20 User,
20 UserGroup, 21 UserGroup,
21 WixCloseApplication, 22 WixCloseApplication,
23 WixDetectSHA2Support,
22 WixFormatFiles, 24 WixFormatFiles,
23 WixInternetShortcut, 25 WixInternetShortcut,
24 WixRemoveFolderEx, 26 WixRemoveFolderEx,
@@ -82,6 +84,9 @@ namespace WixToolset.Util
82 case UtilTupleDefinitionType.WixCloseApplication: 84 case UtilTupleDefinitionType.WixCloseApplication:
83 return UtilTupleDefinitions.WixCloseApplication; 85 return UtilTupleDefinitions.WixCloseApplication;
84 86
87 case UtilTupleDefinitionType.WixDetectSHA2Support:
88 return UtilTupleDefinitions.WixDetectSHA2Support;
89
85 case UtilTupleDefinitionType.WixFormatFiles: 90 case UtilTupleDefinitionType.WixFormatFiles:
86 return UtilTupleDefinitions.WixFormatFiles; 91 return UtilTupleDefinitions.WixFormatFiles;
87 92
@@ -107,5 +112,10 @@ namespace WixToolset.Util
107 throw new ArgumentOutOfRangeException(nameof(type)); 112 throw new ArgumentOutOfRangeException(nameof(type));
108 } 113 }
109 } 114 }
115
116 static UtilTupleDefinitions()
117 {
118 WixDetectSHA2Support.AddTag(BurnConstants.BundleExtensionSearchTupleDefinitionTag);
119 }
110 } 120 }
111} 121}