From 17fa409d8e275e70c00be5426f6bb564edd3b500 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 12 Jun 2020 13:02:46 -0700 Subject: Remove remaining WixXxxRows --- .../WindowsInstaller/Rows/WixActionRow.cs | 113 ------- .../WindowsInstaller/Rows/WixDeltaPatchFileRow.cs | 142 -------- .../Rows/WixDeltaPatchSymbolPathsRow.cs | 60 ---- .../WindowsInstaller/Rows/WixGroupRow.cs | 67 ---- .../WindowsInstaller/Rows/WixMediaTemplateRow.cs | 86 ----- .../WindowsInstallerTableDefinitions.cs | 373 --------------------- 6 files changed, 841 deletions(-) delete mode 100644 src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs delete mode 100644 src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchFileRow.cs delete mode 100644 src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchSymbolPathsRow.cs delete mode 100644 src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs delete mode 100644 src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs (limited to 'src/WixToolset.Data/WindowsInstaller') diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs deleted file mode 100644 index 61240820..00000000 --- a/src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs +++ /dev/null @@ -1,113 +0,0 @@ -// 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. - -namespace WixToolset.Data.WindowsInstaller.Rows -{ - using System; - using System.Diagnostics; - using System.Globalization; - using System.Xml; - using WixToolset.Data.Tuples; - - /// - /// Specialization of a row for the sequence tables. - /// - public sealed class WixActionRow : Row, IComparable - { - /// - /// Instantiates an ActionRow that belongs to a table. - /// - /// Original source lines for this row. - /// Table this Action row belongs to and should get its column definitions from. - public WixActionRow(SourceLineNumber sourceLineNumbers, Table table) : - base(sourceLineNumbers, table) - { - } - - public WixActionRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) : - base(sourceLineNumbers, tableDefinition) - { - } - - /// - /// Gets or sets the name of the action. - /// - /// The name of the action. - public string Action - { - get { return (string)this.Fields[1].Data; } - set { this.Fields[1].Data = value; } - } - - /// - /// Gets the name of the action this action should be scheduled after. - /// - /// The name of the action this action should be scheduled after. - public string After - { - get { return (string)this.Fields[5].Data; } - set { this.Fields[5].Data = value; } - } - - /// - /// Gets the name of the action this action should be scheduled before. - /// - /// The name of the action this action should be scheduled before. - public string Before - { - get { return (string)this.Fields[4].Data; } - set { this.Fields[4].Data = value; } - } - - /// - /// Gets or sets the condition of the action. - /// - /// The condition of the action. - public string Condition - { - get { return (string)this.Fields[2].Data; } - set { this.Fields[2].Data = value; } - } - - /// - /// Gets or sets whether this action is overridable. - /// - /// Whether this action is overridable. - public bool Overridable - { - get { return (1 == Convert.ToInt32(this.Fields[6].Data, CultureInfo.InvariantCulture)); } - set { this.Fields[6].Data = (value ? 1 : 0); } - } - - /// - /// Gets or sets the sequence number of this action. - /// - /// The sequence number of this action. - public int Sequence - { - get { return Convert.ToInt32(this.Fields[3].Data, CultureInfo.InvariantCulture); } - set { this.Fields[3].Data = value; } - } - - /// - /// Gets of sets the sequence table of this action. - /// - /// The sequence table of this action. - public SequenceTable SequenceTable - { - get { return (SequenceTable)Enum.Parse(typeof(SequenceTable), (string)this.Fields[0].Data); } - set { this.Fields[0].Data = value.ToString(); } - } - - /// - /// Compares the current instance with another object of the same type. - /// - /// Other reference to compare this one to. - /// Returns less than 0 for less than, 0 for equals, and greater than 0 for greater. - public int CompareTo(object obj) - { - WixActionRow otherActionRow = (WixActionRow)obj; - - return this.Sequence.CompareTo(otherActionRow.Sequence); - } - } -} diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchFileRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchFileRow.cs deleted file mode 100644 index 9edcea92..00000000 --- a/src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchFileRow.cs +++ /dev/null @@ -1,142 +0,0 @@ -// 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. - -namespace WixToolset.Data.WindowsInstaller.Rows -{ - /// - /// Specialization of a row for the WixDeltaPatchFile table. - /// - public sealed class WixDeltaPatchFileRow : Row - { - /// - /// Creates a WixDeltaPatchFile row that does not belong to a table. - /// - /// Original source lines for this row. - /// TableDefinition this Media row belongs to and should get its column definitions from. - public WixDeltaPatchFileRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) : - base(sourceLineNumbers, tableDef) - { - } - - /// - /// Creates a WixDeltaPatchFile row that belongs to a table. - /// - /// Original source lines for this row. - /// Table this File row belongs to and should get its column definitions from. - public WixDeltaPatchFileRow(SourceLineNumber sourceLineNumbers, Table table) : - base(sourceLineNumbers, table) - { - } - - /// - /// Gets or sets the primary key of the file row. - /// - /// Primary key of the file row. - public string File - { - get { return (string)this.Fields[0].Data; } - set { this.Fields[0].Data = value; } - } - - /// - /// Gets or sets the delta patch retain-length list for the file. - /// - /// RetainLength list for the file. - public string RetainLengths - { - get { return (string)this.Fields[1].Data; } - set { this.Fields[1].Data = value; } - } - - /// - /// Gets or sets the previous delta patch retain-length list for the file. - /// - /// Previous RetainLength list for the file. - public string PreviousRetainLengths - { - get { return this.Fields[1].PreviousData; } - set { this.Fields[1].PreviousData = value; } - } - - /// - /// Gets or sets the delta patch ignore-offset list for the file. - /// - /// IgnoreOffset list for the file. - public string IgnoreOffsets - { - get { return (string)this.Fields[2].Data; } - set { this.Fields[2].Data = value; } - } - - /// - /// Gets or sets the previous delta patch ignore-offset list for the file. - /// - /// Previous IgnoreOffset list for the file. - public string PreviousIgnoreOffsets - { - get { return this.Fields[2].PreviousData; } - set { this.Fields[2].PreviousData = value; } - } - - /// - /// Gets or sets the delta patch ignore-length list for the file. - /// - /// IgnoreLength list for the file. - public string IgnoreLengths - { - get { return (string)this.Fields[3].Data; } - set { this.Fields[3].Data = value; } - } - - /// - /// Gets or sets the previous delta patch ignore-length list for the file. - /// - /// Previous IgnoreLength list for the file. - public string PreviousIgnoreLengths - { - get { return this.Fields[3].PreviousData; } - set { this.Fields[3].PreviousData = value; } - } - - /// - /// Gets or sets the delta patch retain-offset list for the file. - /// - /// RetainOffset list for the file. - public string RetainOffsets - { - get { return (string)this.Fields[4].Data; } - set { this.Fields[4].Data = value; } - } - - /// - /// Gets or sets the previous delta patch retain-offset list for the file. - /// - /// PreviousRetainOffset list for the file. - public string PreviousRetainOffsets - { - get { return this.Fields[4].PreviousData; } - set { this.Fields[4].PreviousData = value; } - } - - /// - /// Gets or sets the symbol paths for the file. - /// - /// SymbolPath list for the file. - /// This is set during binding. - public string Symbols - { - get { return (string)this.Fields[5].Data; } - set { this.Fields[5].Data = value; } - } - - /// - /// Gets or sets the previous symbol paths for the file. - /// - /// PreviousSymbolPath list for the file. - /// This is set during binding. - public string PreviousSymbols - { - get { return (string)this.Fields[5].PreviousData; } - set { this.Fields[5].PreviousData = value; } - } - } -} diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchSymbolPathsRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchSymbolPathsRow.cs deleted file mode 100644 index 13899bd0..00000000 --- a/src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchSymbolPathsRow.cs +++ /dev/null @@ -1,60 +0,0 @@ -// 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. - -namespace WixToolset.Data.WindowsInstaller.Rows -{ - using WixToolset.Data.Tuples; - - /// - /// Specialization of a row for the WixDeltaPatchSymbolPaths table. - /// - public sealed class WixDeltaPatchSymbolPathsRow : Row - { - /// - /// Creates a WixDeltaPatchSymbolPaths row that does not belong to a table. - /// - /// Original source lines for this row. - /// TableDefinition this row belongs to and should get its column definitions from. - public WixDeltaPatchSymbolPathsRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) : - base(sourceLineNumbers, tableDef) - { - } - - /// - /// Creates a WixDeltaPatchSymbolPaths row that belongs to a table. - /// - /// Original source lines for this row. - /// Table this row belongs to and should get its column definitions from. - public WixDeltaPatchSymbolPathsRow(SourceLineNumber sourceLineNumbers, Table table) : - base(sourceLineNumbers, table) - { - } - - /// - /// Gets or sets the identifier the symbol paths apply to. - /// - /// RetainLength list for the file. - public string Id - { - get { return (string)this.Fields[0].Data; } - set { this.Fields[0].Data = value; } - } - - /// - /// Gets or sets the type of the identifier. - /// - public SymbolPathType Type - { - get { return (SymbolPathType)this.Fields[1].AsInteger(); } - set { this.Fields[1].Data = value; } - } - - /// - /// Gets or sets the delta patch symbol paths. - /// - public string SymbolPaths - { - get { return (string)this.Fields[2].Data; } - set { this.Fields[2].Data = value; } - } - } -} diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs deleted file mode 100644 index bbdbc6b6..00000000 --- a/src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs +++ /dev/null @@ -1,67 +0,0 @@ -// 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. - -namespace WixToolset.Data.WindowsInstaller.Rows -{ - using System; - - /// - /// Specialization of a row for the WixGroup table. - /// - public sealed class WixGroupRow : Row - { - /// - /// Creates a WixGroupRow row that belongs to a table. - /// - /// Original source lines for this row. - /// Table this row belongs to and should get its column definitions from. - public WixGroupRow(SourceLineNumber sourceLineNumbers, Table table) - : base(sourceLineNumbers, table) - { - } - - public WixGroupRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) - : base(sourceLineNumbers, tableDefinition) - { - } - - /// - /// Gets or sets the parent identifier of the complex reference. - /// - /// Parent identifier of the complex reference. - public string ParentId - { - get { return (string)this.Fields[0].Data; } - set { this.Fields[0].Data = value; } - } - - /// - /// Gets the parent type of the complex reference. - /// - /// Parent type of the complex reference. - public ComplexReferenceParentType ParentType - { - get { return (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[1].Data); } - set { this.Fields[1].Data = value.ToString(); } - } - - /// - /// Gets the child identifier of the complex reference. - /// - /// Child identifier of the complex reference. - public string ChildId - { - get { return (string)this.Fields[2].Data; } - set { this.Fields[2].Data = value; } - } - - /// - /// Gets the child type of the complex reference. - /// - /// Child type of the complex reference. - public ComplexReferenceChildType ChildType - { - get { return (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[3].Data); } - set { this.Fields[3].Data = value.ToString(); } - } - } -} diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs deleted file mode 100644 index 29479147..00000000 --- a/src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs +++ /dev/null @@ -1,86 +0,0 @@ -// 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. - -namespace WixToolset.Data.WindowsInstaller.Rows -{ - /// - /// Specialization of a row for the MediaTemplate table. - /// - public sealed class WixMediaTemplateRow : Row - { - /// - /// Creates a MediaTemplate row that belongs to a table. - /// - /// Original source lines for this row. - /// Table this MediaTeplate row belongs to and should get its column definitions from. - public WixMediaTemplateRow(SourceLineNumber sourceLineNumbers, Table table) - : base(sourceLineNumbers, table) - { - } - - public WixMediaTemplateRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) - : base(sourceLineNumbers, tableDefinition) - { - } - - /// - /// Gets or sets the cabinet template name for this media template row. - /// - /// Cabinet name. - public string CabinetTemplate - { - get { return (string)this.Fields[0].Data; } - set { this.Fields[0].Data = value; } - } - - /// - /// Gets or sets the compression level for this media template row. - /// - /// Compression level. - public CompressionLevel? CompressionLevel - { - get { return (CompressionLevel?)this.Fields[1].AsNullableInteger(); } - set { this.Fields[1].Data = value; } - } - - /// - /// Gets or sets the disk prompt for this media template row. - /// - /// Disk prompt. - public string DiskPrompt - { - get { return (string)this.Fields[2].Data; } - set { this.Fields[2].Data = value; } - } - - - /// - /// Gets or sets the volume label for this media template row. - /// - /// Volume label. - public string VolumeLabel - { - get { return (string)this.Fields[3].Data; } - set { this.Fields[3].Data = value; } - } - - /// - /// Gets or sets the maximum uncompressed media size for this media template row. - /// - /// Disk id. - public int MaximumUncompressedMediaSize - { - get { return (int)this.Fields[4].Data; } - set { this.Fields[4].Data = value; } - } - - /// - /// Gets or sets the Maximum Cabinet Size For Large File Splitting for this media template row. - /// - /// Disk id. - public int MaximumCabinetSizeForLargeFileSplitting - { - get { return (int)this.Fields[5].Data; } - set { this.Fields[5].Data = value; } - } - } -} diff --git a/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs b/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs index 7e6b2cc9..2f219b53 100644 --- a/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs +++ b/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs @@ -1661,353 +1661,6 @@ namespace WixToolset.Data.WindowsInstaller tupleIdIsPrimaryKey: false ); - public static readonly TableDefinition WixAction = new TableDefinition( - "WixAction", - TupleDefinitions.WixAction, - new[] - { - new ColumnDefinition("SequenceTable", ColumnType.String, 62, primaryKey: true, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("Action", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("Condition", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Unknown, forceLocalizable: true), - new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("Before", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("After", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("Overridable", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - strongRowType: typeof(WixActionRow), - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixBBControl = new TableDefinition( - "WixBBControl", - null, - new[] - { - new ColumnDefinition("Billboard_", ColumnType.String, 50, primaryKey: true, nullable: false, ColumnCategory.Unknown, modularizeType: ColumnModularizeType.Column), - new ColumnDefinition("BBControl_", ColumnType.String, 50, primaryKey: true, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("SourceFile", ColumnType.Object, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixComponentGroup = new TableDefinition( - "WixComponentGroup", - TupleDefinitions.WixComponentGroup, - new[] - { - new ColumnDefinition("WixComponentGroup", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixControl = new TableDefinition( - "WixControl", - null, - new[] - { - new ColumnDefinition("Dialog_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown, modularizeType: ColumnModularizeType.Column), - new ColumnDefinition("Control_", ColumnType.String, 50, primaryKey: true, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("SourceFile", ColumnType.Object, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixDirectory = new TableDefinition( - "WixDirectory", - null, - new[] - { - new ColumnDefinition("Directory_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, modularizeType: ColumnModularizeType.Column), - new ColumnDefinition("ComponentGuidGenerationSeed", ColumnType.String, 38, primaryKey: false, nullable: true, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixEnsureTable = new TableDefinition( - "WixEnsureTable", - TupleDefinitions.WixEnsureTable, - new[] - { - new ColumnDefinition("Table", ColumnType.String, 31, primaryKey: false, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixFeatureGroup = new TableDefinition( - "WixFeatureGroup", - TupleDefinitions.WixFeatureGroup, - new[] - { - new ColumnDefinition("WixFeatureGroup", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: true - ); - - public static readonly TableDefinition WixPatchFamilyGroup = new TableDefinition( - "WixPatchFamilyGroup", - TupleDefinitions.WixPatchFamilyGroup, - new[] - { - new ColumnDefinition("WixPatchFamilyGroup", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixGroup = new TableDefinition( - "WixGroup", - TupleDefinitions.WixGroup, - new[] - { - new ColumnDefinition("ParentId", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key used to identify a particular record in a parent table."), - new ColumnDefinition("ParentType", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, description: "Primary key used to identify a particular parent type in a parent table."), - new ColumnDefinition("ChildId", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key used to identify a particular record in a child table."), - new ColumnDefinition("ChildType", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, description: "Primary key used to identify a particular child type in a child table."), - }, - unreal: true, - strongRowType: typeof(WixGroupRow), - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixFile = new TableDefinition( - "WixFile", - null, - new[] - { - new ColumnDefinition("File_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column), - new ColumnDefinition("AssemblyType", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1), - new ColumnDefinition("File_AssemblyManifest", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column), - new ColumnDefinition("File_AssemblyApplication", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column), - new ColumnDefinition("Directory_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Unknown, keyTable: "Directory", keyColumn: 1, modularizeType: ColumnModularizeType.Column), - new ColumnDefinition("DiskId", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("Source", ColumnType.Object, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("ProcessorArchitecture", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("PatchGroup", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("PatchAttributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("DeltaPatchHeaderSource", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixBindUpdatedFiles = new TableDefinition( - "WixBindUpdatedFiles", - TupleDefinitions.WixBindUpdatedFiles, - new[] - { - new ColumnDefinition("File_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixBuildInfo = new TableDefinition( - "WixBuildInfo", - TupleDefinitions.WixBuildInfo, - new[] - { - new ColumnDefinition("WixVersion", ColumnType.String, 20, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Version number of WiX."), - new ColumnDefinition("WixOutputFile", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Path to output file, if supplied."), - new ColumnDefinition("WixProjectFile", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Path to .wixproj file, if supplied."), - new ColumnDefinition("WixPdbFile", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Path to .wixpdb file, if supplied."), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixFragment = new TableDefinition( - "WixFragment", - TupleDefinitions.WixFragment, - new[] - { - new ColumnDefinition("WixFragment", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: true - ); - - public static readonly TableDefinition WixInstanceComponent = new TableDefinition( - "WixInstanceComponent", - TupleDefinitions.WixInstanceComponent, - new[] - { - new ColumnDefinition("Component_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, modularizeType: ColumnModularizeType.Column), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixInstanceTransforms = new TableDefinition( - "WixInstanceTransforms", - TupleDefinitions.WixInstanceTransforms, - new[] - { - new ColumnDefinition("Id", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("PropertyId", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("ProductCode", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Guid), - new ColumnDefinition("ProductName", ColumnType.Localized, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown, forceLocalizable: true), - new ColumnDefinition("UpgradeCode", ColumnType.String, 38, primaryKey: false, nullable: true, ColumnCategory.Guid), - }, - unreal: true, - tupleIdIsPrimaryKey: true - ); - - public static readonly TableDefinition WixMediaTemplate = new TableDefinition( - "WixMediaTemplate", - TupleDefinitions.WixMediaTemplate, - new[] - { - new ColumnDefinition("CabinetTemplate", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("CompressionLevel", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 4), - new ColumnDefinition("DiskPrompt", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("VolumeLabel", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("MaximumUncompressedMediaSize", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("MaximumCabinetSizeForLargeFileSplitting", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - strongRowType: typeof(WixMediaTemplateRow), - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixOrdering = new TableDefinition( - "WixOrdering", - TupleDefinitions.WixOrdering, - new[] - { - new ColumnDefinition("ItemType", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, description: "Primary key used to identify the item in another table."), - new ColumnDefinition("ItemId_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Reference to an entry in another table."), - new ColumnDefinition("DependsOnType", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, description: "Primary key used to identify the item in another table."), - new ColumnDefinition("DependsOnId_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Reference to an entry in another table."), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixDeltaPatchFile = new TableDefinition( - "WixDeltaPatchFile", - TupleDefinitions.WixDeltaPatchFile, - new[] - { - new ColumnDefinition("File_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column), - new ColumnDefinition("RetainLengths", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text), - new ColumnDefinition("IgnoreOffsets", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text), - new ColumnDefinition("IgnoreLengths", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text), - new ColumnDefinition("RetainOffsets", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text), - new ColumnDefinition("SymbolPaths", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text), - }, - unreal: true, - strongRowType: typeof(WixDeltaPatchFileRow), - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixDeltaPatchSymbolPaths = new TableDefinition( - "WixDeltaPatchSymbolPaths", - TupleDefinitions.WixDeltaPatchSymbolPaths, - new[] - { - new ColumnDefinition("Id", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("Type", ColumnType.Number, 2, primaryKey: true, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 4), - new ColumnDefinition("SymbolPaths", ColumnType.Preserved, 0, primaryKey: false, nullable: false, ColumnCategory.Text), - }, - unreal: true, - strongRowType: typeof(WixDeltaPatchSymbolPathsRow), - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixPatchBaseline = new TableDefinition( - "WixPatchBaseline", - TupleDefinitions.WixPatchBaseline, - new[] - { - new ColumnDefinition("WixPatchBaseline", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key used to identify sets of transforms in a patch."), - new ColumnDefinition("DiskId", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("ValidationFlags", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Integer, description: "Patch transform validation flags for the associated patch baseline."), - }, - unreal: true, - tupleIdIsPrimaryKey: true - ); - - public static readonly TableDefinition WixPatchRef = new TableDefinition( - "WixPatchRef", - TupleDefinitions.WixPatchRef, - new[] - { - new ColumnDefinition("Table", ColumnType.String, 32, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("PrimaryKeys", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixPatchId = new TableDefinition( - "WixPatchId", - TupleDefinitions.WixPatchId, - new[] - { - new ColumnDefinition("ProductCode", ColumnType.String, 38, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("ClientPatchId", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("OptimizePatchSizeForLargeFiles", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1), - new ColumnDefinition("ApiPatchingSymbolFlags", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 7), - }, - unreal: true, - tupleIdIsPrimaryKey: true - ); - - public static readonly TableDefinition WixPatchTarget = new TableDefinition( - "WixPatchTarget", - TupleDefinitions.WixPatchTarget, - new[] - { - new ColumnDefinition("ProductCode", ColumnType.String, 38, primaryKey: false, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixPatchMetadata = new TableDefinition( - "WixPatchMetadata", - null, - new[] - { - new ColumnDefinition("Property", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("Value", ColumnType.Localized, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: false - ); - - public static readonly TableDefinition WixUI = new TableDefinition( - "WixUI", - TupleDefinitions.WixUI, - new[] - { - new ColumnDefinition("WixUI", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: true - ); - - public static readonly TableDefinition WixVariable = new TableDefinition( - "WixVariable", - TupleDefinitions.WixVariable, - new[] - { - new ColumnDefinition("WixVariable", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown), - new ColumnDefinition("Value", ColumnType.Localized, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown), - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown), - }, - unreal: true, - tupleIdIsPrimaryKey: true - ); - public static readonly TableDefinition Streams = new TableDefinition( "_Streams", null, @@ -2187,32 +1840,6 @@ namespace WixToolset.Data.WindowsInstaller TargetFilesOptionalData, FamilyFileRanges, ExternalFiles, - WixAction, - WixBBControl, - WixComponentGroup, - WixControl, - WixDirectory, - WixEnsureTable, - WixFeatureGroup, - WixPatchFamilyGroup, - WixGroup, - WixFile, - WixBindUpdatedFiles, - WixBuildInfo, - WixFragment, - WixInstanceComponent, - WixInstanceTransforms, - WixMediaTemplate, - WixOrdering, - WixDeltaPatchFile, - WixDeltaPatchSymbolPaths, - WixPatchBaseline, - WixPatchRef, - WixPatchId, - WixPatchTarget, - WixPatchMetadata, - WixUI, - WixVariable, Streams, SummaryInformation, TransformView, -- cgit v1.2.3-55-g6feb