diff options
Diffstat (limited to 'src/wixext/DependencyCommon.cs')
-rw-r--r-- | src/wixext/DependencyCommon.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/wixext/DependencyCommon.cs b/src/wixext/DependencyCommon.cs new file mode 100644 index 00000000..4826d8b0 --- /dev/null +++ b/src/wixext/DependencyCommon.cs | |||
@@ -0,0 +1,26 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset.Extensions | ||
4 | { | ||
5 | using System; | ||
6 | using WixToolset; | ||
7 | |||
8 | internal static class DependencyCommon | ||
9 | { | ||
10 | // Bundle attributes are in the upper 32-bits. | ||
11 | internal const int ProvidesAttributesBundle = 0x10000; | ||
12 | |||
13 | // Same values as for the Upgrade table in Windows Installer. | ||
14 | internal const int RequiresAttributesMinVersionInclusive = 256; | ||
15 | internal const int RequiresAttributesMaxVersionInclusive = 512; | ||
16 | |||
17 | // The root registry key for the dependency extension. We write to Software\Classes explicitly | ||
18 | // based on the current security context instead of HKCR. See | ||
19 | // http://msdn.microsoft.com/en-us/library/ms724475(VS.85).aspx for more information. | ||
20 | internal static readonly string RegistryRoot = @"Software\Classes\Installer\Dependencies\"; | ||
21 | internal static readonly string RegistryDependents = "Dependents"; | ||
22 | |||
23 | // The following characters cannot be used in a provider key. | ||
24 | internal static readonly char[] InvalidCharacters = new char[] { ' ', '\"', ';', '\\' }; | ||
25 | } | ||
26 | } | ||