aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/NetfxWindowsInstallerBackendExtension.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/NetfxWindowsInstallerBackendExtension.cs')
-rw-r--r--src/wixext/NetfxWindowsInstallerBackendExtension.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/wixext/NetfxWindowsInstallerBackendExtension.cs b/src/wixext/NetfxWindowsInstallerBackendExtension.cs
new file mode 100644
index 00000000..50266ef4
--- /dev/null
+++ b/src/wixext/NetfxWindowsInstallerBackendExtension.cs
@@ -0,0 +1,27 @@
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
3namespace WixToolset.Netfx
4{
5 using WixToolset.Data.WindowsInstaller;
6 using WixToolset.Extensibility;
7
8 public class NetfxWindowsInstallerBackendExtension : BaseWindowsInstallerBackendExtension
9 {
10 private static readonly TableDefinition[] Tables = new[] {
11 new TableDefinition(
12 "NetFxNativeImage",
13 new[]
14 {
15 new ColumnDefinition("NetFxNativeImage", ColumnType.String, 72, true, false, ColumnCategory.Identifier, description: "The primary key, a non-localized token."),
16 new ColumnDefinition("File_", ColumnType.String, 0, false, false, ColumnCategory.Identifier, keyTable:"File", keyColumn: 1, description: "The assembly for which a native image will be generated."),
17 new ColumnDefinition("Priority", ColumnType.Number, 2, false, false, ColumnCategory.Integer, maxValue: 3, description: "The priority for generating this native image: 0 is syncronous, 1-3 represent various levels of queued generation."),
18 new ColumnDefinition("Attributes", ColumnType.Number, 4, false, false, ColumnCategory.Integer, maxValue: 2147483647, description: "Integer containing bit flags representing native image attributes."),
19 new ColumnDefinition("File_Application", ColumnType.String, 72, false, true, ColumnCategory.Formatted, description: "The application which loads this assembly."),
20 new ColumnDefinition("Directory_ApplicationBase", ColumnType.String, 72, false, true, ColumnCategory.Formatted, description: "The directory containing the application which loads this assembly."),
21 }
22 ),
23 };
24
25 protected override TableDefinition[] TableDefinitionsForTuples => Tables;
26 }
27}