diff options
| author | Rob Mensching <rob@firegiant.com> | 2018-01-01 10:30:42 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2018-01-01 22:47:02 -0800 |
| commit | 60d7baefb4e87bf0ddaae58a653faee0be0429f6 (patch) | |
| tree | e520865fd6da2368c5d33a4c98cca457bd8a8343 /src/wixext/NetfxWindowsInstallerBackendExtension.cs | |
| parent | 9c66865ab3e4b3c4cbcb721e22fd668dd4350afa (diff) | |
| download | wix-60d7baefb4e87bf0ddaae58a653faee0be0429f6.tar.gz wix-60d7baefb4e87bf0ddaae58a653faee0be0429f6.tar.bz2 wix-60d7baefb4e87bf0ddaae58a653faee0be0429f6.zip | |
Initial code commit
Diffstat (limited to 'src/wixext/NetfxWindowsInstallerBackendExtension.cs')
| -rw-r--r-- | src/wixext/NetfxWindowsInstallerBackendExtension.cs | 27 |
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 | |||
| 3 | namespace 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 | } | ||
