aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2020-06-12 13:02:46 -0700
committerRob Mensching <rob@firegiant.com>2020-06-13 09:19:00 -0700
commit17fa409d8e275e70c00be5426f6bb564edd3b500 (patch)
tree6eba0e10924ce1c1fecd48bb3f1e38b4ac755aff
parent2a9fdc41d80dc34f63239eb7dbb2c1be0b61c08d (diff)
downloadwix-17fa409d8e275e70c00be5426f6bb564edd3b500.tar.gz
wix-17fa409d8e275e70c00be5426f6bb564edd3b500.tar.bz2
wix-17fa409d8e275e70c00be5426f6bb564edd3b500.zip
Remove remaining WixXxxRows
-rw-r--r--src/WixToolset.Data/Tuples/BBControlTuple.cs4
-rw-r--r--src/WixToolset.Data/Tuples/ControlTuple.cs4
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs113
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchFileRow.cs142
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixDeltaPatchSymbolPathsRow.cs60
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs67
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs86
-rw-r--r--src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs373
8 files changed, 4 insertions, 845 deletions
diff --git a/src/WixToolset.Data/Tuples/BBControlTuple.cs b/src/WixToolset.Data/Tuples/BBControlTuple.cs
index ba2868ec..cef525bf 100644
--- a/src/WixToolset.Data/Tuples/BBControlTuple.cs
+++ b/src/WixToolset.Data/Tuples/BBControlTuple.cs
@@ -171,9 +171,9 @@ namespace WixToolset.Data.Tuples
171 set => this.Set((int)BBControlTupleFields.Text, value); 171 set => this.Set((int)BBControlTupleFields.Text, value);
172 } 172 }
173 173
174 public string SourceFile 174 public IntermediateFieldPathValue SourceFile
175 { 175 {
176 get => (string)this.Fields[(int)BBControlTupleFields.SourceFile]; 176 get => this.Fields[(int)BBControlTupleFields.SourceFile].AsPath();
177 set => this.Set((int)BBControlTupleFields.SourceFile, value); 177 set => this.Set((int)BBControlTupleFields.SourceFile, value);
178 } 178 }
179 } 179 }
diff --git a/src/WixToolset.Data/Tuples/ControlTuple.cs b/src/WixToolset.Data/Tuples/ControlTuple.cs
index ed61392e..165e40e2 100644
--- a/src/WixToolset.Data/Tuples/ControlTuple.cs
+++ b/src/WixToolset.Data/Tuples/ControlTuple.cs
@@ -294,9 +294,9 @@ namespace WixToolset.Data.Tuples
294 set => this.Set((int)ControlTupleFields.TrackDiskSpace, value); 294 set => this.Set((int)ControlTupleFields.TrackDiskSpace, value);
295 } 295 }
296 296
297 public string SourceFile 297 public IntermediateFieldPathValue SourceFile
298 { 298 {
299 get => (string)this.Fields[(int)ControlTupleFields.SourceFile]; 299 get => this.Fields[(int)ControlTupleFields.SourceFile].AsPath();
300 set => this.Set((int)ControlTupleFields.SourceFile, value); 300 set => this.Set((int)ControlTupleFields.SourceFile, value);
301 } 301 }
302 } 302 }
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 @@
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.Data.WindowsInstaller.Rows
4{
5 using System;
6 using System.Diagnostics;
7 using System.Globalization;
8 using System.Xml;
9 using WixToolset.Data.Tuples;
10
11 /// <summary>
12 /// Specialization of a row for the sequence tables.
13 /// </summary>
14 public sealed class WixActionRow : Row, IComparable
15 {
16 /// <summary>
17 /// Instantiates an ActionRow that belongs to a table.
18 /// </summary>
19 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
20 /// <param name="table">Table this Action row belongs to and should get its column definitions from.</param>
21 public WixActionRow(SourceLineNumber sourceLineNumbers, Table table) :
22 base(sourceLineNumbers, table)
23 {
24 }
25
26 public WixActionRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) :
27 base(sourceLineNumbers, tableDefinition)
28 {
29 }
30
31 /// <summary>
32 /// Gets or sets the name of the action.
33 /// </summary>
34 /// <value>The name of the action.</value>
35 public string Action
36 {
37 get { return (string)this.Fields[1].Data; }
38 set { this.Fields[1].Data = value; }
39 }
40
41 /// <summary>
42 /// Gets the name of the action this action should be scheduled after.
43 /// </summary>
44 /// <value>The name of the action this action should be scheduled after.</value>
45 public string After
46 {
47 get { return (string)this.Fields[5].Data; }
48 set { this.Fields[5].Data = value; }
49 }
50
51 /// <summary>
52 /// Gets the name of the action this action should be scheduled before.
53 /// </summary>
54 /// <value>The name of the action this action should be scheduled before.</value>
55 public string Before
56 {
57 get { return (string)this.Fields[4].Data; }
58 set { this.Fields[4].Data = value; }
59 }
60
61 /// <summary>
62 /// Gets or sets the condition of the action.
63 /// </summary>
64 /// <value>The condition of the action.</value>
65 public string Condition
66 {
67 get { return (string)this.Fields[2].Data; }
68 set { this.Fields[2].Data = value; }
69 }
70
71 /// <summary>
72 /// Gets or sets whether this action is overridable.
73 /// </summary>
74 /// <value>Whether this action is overridable.</value>
75 public bool Overridable
76 {
77 get { return (1 == Convert.ToInt32(this.Fields[6].Data, CultureInfo.InvariantCulture)); }
78 set { this.Fields[6].Data = (value ? 1 : 0); }
79 }
80
81 /// <summary>
82 /// Gets or sets the sequence number of this action.
83 /// </summary>
84 /// <value>The sequence number of this action.</value>
85 public int Sequence
86 {
87 get { return Convert.ToInt32(this.Fields[3].Data, CultureInfo.InvariantCulture); }
88 set { this.Fields[3].Data = value; }
89 }
90
91 /// <summary>
92 /// Gets of sets the sequence table of this action.
93 /// </summary>
94 /// <value>The sequence table of this action.</value>
95 public SequenceTable SequenceTable
96 {
97 get { return (SequenceTable)Enum.Parse(typeof(SequenceTable), (string)this.Fields[0].Data); }
98 set { this.Fields[0].Data = value.ToString(); }
99 }
100
101 /// <summary>
102 /// Compares the current instance with another object of the same type.
103 /// </summary>
104 /// <param name="obj">Other reference to compare this one to.</param>
105 /// <returns>Returns less than 0 for less than, 0 for equals, and greater than 0 for greater.</returns>
106 public int CompareTo(object obj)
107 {
108 WixActionRow otherActionRow = (WixActionRow)obj;
109
110 return this.Sequence.CompareTo(otherActionRow.Sequence);
111 }
112 }
113}
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 @@
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.Data.WindowsInstaller.Rows
4{
5 /// <summary>
6 /// Specialization of a row for the WixDeltaPatchFile table.
7 /// </summary>
8 public sealed class WixDeltaPatchFileRow : Row
9 {
10 /// <summary>
11 /// Creates a WixDeltaPatchFile row that does not belong to a table.
12 /// </summary>
13 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
14 /// <param name="tableDef">TableDefinition this Media row belongs to and should get its column definitions from.</param>
15 public WixDeltaPatchFileRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 base(sourceLineNumbers, tableDef)
17 {
18 }
19
20 /// <summary>
21 /// Creates a WixDeltaPatchFile row that belongs to a table.
22 /// </summary>
23 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
24 /// <param name="table">Table this File row belongs to and should get its column definitions from.</param>
25 public WixDeltaPatchFileRow(SourceLineNumber sourceLineNumbers, Table table) :
26 base(sourceLineNumbers, table)
27 {
28 }
29
30 /// <summary>
31 /// Gets or sets the primary key of the file row.
32 /// </summary>
33 /// <value>Primary key of the file row.</value>
34 public string File
35 {
36 get { return (string)this.Fields[0].Data; }
37 set { this.Fields[0].Data = value; }
38 }
39
40 /// <summary>
41 /// Gets or sets the delta patch retain-length list for the file.
42 /// </summary>
43 /// <value>RetainLength list for the file.</value>
44 public string RetainLengths
45 {
46 get { return (string)this.Fields[1].Data; }
47 set { this.Fields[1].Data = value; }
48 }
49
50 /// <summary>
51 /// Gets or sets the previous delta patch retain-length list for the file.
52 /// </summary>
53 /// <value>Previous RetainLength list for the file.</value>
54 public string PreviousRetainLengths
55 {
56 get { return this.Fields[1].PreviousData; }
57 set { this.Fields[1].PreviousData = value; }
58 }
59
60 /// <summary>
61 /// Gets or sets the delta patch ignore-offset list for the file.
62 /// </summary>
63 /// <value>IgnoreOffset list for the file.</value>
64 public string IgnoreOffsets
65 {
66 get { return (string)this.Fields[2].Data; }
67 set { this.Fields[2].Data = value; }
68 }
69
70 /// <summary>
71 /// Gets or sets the previous delta patch ignore-offset list for the file.
72 /// </summary>
73 /// <value>Previous IgnoreOffset list for the file.</value>
74 public string PreviousIgnoreOffsets
75 {
76 get { return this.Fields[2].PreviousData; }
77 set { this.Fields[2].PreviousData = value; }
78 }
79
80 /// <summary>
81 /// Gets or sets the delta patch ignore-length list for the file.
82 /// </summary>
83 /// <value>IgnoreLength list for the file.</value>
84 public string IgnoreLengths
85 {
86 get { return (string)this.Fields[3].Data; }
87 set { this.Fields[3].Data = value; }
88 }
89
90 /// <summary>
91 /// Gets or sets the previous delta patch ignore-length list for the file.
92 /// </summary>
93 /// <value>Previous IgnoreLength list for the file.</value>
94 public string PreviousIgnoreLengths
95 {
96 get { return this.Fields[3].PreviousData; }
97 set { this.Fields[3].PreviousData = value; }
98 }
99
100 /// <summary>
101 /// Gets or sets the delta patch retain-offset list for the file.
102 /// </summary>
103 /// <value>RetainOffset list for the file.</value>
104 public string RetainOffsets
105 {
106 get { return (string)this.Fields[4].Data; }
107 set { this.Fields[4].Data = value; }
108 }
109
110 /// <summary>
111 /// Gets or sets the previous delta patch retain-offset list for the file.
112 /// </summary>
113 /// <value>PreviousRetainOffset list for the file.</value>
114 public string PreviousRetainOffsets
115 {
116 get { return this.Fields[4].PreviousData; }
117 set { this.Fields[4].PreviousData = value; }
118 }
119
120 /// <summary>
121 /// Gets or sets the symbol paths for the file.
122 /// </summary>
123 /// <value>SymbolPath list for the file.</value>
124 /// <remarks>This is set during binding.</remarks>
125 public string Symbols
126 {
127 get { return (string)this.Fields[5].Data; }
128 set { this.Fields[5].Data = value; }
129 }
130
131 /// <summary>
132 /// Gets or sets the previous symbol paths for the file.
133 /// </summary>
134 /// <value>PreviousSymbolPath list for the file.</value>
135 /// <remarks>This is set during binding.</remarks>
136 public string PreviousSymbols
137 {
138 get { return (string)this.Fields[5].PreviousData; }
139 set { this.Fields[5].PreviousData = value; }
140 }
141 }
142}
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 @@
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.Data.WindowsInstaller.Rows
4{
5 using WixToolset.Data.Tuples;
6
7 /// <summary>
8 /// Specialization of a row for the WixDeltaPatchSymbolPaths table.
9 /// </summary>
10 public sealed class WixDeltaPatchSymbolPathsRow : Row
11 {
12 /// <summary>
13 /// Creates a WixDeltaPatchSymbolPaths row that does not belong to a table.
14 /// </summary>
15 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
16 /// <param name="tableDef">TableDefinition this row belongs to and should get its column definitions from.</param>
17 public WixDeltaPatchSymbolPathsRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
18 base(sourceLineNumbers, tableDef)
19 {
20 }
21
22 /// <summary>
23 /// Creates a WixDeltaPatchSymbolPaths row that belongs to a table.
24 /// </summary>
25 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
26 /// <param name="table">Table this row belongs to and should get its column definitions from.</param>
27 public WixDeltaPatchSymbolPathsRow(SourceLineNumber sourceLineNumbers, Table table) :
28 base(sourceLineNumbers, table)
29 {
30 }
31
32 /// <summary>
33 /// Gets or sets the identifier the symbol paths apply to.
34 /// </summary>
35 /// <value>RetainLength list for the file.</value>
36 public string Id
37 {
38 get { return (string)this.Fields[0].Data; }
39 set { this.Fields[0].Data = value; }
40 }
41
42 /// <summary>
43 /// Gets or sets the type of the identifier.
44 /// </summary>
45 public SymbolPathType Type
46 {
47 get { return (SymbolPathType)this.Fields[1].AsInteger(); }
48 set { this.Fields[1].Data = value; }
49 }
50
51 /// <summary>
52 /// Gets or sets the delta patch symbol paths.
53 /// </summary>
54 public string SymbolPaths
55 {
56 get { return (string)this.Fields[2].Data; }
57 set { this.Fields[2].Data = value; }
58 }
59 }
60}
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 @@
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.Data.WindowsInstaller.Rows
4{
5 using System;
6
7 /// <summary>
8 /// Specialization of a row for the WixGroup table.
9 /// </summary>
10 public sealed class WixGroupRow : Row
11 {
12 /// <summary>
13 /// Creates a WixGroupRow row that belongs to a table.
14 /// </summary>
15 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
16 /// <param name="table">Table this row belongs to and should get its column definitions from.</param>
17 public WixGroupRow(SourceLineNumber sourceLineNumbers, Table table)
18 : base(sourceLineNumbers, table)
19 {
20 }
21
22 public WixGroupRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition)
23 : base(sourceLineNumbers, tableDefinition)
24 {
25 }
26
27 /// <summary>
28 /// Gets or sets the parent identifier of the complex reference.
29 /// </summary>
30 /// <value>Parent identifier of the complex reference.</value>
31 public string ParentId
32 {
33 get { return (string)this.Fields[0].Data; }
34 set { this.Fields[0].Data = value; }
35 }
36
37 /// <summary>
38 /// Gets the parent type of the complex reference.
39 /// </summary>
40 /// <value>Parent type of the complex reference.</value>
41 public ComplexReferenceParentType ParentType
42 {
43 get { return (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[1].Data); }
44 set { this.Fields[1].Data = value.ToString(); }
45 }
46
47 /// <summary>
48 /// Gets the child identifier of the complex reference.
49 /// </summary>
50 /// <value>Child identifier of the complex reference.</value>
51 public string ChildId
52 {
53 get { return (string)this.Fields[2].Data; }
54 set { this.Fields[2].Data = value; }
55 }
56
57 /// <summary>
58 /// Gets the child type of the complex reference.
59 /// </summary>
60 /// <value>Child type of the complex reference.</value>
61 public ComplexReferenceChildType ChildType
62 {
63 get { return (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[3].Data); }
64 set { this.Fields[3].Data = value.ToString(); }
65 }
66 }
67}
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 @@
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.Data.WindowsInstaller.Rows
4{
5 /// <summary>
6 /// Specialization of a row for the MediaTemplate table.
7 /// </summary>
8 public sealed class WixMediaTemplateRow : Row
9 {
10 /// <summary>
11 /// Creates a MediaTemplate row that belongs to a table.
12 /// </summary>
13 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
14 /// <param name="table">Table this MediaTeplate row belongs to and should get its column definitions from.</param>
15 public WixMediaTemplateRow(SourceLineNumber sourceLineNumbers, Table table)
16 : base(sourceLineNumbers, table)
17 {
18 }
19
20 public WixMediaTemplateRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition)
21 : base(sourceLineNumbers, tableDefinition)
22 {
23 }
24
25 /// <summary>
26 /// Gets or sets the cabinet template name for this media template row.
27 /// </summary>
28 /// <value>Cabinet name.</value>
29 public string CabinetTemplate
30 {
31 get { return (string)this.Fields[0].Data; }
32 set { this.Fields[0].Data = value; }
33 }
34
35 /// <summary>
36 /// Gets or sets the compression level for this media template row.
37 /// </summary>
38 /// <value>Compression level.</value>
39 public CompressionLevel? CompressionLevel
40 {
41 get { return (CompressionLevel?)this.Fields[1].AsNullableInteger(); }
42 set { this.Fields[1].Data = value; }
43 }
44
45 /// <summary>
46 /// Gets or sets the disk prompt for this media template row.
47 /// </summary>
48 /// <value>Disk prompt.</value>
49 public string DiskPrompt
50 {
51 get { return (string)this.Fields[2].Data; }
52 set { this.Fields[2].Data = value; }
53 }
54
55
56 /// <summary>
57 /// Gets or sets the volume label for this media template row.
58 /// </summary>
59 /// <value>Volume label.</value>
60 public string VolumeLabel
61 {
62 get { return (string)this.Fields[3].Data; }
63 set { this.Fields[3].Data = value; }
64 }
65
66 /// <summary>
67 /// Gets or sets the maximum uncompressed media size for this media template row.
68 /// </summary>
69 /// <value>Disk id.</value>
70 public int MaximumUncompressedMediaSize
71 {
72 get { return (int)this.Fields[4].Data; }
73 set { this.Fields[4].Data = value; }
74 }
75
76 /// <summary>
77 /// Gets or sets the Maximum Cabinet Size For Large File Splitting for this media template row.
78 /// </summary>
79 /// <value>Disk id.</value>
80 public int MaximumCabinetSizeForLargeFileSplitting
81 {
82 get { return (int)this.Fields[5].Data; }
83 set { this.Fields[5].Data = value; }
84 }
85 }
86}
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
1661 tupleIdIsPrimaryKey: false 1661 tupleIdIsPrimaryKey: false
1662 ); 1662 );
1663 1663
1664 public static readonly TableDefinition WixAction = new TableDefinition(
1665 "WixAction",
1666 TupleDefinitions.WixAction,
1667 new[]
1668 {
1669 new ColumnDefinition("SequenceTable", ColumnType.String, 62, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1670 new ColumnDefinition("Action", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1671 new ColumnDefinition("Condition", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Unknown, forceLocalizable: true),
1672 new ColumnDefinition("Sequence", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1673 new ColumnDefinition("Before", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1674 new ColumnDefinition("After", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1675 new ColumnDefinition("Overridable", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1676 },
1677 unreal: true,
1678 strongRowType: typeof(WixActionRow),
1679 tupleIdIsPrimaryKey: false
1680 );
1681
1682 public static readonly TableDefinition WixBBControl = new TableDefinition(
1683 "WixBBControl",
1684 null,
1685 new[]
1686 {
1687 new ColumnDefinition("Billboard_", ColumnType.String, 50, primaryKey: true, nullable: false, ColumnCategory.Unknown, modularizeType: ColumnModularizeType.Column),
1688 new ColumnDefinition("BBControl_", ColumnType.String, 50, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1689 new ColumnDefinition("SourceFile", ColumnType.Object, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1690 },
1691 unreal: true,
1692 tupleIdIsPrimaryKey: false
1693 );
1694
1695 public static readonly TableDefinition WixComponentGroup = new TableDefinition(
1696 "WixComponentGroup",
1697 TupleDefinitions.WixComponentGroup,
1698 new[]
1699 {
1700 new ColumnDefinition("WixComponentGroup", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1701 },
1702 unreal: true,
1703 tupleIdIsPrimaryKey: false
1704 );
1705
1706 public static readonly TableDefinition WixControl = new TableDefinition(
1707 "WixControl",
1708 null,
1709 new[]
1710 {
1711 new ColumnDefinition("Dialog_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown, modularizeType: ColumnModularizeType.Column),
1712 new ColumnDefinition("Control_", ColumnType.String, 50, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1713 new ColumnDefinition("SourceFile", ColumnType.Object, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1714 },
1715 unreal: true,
1716 tupleIdIsPrimaryKey: false
1717 );
1718
1719 public static readonly TableDefinition WixDirectory = new TableDefinition(
1720 "WixDirectory",
1721 null,
1722 new[]
1723 {
1724 new ColumnDefinition("Directory_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, modularizeType: ColumnModularizeType.Column),
1725 new ColumnDefinition("ComponentGuidGenerationSeed", ColumnType.String, 38, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1726 },
1727 unreal: true,
1728 tupleIdIsPrimaryKey: false
1729 );
1730
1731 public static readonly TableDefinition WixEnsureTable = new TableDefinition(
1732 "WixEnsureTable",
1733 TupleDefinitions.WixEnsureTable,
1734 new[]
1735 {
1736 new ColumnDefinition("Table", ColumnType.String, 31, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1737 },
1738 unreal: true,
1739 tupleIdIsPrimaryKey: false
1740 );
1741
1742 public static readonly TableDefinition WixFeatureGroup = new TableDefinition(
1743 "WixFeatureGroup",
1744 TupleDefinitions.WixFeatureGroup,
1745 new[]
1746 {
1747 new ColumnDefinition("WixFeatureGroup", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1748 },
1749 unreal: true,
1750 tupleIdIsPrimaryKey: true
1751 );
1752
1753 public static readonly TableDefinition WixPatchFamilyGroup = new TableDefinition(
1754 "WixPatchFamilyGroup",
1755 TupleDefinitions.WixPatchFamilyGroup,
1756 new[]
1757 {
1758 new ColumnDefinition("WixPatchFamilyGroup", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1759 },
1760 unreal: true,
1761 tupleIdIsPrimaryKey: false
1762 );
1763
1764 public static readonly TableDefinition WixGroup = new TableDefinition(
1765 "WixGroup",
1766 TupleDefinitions.WixGroup,
1767 new[]
1768 {
1769 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."),
1770 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."),
1771 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."),
1772 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."),
1773 },
1774 unreal: true,
1775 strongRowType: typeof(WixGroupRow),
1776 tupleIdIsPrimaryKey: false
1777 );
1778
1779 public static readonly TableDefinition WixFile = new TableDefinition(
1780 "WixFile",
1781 null,
1782 new[]
1783 {
1784 new ColumnDefinition("File_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column),
1785 new ColumnDefinition("AssemblyType", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
1786 new ColumnDefinition("File_AssemblyManifest", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column),
1787 new ColumnDefinition("File_AssemblyApplication", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column),
1788 new ColumnDefinition("Directory_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Unknown, keyTable: "Directory", keyColumn: 1, modularizeType: ColumnModularizeType.Column),
1789 new ColumnDefinition("DiskId", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1790 new ColumnDefinition("Source", ColumnType.Object, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1791 new ColumnDefinition("ProcessorArchitecture", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1792 new ColumnDefinition("PatchGroup", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1793 new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1794 new ColumnDefinition("PatchAttributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1795 new ColumnDefinition("DeltaPatchHeaderSource", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1796 },
1797 unreal: true,
1798 tupleIdIsPrimaryKey: false
1799 );
1800
1801 public static readonly TableDefinition WixBindUpdatedFiles = new TableDefinition(
1802 "WixBindUpdatedFiles",
1803 TupleDefinitions.WixBindUpdatedFiles,
1804 new[]
1805 {
1806 new ColumnDefinition("File_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column),
1807 },
1808 unreal: true,
1809 tupleIdIsPrimaryKey: false
1810 );
1811
1812 public static readonly TableDefinition WixBuildInfo = new TableDefinition(
1813 "WixBuildInfo",
1814 TupleDefinitions.WixBuildInfo,
1815 new[]
1816 {
1817 new ColumnDefinition("WixVersion", ColumnType.String, 20, primaryKey: false, nullable: false, ColumnCategory.Text, description: "Version number of WiX."),
1818 new ColumnDefinition("WixOutputFile", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Path to output file, if supplied."),
1819 new ColumnDefinition("WixProjectFile", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Path to .wixproj file, if supplied."),
1820 new ColumnDefinition("WixPdbFile", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text, description: "Path to .wixpdb file, if supplied."),
1821 },
1822 unreal: true,
1823 tupleIdIsPrimaryKey: false
1824 );
1825
1826 public static readonly TableDefinition WixFragment = new TableDefinition(
1827 "WixFragment",
1828 TupleDefinitions.WixFragment,
1829 new[]
1830 {
1831 new ColumnDefinition("WixFragment", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1832 },
1833 unreal: true,
1834 tupleIdIsPrimaryKey: true
1835 );
1836
1837 public static readonly TableDefinition WixInstanceComponent = new TableDefinition(
1838 "WixInstanceComponent",
1839 TupleDefinitions.WixInstanceComponent,
1840 new[]
1841 {
1842 new ColumnDefinition("Component_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, modularizeType: ColumnModularizeType.Column),
1843 },
1844 unreal: true,
1845 tupleIdIsPrimaryKey: false
1846 );
1847
1848 public static readonly TableDefinition WixInstanceTransforms = new TableDefinition(
1849 "WixInstanceTransforms",
1850 TupleDefinitions.WixInstanceTransforms,
1851 new[]
1852 {
1853 new ColumnDefinition("Id", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1854 new ColumnDefinition("PropertyId", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1855 new ColumnDefinition("ProductCode", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Guid),
1856 new ColumnDefinition("ProductName", ColumnType.Localized, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown, forceLocalizable: true),
1857 new ColumnDefinition("UpgradeCode", ColumnType.String, 38, primaryKey: false, nullable: true, ColumnCategory.Guid),
1858 },
1859 unreal: true,
1860 tupleIdIsPrimaryKey: true
1861 );
1862
1863 public static readonly TableDefinition WixMediaTemplate = new TableDefinition(
1864 "WixMediaTemplate",
1865 TupleDefinitions.WixMediaTemplate,
1866 new[]
1867 {
1868 new ColumnDefinition("CabinetTemplate", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1869 new ColumnDefinition("CompressionLevel", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 4),
1870 new ColumnDefinition("DiskPrompt", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1871 new ColumnDefinition("VolumeLabel", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1872 new ColumnDefinition("MaximumUncompressedMediaSize", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1873 new ColumnDefinition("MaximumCabinetSizeForLargeFileSplitting", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1874 },
1875 unreal: true,
1876 strongRowType: typeof(WixMediaTemplateRow),
1877 tupleIdIsPrimaryKey: false
1878 );
1879
1880 public static readonly TableDefinition WixOrdering = new TableDefinition(
1881 "WixOrdering",
1882 TupleDefinitions.WixOrdering,
1883 new[]
1884 {
1885 new ColumnDefinition("ItemType", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, description: "Primary key used to identify the item in another table."),
1886 new ColumnDefinition("ItemId_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Reference to an entry in another table."),
1887 new ColumnDefinition("DependsOnType", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, description: "Primary key used to identify the item in another table."),
1888 new ColumnDefinition("DependsOnId_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Reference to an entry in another table."),
1889 },
1890 unreal: true,
1891 tupleIdIsPrimaryKey: false
1892 );
1893
1894 public static readonly TableDefinition WixDeltaPatchFile = new TableDefinition(
1895 "WixDeltaPatchFile",
1896 TupleDefinitions.WixDeltaPatchFile,
1897 new[]
1898 {
1899 new ColumnDefinition("File_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown, keyTable: "File", keyColumn: 1, modularizeType: ColumnModularizeType.Column),
1900 new ColumnDefinition("RetainLengths", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text),
1901 new ColumnDefinition("IgnoreOffsets", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text),
1902 new ColumnDefinition("IgnoreLengths", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text),
1903 new ColumnDefinition("RetainOffsets", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text),
1904 new ColumnDefinition("SymbolPaths", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text),
1905 },
1906 unreal: true,
1907 strongRowType: typeof(WixDeltaPatchFileRow),
1908 tupleIdIsPrimaryKey: false
1909 );
1910
1911 public static readonly TableDefinition WixDeltaPatchSymbolPaths = new TableDefinition(
1912 "WixDeltaPatchSymbolPaths",
1913 TupleDefinitions.WixDeltaPatchSymbolPaths,
1914 new[]
1915 {
1916 new ColumnDefinition("Id", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1917 new ColumnDefinition("Type", ColumnType.Number, 2, primaryKey: true, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 4),
1918 new ColumnDefinition("SymbolPaths", ColumnType.Preserved, 0, primaryKey: false, nullable: false, ColumnCategory.Text),
1919 },
1920 unreal: true,
1921 strongRowType: typeof(WixDeltaPatchSymbolPathsRow),
1922 tupleIdIsPrimaryKey: false
1923 );
1924
1925 public static readonly TableDefinition WixPatchBaseline = new TableDefinition(
1926 "WixPatchBaseline",
1927 TupleDefinitions.WixPatchBaseline,
1928 new[]
1929 {
1930 new ColumnDefinition("WixPatchBaseline", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Primary key used to identify sets of transforms in a patch."),
1931 new ColumnDefinition("DiskId", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1932 new ColumnDefinition("ValidationFlags", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Integer, description: "Patch transform validation flags for the associated patch baseline."),
1933 },
1934 unreal: true,
1935 tupleIdIsPrimaryKey: true
1936 );
1937
1938 public static readonly TableDefinition WixPatchRef = new TableDefinition(
1939 "WixPatchRef",
1940 TupleDefinitions.WixPatchRef,
1941 new[]
1942 {
1943 new ColumnDefinition("Table", ColumnType.String, 32, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1944 new ColumnDefinition("PrimaryKeys", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1945 },
1946 unreal: true,
1947 tupleIdIsPrimaryKey: false
1948 );
1949
1950 public static readonly TableDefinition WixPatchId = new TableDefinition(
1951 "WixPatchId",
1952 TupleDefinitions.WixPatchId,
1953 new[]
1954 {
1955 new ColumnDefinition("ProductCode", ColumnType.String, 38, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1956 new ColumnDefinition("ClientPatchId", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1957 new ColumnDefinition("OptimizePatchSizeForLargeFiles", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
1958 new ColumnDefinition("ApiPatchingSymbolFlags", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 7),
1959 },
1960 unreal: true,
1961 tupleIdIsPrimaryKey: true
1962 );
1963
1964 public static readonly TableDefinition WixPatchTarget = new TableDefinition(
1965 "WixPatchTarget",
1966 TupleDefinitions.WixPatchTarget,
1967 new[]
1968 {
1969 new ColumnDefinition("ProductCode", ColumnType.String, 38, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1970 },
1971 unreal: true,
1972 tupleIdIsPrimaryKey: false
1973 );
1974
1975 public static readonly TableDefinition WixPatchMetadata = new TableDefinition(
1976 "WixPatchMetadata",
1977 null,
1978 new[]
1979 {
1980 new ColumnDefinition("Property", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1981 new ColumnDefinition("Value", ColumnType.Localized, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1982 },
1983 unreal: true,
1984 tupleIdIsPrimaryKey: false
1985 );
1986
1987 public static readonly TableDefinition WixUI = new TableDefinition(
1988 "WixUI",
1989 TupleDefinitions.WixUI,
1990 new[]
1991 {
1992 new ColumnDefinition("WixUI", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown),
1993 },
1994 unreal: true,
1995 tupleIdIsPrimaryKey: true
1996 );
1997
1998 public static readonly TableDefinition WixVariable = new TableDefinition(
1999 "WixVariable",
2000 TupleDefinitions.WixVariable,
2001 new[]
2002 {
2003 new ColumnDefinition("WixVariable", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2004 new ColumnDefinition("Value", ColumnType.Localized, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2005 new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2006 },
2007 unreal: true,
2008 tupleIdIsPrimaryKey: true
2009 );
2010
2011 public static readonly TableDefinition Streams = new TableDefinition( 1664 public static readonly TableDefinition Streams = new TableDefinition(
2012 "_Streams", 1665 "_Streams",
2013 null, 1666 null,
@@ -2187,32 +1840,6 @@ namespace WixToolset.Data.WindowsInstaller
2187 TargetFilesOptionalData, 1840 TargetFilesOptionalData,
2188 FamilyFileRanges, 1841 FamilyFileRanges,
2189 ExternalFiles, 1842 ExternalFiles,
2190 WixAction,
2191 WixBBControl,
2192 WixComponentGroup,
2193 WixControl,
2194 WixDirectory,
2195 WixEnsureTable,
2196 WixFeatureGroup,
2197 WixPatchFamilyGroup,
2198 WixGroup,
2199 WixFile,
2200 WixBindUpdatedFiles,
2201 WixBuildInfo,
2202 WixFragment,
2203 WixInstanceComponent,
2204 WixInstanceTransforms,
2205 WixMediaTemplate,
2206 WixOrdering,
2207 WixDeltaPatchFile,
2208 WixDeltaPatchSymbolPaths,
2209 WixPatchBaseline,
2210 WixPatchRef,
2211 WixPatchId,
2212 WixPatchTarget,
2213 WixPatchMetadata,
2214 WixUI,
2215 WixVariable,
2216 Streams, 1843 Streams,
2217 SummaryInformation, 1844 SummaryInformation,
2218 TransformView, 1845 TransformView,