diff options
Diffstat (limited to 'src/ext/DifxApp/wixext/DifxAppTableDefinitions.cs')
-rw-r--r-- | src/ext/DifxApp/wixext/DifxAppTableDefinitions.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ext/DifxApp/wixext/DifxAppTableDefinitions.cs b/src/ext/DifxApp/wixext/DifxAppTableDefinitions.cs new file mode 100644 index 00000000..a6c26444 --- /dev/null +++ b/src/ext/DifxApp/wixext/DifxAppTableDefinitions.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.DifxApp | ||
4 | { | ||
5 | using WixToolset.Data.WindowsInstaller; | ||
6 | |||
7 | public static class DifxAppTableDefinitions | ||
8 | { | ||
9 | public static readonly TableDefinition MsiDriverPackages = new TableDefinition( | ||
10 | "MsiDriverPackages", | ||
11 | DifxAppSymbolDefinitions.MsiDriverPackages, | ||
12 | new[] | ||
13 | { | ||
14 | new ColumnDefinition("Component", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "Component", keyColumn: 1, description: "Name of the component that represents the driver package", modularizeType: ColumnModularizeType.Column), | ||
15 | new ColumnDefinition("Flags", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 31, description: "Flags for installing and uninstalling driver packages"), | ||
16 | new ColumnDefinition("Sequence", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, description: "Order in which the driver packages are processed"), | ||
17 | }, | ||
18 | symbolIdIsPrimaryKey: false | ||
19 | ); | ||
20 | |||
21 | public static readonly TableDefinition[] All = new[] | ||
22 | { | ||
23 | MsiDriverPackages, | ||
24 | }; | ||
25 | } | ||
26 | } | ||