@joebigelow / wix / commits / 2b3c14c7

Remove bundle table definitions and rows.

Sean Hall committed Apr 18, 2020 at 12:27 UTC 2b3c14c790e8a95edabecf2d7bb50baa58d8e95b
28 files changed -2910
src/WixToolset.Data/WindowsInstaller/Rows/ContainerType.cs deleted
-13
@@ -1,13 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Types of bundle packages.
7 - /// </summary>
8 - public enum ContainerType
9 - {
10 - Attached,
11 - Detached,
12 - }
13 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixApprovedExeForElevationRow.cs deleted
-80
@@ -1,80 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using WixToolset.Data.Tuples;
6 -
7 - /// <summary>
8 - /// Specialization of a row for the WixApprovedExeForElevation table.
9 - /// </summary>
10 - public class WixApprovedExeForElevationRow : Row
11 - {
12 - /// <summary>
13 - /// Creates an ApprovedExeForElevation 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 ApprovedExeForElevation row belongs to and should get its column definitions from.</param>
17 - public WixApprovedExeForElevationRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
18 - base(sourceLineNumbers, tableDef)
19 - {
20 - }
21 -
22 - /// <summary>
23 - /// Creates an ApprovedExeForElevation 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 ApprovedExeForElevation row belongs to and should get its column definitions from.</param>
27 - public WixApprovedExeForElevationRow(SourceLineNumber sourceLineNumbers, Table table)
28 - : base(sourceLineNumbers, table)
29 - {
30 - }
31 -
32 - /// <summary>
33 - /// Gets or sets the ApprovedExeForElevation identifier.
34 - /// </summary>
35 - /// <value>The ApprovedExeForElevation identifier.</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 Key path.
44 - /// </summary>
45 - /// <value>The Key path.</value>
46 - public string Key
47 - {
48 - get { return (string)this.Fields[1].Data; }
49 - set { this.Fields[1].Data = value; }
50 - }
51 -
52 - /// <summary>
53 - /// Gets or sets the Value name.
54 - /// </summary>
55 - /// <value>The Value name.</value>
56 - public string ValueName
57 - {
58 - get { return (string)this.Fields[2].Data; }
59 - set { this.Fields[2].Data = value; }
60 - }
61 -
62 - /// <summary>
63 - /// Gets or sets the attibutes.
64 - /// </summary>
65 - /// <value>The BundleApprovedExeForElevationAttributes.</value>
66 - public WixApprovedExeForElevationAttributes Attributes
67 - {
68 - get { return (WixApprovedExeForElevationAttributes)this.Fields[3].Data; }
69 - set { this.Fields[3].Data = (int)value; }
70 - }
71 -
72 - /// <summary>
73 - /// Gets whether this row is 64-bit.
74 - /// </summary>
75 - public bool Win64
76 - {
77 - get { return WixApprovedExeForElevationAttributes.Win64 == (this.Attributes & WixApprovedExeForElevationAttributes.Win64); }
78 - }
79 - }
80 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleCatalogRow.cs deleted
-50
@@ -1,50 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the WixCatalog table.
7 - /// </summary>
8 - public sealed class WixBundleCatalogRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a Catalog 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 Catalog row belongs to and should get its column definitions from.</param>
15 - public WixBundleCatalogRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a Catalog 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 Catalog row belongs to and should get its column definitions from.</param>
25 - public WixBundleCatalogRow(SourceLineNumber sourceLineNumbers, Table table)
26 - : base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - /// <summary>
31 - /// Gets or sets the catalog identifier.
32 - /// </summary>
33 - /// <value>The catalog identifier.</value>
34 - public string Id
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 payload identifier.
42 - /// </summary>
43 - /// <value>The payload identifier.</value>
44 - public string Payload
45 - {
46 - get { return (string)this.Fields[1].Data; }
47 - set { this.Fields[1].Data = value; }
48 - }
49 - }
50 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleContainerRow.cs deleted
-78
@@ -1,78 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the Container table.
7 - /// </summary>
8 - public class WixBundleContainerRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a ContainerRow 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 WixBundleContainerRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a ContainerRow 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 Media row belongs to and should get its column definitions from.</param>
25 - public WixBundleContainerRow(SourceLineNumber sourceLineNumbers, Table table) :
26 - base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - public string Id
31 - {
32 - get { return (string)this.Fields[0].Data; }
33 - set { this.Fields[0].Data = value; }
34 - }
35 -
36 - public string Name
37 - {
38 - get { return (string)this.Fields[1].Data; }
39 - set { this.Fields[1].Data = value; }
40 - }
41 -
42 - public ContainerType Type
43 - {
44 - get { return (ContainerType)this.Fields[2].Data; }
45 - set { this.Fields[2].Data = (int)value; }
46 - }
47 -
48 - public string DownloadUrl
49 - {
50 - get { return (string)this.Fields[3].Data; }
51 - set { this.Fields[3].Data = value; }
52 - }
53 -
54 - public long Size
55 - {
56 - get { return (long)this.Fields[4].Data; }
57 - set { this.Fields[4].Data = value; }
58 - }
59 -
60 - public string Hash
61 - {
62 - get { return (string)this.Fields[5].Data; }
63 - set { this.Fields[5].Data = value; }
64 - }
65 -
66 - public int AttachedContainerIndex
67 - {
68 - get { return (null == this.Fields[6].Data) ? -1 : (int)this.Fields[6].Data; }
69 - set { this.Fields[6].Data = value; }
70 - }
71 -
72 - public string WorkingPath
73 - {
74 - get { return (string)this.Fields[7].Data; }
75 - set { this.Fields[7].Data = value; }
76 - }
77 - }
78 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleExePackageRow.cs deleted
-104
@@ -1,104 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using System;
6 - using WixToolset.Data.Tuples;
7 -
8 - /// <summary>
9 - /// Specialization of a row for the WixBundleExePackage table.
10 - /// </summary>
11 - public sealed class WixBundleExePackageRow : Row
12 - {
13 - /// <summary>
14 - /// Creates a WixBundleExePackage row that does not belong to a table.
15 - /// </summary>
16 - /// <param name="sourceLineNumbers">Original source lines for this row.</param>
17 - /// <param name="tableDef">TableDefinition this row belongs to and should get its column definitions from.</param>
18 - public WixBundleExePackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
19 - base(sourceLineNumbers, tableDef)
20 - {
21 - }
22 -
23 - /// <summary>
24 - /// Creates a WixBundleExePackageRow row that belongs to a table.
25 - /// </summary>
26 - /// <param name="sourceLineNumbers">Original source lines for this row.</param>
27 - /// <param name="table">Table this row belongs to and should get its column definitions from.</param>
28 - public WixBundleExePackageRow(SourceLineNumber sourceLineNumbers, Table table) :
29 - base(sourceLineNumbers, table)
30 - {
31 - }
32 -
33 - /// <summary>
34 - /// Gets or sets the foreign key identifier to the ChainPackage row.
35 - /// </summary>
36 - public string ChainPackageId
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 raw Exe attributes of a patch.
44 - /// </summary>
45 - public WixBundleExePackageAttributes Attributes
46 - {
47 - get { return (WixBundleExePackageAttributes)this.Fields[1].Data; }
48 - set { this.Fields[1].Data = value; }
49 - }
50 -
51 - /// <summary>
52 - /// Gets or sets the protcol for the executable package.
53 - /// </summary>
54 - public string DetectCondition
55 - {
56 - get { return (string)this.Fields[2].Data; }
57 - set { this.Fields[2].Data = value; }
58 - }
59 -
60 - /// <summary>
61 - /// Gets or sets the install command for the executable package.
62 - /// </summary>
63 - public string InstallCommand
64 - {
65 - get { return (string)this.Fields[3].Data; }
66 - set { this.Fields[3].Data = value; }
67 - }
68 -
69 - /// <summary>
70 - /// Gets or sets the repair command for the executable package.
71 - /// </summary>
72 - public string RepairCommand
73 - {
74 - get { return (string)this.Fields[4].Data; }
75 - set { this.Fields[4].Data = value; }
76 - }
77 -
78 - /// <summary>
79 - /// Gets or sets the uninstall command for the executable package.
80 - /// </summary>
81 - public string UninstallCommand
82 - {
83 - get { return (string)this.Fields[5].Data; }
84 - set { this.Fields[5].Data = value; }
85 - }
86 -
87 - /// <summary>
88 - /// Gets or sets the protcol for the executable package.
89 - /// </summary>
90 - public string ExeProtocol
91 - {
92 - get { return (string)this.Fields[6].Data; }
93 - set { this.Fields[6].Data = value; }
94 - }
95 -
96 - /// <summary>
97 - /// Gets whether the executable package is repairable.
98 - /// </summary>
99 - public bool Repairable
100 - {
101 - get { return !String.IsNullOrEmpty(this.RepairCommand); }
102 - }
103 - }
104 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleMsiFeatureRow.cs deleted
-93
@@ -1,93 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the MsiFeature table.
7 - /// </summary>
8 - public class WixBundleMsiFeatureRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a MsiFeatureRow 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 WixBundleMsiFeatureRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a MsiFeatureRow 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 Media row belongs to and should get its column definitions from.</param>
25 - public WixBundleMsiFeatureRow(SourceLineNumber sourceLineNumbers, Table table) :
26 - base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - /// <summary>
31 - /// Gets or sets the foreign key identifier to the ChainPackage row.
32 - /// </summary>
33 - public string ChainPackageId
34 - {
35 - get { return (string)this.Fields[0].Data; }
36 - set { this.Fields[0].Data = value; }
37 - }
38 -
39 - public string Name
40 - {
41 - get { return (string)this.Fields[1].Data; }
42 - set { this.Fields[1].Data = value; }
43 - }
44 -
45 - public long Size
46 - {
47 - get { return (long)this.Fields[2].Data; }
48 - set { this.Fields[2].Data = value; }
49 - }
50 -
51 - public string Parent
52 - {
53 - get { return (string)this.Fields[3].Data; }
54 - set { this.Fields[3].Data = value; }
55 - }
56 -
57 - public string Title
58 - {
59 - get { return (string)this.Fields[4].Data; }
60 - set { this.Fields[4].Data = value; }
61 - }
62 -
63 - public string Description
64 - {
65 - get { return (string)this.Fields[5].Data; }
66 - set { this.Fields[5].Data = value; }
67 - }
68 -
69 - public int Display
70 - {
71 - get { return (int)this.Fields[6].Data; }
72 - set { this.Fields[6].Data = value; }
73 - }
74 -
75 - public int Level
76 - {
77 - get { return (int)this.Fields[7].Data; }
78 - set { this.Fields[7].Data = value; }
79 - }
80 -
81 - public string Directory
82 - {
83 - get { return (string)this.Fields[8].Data; }
84 - set { this.Fields[8].Data = value; }
85 - }
86 -
87 - public int Attributes
88 - {
89 - get { return (int)this.Fields[9].Data; }
90 - set { this.Fields[9].Data = value; }
91 - }
92 - }
93 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleMsiPackageRow.cs deleted
-130
@@ -1,130 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using System;
6 - using System.Globalization;
7 - using WixToolset.Data.Tuples;
8 -
9 - /// <summary>
10 - /// Specialization of a row for the WixBundleMsiPackage table.
11 - /// </summary>
12 - public sealed class WixBundleMsiPackageRow : Row
13 - {
14 - /// <summary>
15 - /// Creates a WixBundleMsiPackage row that does not belong to a table.
16 - /// </summary>
17 - /// <param name="sourceLineNumbers">Original source lines for this row.</param>
18 - /// <param name="tableDef">TableDefinition this row belongs to and should get its column definitions from.</param>
19 - public WixBundleMsiPackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
20 - base(sourceLineNumbers, tableDef)
21 - {
22 - }
23 -
24 - /// <summary>
25 - /// Creates a WixBundleMsiPackageRow row that belongs to a table.
26 - /// </summary>
27 - /// <param name="sourceLineNumbers">Original source lines for this row.</param>
28 - /// <param name="table">Table this row belongs to and should get its column definitions from.</param>
29 - public WixBundleMsiPackageRow(SourceLineNumber sourceLineNumbers, Table table) :
30 - base(sourceLineNumbers, table)
31 - {
32 - }
33 -
34 - /// <summary>
35 - /// Gets or sets the foreign key identifier to the ChainPackage row.
36 - /// </summary>
37 - public string ChainPackageId
38 - {
39 - get { return (string)this.Fields[0].Data; }
40 - set { this.Fields[0].Data = value; }
41 - }
42 -
43 - /// <summary>
44 - /// Gets or sets the raw MSI attributes of a package.
45 - /// </summary>
46 - public WixBundleMsiPackageAttributes Attributes
47 - {
48 - get { return (WixBundleMsiPackageAttributes)this.Fields[1].Data; }
49 - set { this.Fields[1].Data = value; }
50 - }
51 -
52 - /// <summary>
53 - /// Gets or sets the MSI package's product code.
54 - /// </summary>
55 - public string ProductCode
56 - {
57 - get { return (string)this.Fields[2].Data; }
58 - set { this.Fields[2].Data = value; }
59 - }
60 -
61 - /// <summary>
62 - /// Gets or sets the MSI package's upgrade code.
63 - /// </summary>
64 - public string UpgradeCode
65 - {
66 - get { return (string)this.Fields[3].Data; }
67 - set { this.Fields[3].Data = value; }
68 - }
69 -
70 - /// <summary>
71 - /// Gets or sets the product version of the MSI package.
72 - /// </summary>
73 - public string ProductVersion
74 - {
75 - get { return (string)this.Fields[4].Data; }
76 - set { this.Fields[4].Data = value; }
77 - }
78 -
79 - /// <summary>
80 - /// Gets or sets the language of the MSI package.
81 - /// </summary>
82 - public int ProductLanguage
83 - {
84 - get { return Convert.ToInt32(this.Fields[5].Data, CultureInfo.InvariantCulture); }
85 - set { this.Fields[5].Data = value; }
86 - }
87 -
88 - /// <summary>
89 - /// Gets or sets the product name of the MSI package.
90 - /// </summary>
91 - public string ProductName
92 - {
93 - get { return (string)this.Fields[6].Data; }
94 - set { this.Fields[6].Data = value; }
95 - }
96 -
97 - /// <summary>
98 - /// Gets or sets the MSI package's manufacturer.
99 - /// </summary>
100 - public string Manufacturer
101 - {
102 - get { return (string)this.Fields[7].Data; }
103 - set { this.Fields[7].Data = value; }
104 - }
105 -
106 - /// <summary>
107 - /// Gets the display internal UI of a package.
108 - /// </summary>
109 - public bool DisplayInternalUI
110 - {
111 - get { return 0 != (this.Attributes & WixBundleMsiPackageAttributes.DisplayInternalUI); }
112 - }
113 -
114 - /// <summary>
115 - /// Gets the display internal UI of a package.
116 - /// </summary>
117 - public bool EnableFeatureSelection
118 - {
119 - get { return 0 != (this.Attributes & WixBundleMsiPackageAttributes.EnableFeatureSelection); }
120 - }
121 -
122 - /// <summary>
123 - /// Gets the display internal UI of a package.
124 - /// </summary>
125 - public bool ForcePerMachine
126 - {
127 - get { return 0 != (this.Attributes & WixBundleMsiPackageAttributes.ForcePerMachine); }
128 - }
129 - }
130 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleMsiPropertyRow.cs deleted
-58
@@ -1,58 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the WixBundleMsiProperty table.
7 - /// </summary>
8 - public sealed class WixBundleMsiPropertyRow : Row
9 - {
10 - /// <summary>
11 - /// Creates an WixBundleMsiProperty 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 WixBundleMsiProperty row belongs to and should get its column definitions from.</param>
15 - public WixBundleMsiPropertyRow(SourceLineNumber sourceLineNumbers, Table table) :
16 - base(sourceLineNumbers, table)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Gets or sets the foreign key identifier to the ChainPackage row.
22 - /// </summary>
23 - public string ChainPackageId
24 - {
25 - get { return (string)this.Fields[0].Data; }
26 - set { this.Fields[0].Data = value; }
27 - }
28 -
29 - /// <summary>
30 - /// Gets and sets the property identity.
31 - /// </summary>
32 - public string Name
33 - {
34 - get { return (string)this.Fields[1].Data; }
35 - set { this.Fields[1].Data = value; }
36 - }
37 -
38 - /// <summary>
39 - /// Gets and sets the value for the row.
40 - /// </summary>
41 - /// <value>MsiProperty value for the row.</value>
42 - public string Value
43 - {
44 - get { return (string)this.Fields[2].Data; }
45 - set { this.Fields[2].Data = value; }
46 - }
47 -
48 - /// <summary>
49 - /// Gets and sets the condition for the row.
50 - /// </summary>
51 - /// <value>MsiProperty condition for the row.</value>
52 - public string Condition
53 - {
54 - get { return (string)this.Fields[3].Data; }
55 - set { this.Fields[3].Data = value; }
56 - }
57 - }
58 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleMspPackageRow.cs deleted
-101
@@ -1,101 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using WixToolset.Data.Tuples;
6 -
7 - /// <summary>
8 - /// Specialization of a row for the ChainMspPackage table.
9 - /// </summary>
10 - public sealed class WixBundleMspPackageRow : Row
11 - {
12 - /// <summary>
13 - /// Creates a ChainMspPackage 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 WixBundleMspPackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
18 - base(sourceLineNumbers, tableDef)
19 - {
20 - }
21 -
22 - /// <summary>
23 - /// Creates a WixBundleMspPackage 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 WixBundleMspPackageRow(SourceLineNumber sourceLineNumbers, Table table) :
28 - base(sourceLineNumbers, table)
29 - {
30 - }
31 -
32 - /// <summary>
33 - /// Gets or sets the foreign key identifier to the ChainPackage row.
34 - /// </summary>
35 - public string ChainPackageId
36 - {
37 - get { return (string)this.Fields[0].Data; }
38 - set { this.Fields[0].Data = value; }
39 - }
40 -
41 - /// <summary>
42 - /// Gets or sets the raw MSP attributes of a patch.
43 - /// </summary>
44 - public WixBundleMspPackageAttributes Attributes
45 - {
46 - get { return (WixBundleMspPackageAttributes)this.Fields[1].Data; }
47 - set { this.Fields[1].Data = value; }
48 - }
49 -
50 - /// <summary>
51 - /// Gets or sets the patch code.
52 - /// </summary>
53 - public string PatchCode
54 - {
55 - get { return (string)this.Fields[2].Data; }
56 - set { this.Fields[2].Data = value; }
57 - }
58 -
59 - /// <summary>
60 - /// Gets or sets the patch's manufacturer.
61 - /// </summary>
62 - public string Manufacturer
63 - {
64 - get { return (string)this.Fields[3].Data; }
65 - set { this.Fields[3].Data = value; }
66 - }
67 -
68 - /// <summary>
69 - /// Gets or sets the patch's xml.
70 - /// </summary>
71 - public string PatchXml
72 - {
73 - get { return (string)this.Fields[4].Data; }
74 - set { this.Fields[4].Data = value; }
75 - }
76 -
77 - /// <summary>
78 - /// Gets the display internal UI of a patch.
79 - /// </summary>
80 - public bool DisplayInternalUI
81 - {
82 - get { return 0 != (this.Attributes & WixBundleMspPackageAttributes.DisplayInternalUI); }
83 - }
84 -
85 - /// <summary>
86 - /// Gets whether to slipstream the patch.
87 - /// </summary>
88 - public bool Slipstream
89 - {
90 - get { return 0 != (this.Attributes & WixBundleMspPackageAttributes.Slipstream); }
91 - }
92 -
93 - /// <summary>
94 - /// Gets whether the patch targets an unspecified number of packages.
95 - /// </summary>
96 - public bool TargetUnspecified
97 - {
98 - get { return 0 != (this.Attributes & WixBundleMspPackageAttributes.TargetUnspecified); }
99 - }
100 - }
101 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleMsuPackageRow.cs deleted
-57
@@ -1,57 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the WixBundleMsuPackage table.
7 - /// </summary>
8 - public sealed class WixBundleMsuPackageRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a WixBundleMsuPackage 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 row belongs to and should get its column definitions from.</param>
15 - public WixBundleMsuPackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a WixBundleMsuPackage 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 row belongs to and should get its column definitions from.</param>
25 - public WixBundleMsuPackageRow(SourceLineNumber sourceLineNumbers, Table table) :
26 - base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - /// <summary>
31 - /// Gets or sets the foreign key identifier to the ChainPackage row.
32 - /// </summary>
33 - public string ChainPackageId
34 - {
35 - get { return (string)this.Fields[0].Data; }
36 - set { this.Fields[0].Data = value; }
37 - }
38 -
39 - /// <summary>
40 - /// Gets or sets the detection condition the package.
41 - /// </summary>
42 - public string DetectCondition
43 - {
44 - get { return (string)this.Fields[1].Data; }
45 - set { this.Fields[1].Data = value; }
46 - }
47 -
48 - /// <summary>
49 - /// Gets or sets the KB of the package.
50 - /// </summary>
51 - public string MsuKB
52 - {
53 - get { return (string)this.Fields[2].Data; }
54 - set { this.Fields[2].Data = value; }
55 - }
56 - }
57 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePackageCommandLineRow.cs deleted
-80
@@ -1,80 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the WixBundlePackageCommandLine table.
7 - /// </summary>
8 - public class WixBundlePackageCommandLineRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a WixBundlePackageCommandLineRow 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 WixBundlePackageCommandLineRow row belongs to and should get its column definitions from.</param>
15 - public WixBundlePackageCommandLineRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates an WixBundlePackageCommandLineRow 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 WixBundlePackageCommandLineRow row belongs to and should get its column definitions from.</param>
25 - public WixBundlePackageCommandLineRow(SourceLineNumber sourceLineNumbers, Table table)
26 - : base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - /// <summary>
31 - /// Gets or sets the package identifier.
32 - /// </summary>
33 - /// <value>The package identifier.</value>
34 - public string ChainPackageId
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 command-line argument for installation.
42 - /// </summary>
43 - /// <value>The command-line argument.</value>
44 - public string InstallArgument
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 command-line argument for uninstallation.
52 - /// </summary>
53 - /// <value>The command-line argument.</value>
54 - public string UninstallArgument
55 - {
56 - get { return (string)this.Fields[2].Data; }
57 - set { this.Fields[2].Data = value; }
58 - }
59 -
60 - /// <summary>
61 - /// Gets or sets the command-line argument for repair.
62 - /// </summary>
63 - /// <value>The command-line argument.</value>
64 - public string RepairArgument
65 - {
66 - get { return (string)this.Fields[3].Data; }
67 - set { this.Fields[3].Data = value; }
68 - }
69 -
70 - /// <summary>
71 - /// Gets or sets the condition.
72 - /// </summary>
73 - /// <value>The condition.</value>
74 - public string Condition
75 - {
76 - get { return (string)this.Fields[4].Data; }
77 - set { this.Fields[4].Data = value; }
78 - }
79 - }
80 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePackageExitCodeRow.cs deleted
-53
@@ -1,53 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using WixToolset.Data.Tuples;
6 -
7 - /// <summary>
8 - /// Specialization of a row for the ExitCode table.
9 - /// </summary>
10 - public class WixBundlePackageExitCodeRow : Row
11 - {
12 - /// <summary>
13 - /// Creates a ExitCodeRow 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 Media row belongs to and should get its column definitions from.</param>
17 - public WixBundlePackageExitCodeRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
18 - base(sourceLineNumbers, tableDef)
19 - {
20 - }
21 -
22 - /// <summary>
23 - /// Creates a ExitCodeRow 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 Media row belongs to and should get its column definitions from.</param>
27 - public WixBundlePackageExitCodeRow(SourceLineNumber sourceLineNumbers, Table table) :
28 - base(sourceLineNumbers, table)
29 - {
30 - }
31 -
32 - /// <summary>
33 - /// Gets or sets the foreign key identifier to the ChainPackage row.
34 - /// </summary>
35 - public string ChainPackageId
36 - {
37 - get { return (string)this.Fields[0].Data; }
38 - set { this.Fields[0].Data = value; }
39 - }
40 -
41 - public int? Code
42 - {
43 - get { return (null == this.Fields[1].Data) ? (int?)null : (int?)this.Fields[1].Data; }
44 - set { this.Fields[1].Data = value; }
45 - }
46 -
47 - public ExitCodeBehaviorType Behavior
48 - {
49 - get { return (ExitCodeBehaviorType)this.Fields[2].Data; }
50 - set { this.Fields[2].Data = (int)value; }
51 - }
52 - }
53 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePackageRow.cs deleted
-228
@@ -1,228 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using WixToolset.Data.Tuples;
6 -
7 - /// <summary>
8 - /// Specialization of a row for the WixBundlePackage table.
9 - /// </summary>
10 - public sealed class WixBundlePackageRow : Row
11 - {
12 - /// <summary>
13 - /// Creates a WixBundlePackage 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 WixBundlePackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
18 - base(sourceLineNumbers, tableDef)
19 - {
20 - }
21 -
22 - /// <summary>
23 - /// Creates a WixBundlePackage 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 WixBundlePackageRow(SourceLineNumber sourceLineNumbers, Table table) :
28 - base(sourceLineNumbers, table)
29 - {
30 - }
31 -
32 - /// <summary>
33 - /// Gets or sets the foreign key to the WixChainItem.
34 - /// </summary>
35 - public string WixChainItemId
36 - {
37 - get { return (string)this.Fields[0].Data; }
38 - set { this.Fields[0].Data = value; }
39 - }
40 -
41 - /// <summary>
42 - /// Gets or sets the item type.
43 - /// </summary>
44 - public WixBundlePackageType Type
45 - {
46 - get { return (WixBundlePackageType)this.Fields[1].Data; }
47 - set { this.Fields[1].Data = (int)value; }
48 - }
49 -
50 - /// <summary>
51 - /// Gets or sets the indentifier of the package's payload.
52 - /// </summary>
53 - public string PackagePayload
54 - {
55 - get { return (string)this.Fields[2].Data; }
56 - set { this.Fields[2].Data = value; }
57 - }
58 -
59 - /// <summary>
60 - /// Gets or sets the raw attributes of a package.
61 - /// </summary>
62 - public WixBundlePackageAttributes Attributes
63 - {
64 - get { return (WixBundlePackageAttributes)this.Fields[3].Data; }
65 - set { this.Fields[3].Data = value; }
66 - }
67 -
68 - /// <summary>
69 - /// Gets or sets the install condition of the package.
70 - /// </summary>
71 - public string InstallCondition
72 - {
73 - get { return (string)this.Fields[4].Data; }
74 - set { this.Fields[4].Data = value; }
75 - }
76 -
77 - /// <summary>
78 - /// Gets or sets the language of the package.
79 - /// </summary>
80 - public YesNoAlwaysType Cache
81 - {
82 - get { return (null == this.Fields[5].Data) ? YesNoAlwaysType.NotSet : (YesNoAlwaysType)this.Fields[5].Data; }
83 - set { this.Fields[5].Data = (int)value; }
84 - }
85 -
86 - /// <summary>
87 - /// Gets or sets the indentifier of the package's cache.
88 - /// </summary>
89 - public string CacheId
90 - {
91 - get { return (string)this.Fields[6].Data; }
92 - set { this.Fields[6].Data = value; }
93 - }
94 -
95 - /// <summary>
96 - /// Gets or sets whether the package is vital.
97 - /// </summary>
98 - public YesNoType Vital
99 - {
100 - get { return (null == this.Fields[7].Data) ? YesNoType.NotSet : (YesNoType)this.Fields[7].Data; }
101 - set { this.Fields[7].Data = (int)value; }
102 - }
103 -
104 - /// <summary>
105 - /// Gets or sets whether the package is per-machine.
106 - /// </summary>
107 - public YesNoDefaultType PerMachine
108 - {
109 - get { return (null == this.Fields[8].Data) ? YesNoDefaultType.NotSet : (YesNoDefaultType)this.Fields[8].Data; }
110 - set { this.Fields[8].Data = (int)value; }
111 - }
112 -
113 - /// <summary>
114 - /// Gets or sets the variable that points to the log for the package.
115 - /// </summary>
116 - public string LogPathVariable
117 - {
118 - get { return (string)this.Fields[9].Data; }
119 - set { this.Fields[9].Data = value; }
120 - }
121 -
122 - /// <summary>
123 - /// Gets or sets the variable that points to the rollback log for the package.
124 - /// </summary>
125 - public string RollbackLogPathVariable
126 - {
127 - get { return (string)this.Fields[10].Data; }
128 - set { this.Fields[10].Data = value; }
129 - }
130 -
131 - /// <summary>
132 - /// Gets or sets the size of the package.
133 - /// </summary>
134 - public long Size
135 - {
136 - get { return (long)this.Fields[11].Data; }
137 - set { this.Fields[11].Data = value; }
138 - }
139 -
140 - /// <summary>
141 - /// Gets or sets the install size of the package.
142 - /// </summary>
143 - public long? InstallSize
144 - {
145 - get { return (long?)this.Fields[12].Data; }
146 - set { this.Fields[12].Data = value; }
147 - }
148 -
149 - /// <summary>
150 - /// Gets or sets the version of the package.
151 - /// </summary>
152 - public string Version
153 - {
154 - get { return (string)this.Fields[13].Data; }
155 - set { this.Fields[13].Data = value; }
156 - }
157 -
158 - /// <summary>
159 - /// Gets or sets the language of the package.
160 - /// </summary>
161 - public int Language
162 - {
163 - get { return (int)this.Fields[14].Data; }
164 - set { this.Fields[14].Data = value; }
165 - }
166 -
167 - /// <summary>
168 - /// Gets or sets the display name of the package.
169 - /// </summary>
170 - public string DisplayName
171 - {
172 - get { return (string)this.Fields[15].Data; }
173 - set { this.Fields[15].Data = value; }
174 - }
175 -
176 - /// <summary>
177 - /// Gets or sets the description of the package.
178 - /// </summary>
179 - public string Description
180 - {
181 - get { return (string)this.Fields[16].Data; }
182 - set { this.Fields[16].Data = value; }
183 - }
184 -
185 - /// <summary>
186 - /// Gets or sets the rollback boundary identifier for the package.
187 - /// </summary>
188 - public string RollbackBoundary
189 - {
190 - get { return (string)this.Fields[17].Data; }
191 - set { this.Fields[17].Data = value; }
192 - }
193 -
194 - /// <summary>
195 - /// Gets or sets the backward rollback boundary identifier for the package.
196 - /// </summary>
197 - public string RollbackBoundaryBackward
198 - {
199 - get { return (string)this.Fields[18].Data; }
200 - set { this.Fields[18].Data = value; }
201 - }
202 -
203 - /// <summary>
204 - /// Gets or sets whether the package is x64.
205 - /// </summary>
206 - public YesNoType x64
207 - {
208 - get { return (null == this.Fields[19].Data) ? YesNoType.NotSet : (YesNoType)this.Fields[19].Data; }
209 - set { this.Fields[19].Data = (int)value; }
210 - }
211 -
212 - /// <summary>
213 - /// Gets whether the package is permanent.
214 - /// </summary>
215 - public bool Permanent
216 - {
217 - get { return 0 != (this.Attributes & WixBundlePackageAttributes.Permanent); }
218 - }
219 -
220 - /// <summary>
221 - /// Gets whether the package is visible.
222 - /// </summary>
223 - public bool Visible
224 - {
225 - get { return 0 != (this.Attributes & WixBundlePackageAttributes.Visible); }
226 - }
227 - }
228 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePatchTargetCodeRow.cs deleted
-61
@@ -1,61 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using System;
6 - using WixToolset.Data.Tuples;
7 -
8 - /// <summary>
9 - /// Specialization of a row for the PatchTargetCode table.
10 - /// </summary>
11 - public class WixBundlePatchTargetCodeRow : Row
12 - {
13 - /// <summary>
14 - /// Creates a PatchTargetCodeRow row that does not belong to a table.
15 - /// </summary>
16 - /// <param name="sourceLineNumbers">Original source lines for this row.</param>
17 - /// <param name="tableDef">TableDefinition this PatchTargetCode row belongs to and should get its column definitions from.</param>
18 - public WixBundlePatchTargetCodeRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
19 - base(sourceLineNumbers, tableDef)
20 - {
21 - }
22 -
23 - /// <summary>
24 - /// Creates a PatchTargetCodeRow row that belongs to a table.
25 - /// </summary>
26 - /// <param name="sourceLineNumbers">Original source lines for this row.</param>
27 - /// <param name="table">Table this PatchTargetCode row belongs to and should get its column definitions from.</param>
28 - public WixBundlePatchTargetCodeRow(SourceLineNumber sourceLineNumbers, Table table) :
29 - base(sourceLineNumbers, table)
30 - {
31 - }
32 -
33 - public string MspPackageId
34 - {
35 - get { return (string)this.Fields[0].Data; }
36 - set { this.Fields[0].Data = value; }
37 - }
38 -
39 - public string TargetCode
40 - {
41 - get { return (string)this.Fields[1].Data; }
42 - set { this.Fields[1].Data = value; }
43 - }
44 -
45 - public WixBundlePatchTargetCodeAttributes Attributes
46 - {
47 - get { return (WixBundlePatchTargetCodeAttributes)this.Fields[2].Data; }
48 - set { this.Fields[2].Data = (int)value; }
49 - }
50 -
51 - public bool TargetsProductCode
52 - {
53 - get { return 0 != (WixBundlePatchTargetCodeAttributes.TargetsProductCode & this.Attributes); }
54 - }
55 -
56 - public bool TargetsUpgradeCode
57 - {
58 - get { return 0 != (WixBundlePatchTargetCodeAttributes.TargetsUpgradeCode & this.Attributes); }
59 - }
60 - }
61 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundlePayloadRow.cs deleted
-185
@@ -1,185 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using System;
6 - using System.IO;
7 -
8 - /// <summary>
9 - /// Specialization of a row for the PayloadInfo table.
10 - /// </summary>
11 - public class WixBundlePayloadRow : Row
12 - {
13 - /// <summary>
14 - /// Creates a PayloadRow row that does not belong to a table.
15 - /// </summary>
16 - /// <param name="sourceLineNumbers">Original source lines for this row.</param>
17 - /// <param name="tableDef">TableDefinition this Media row belongs to and should get its column definitions from.</param>
18 - public WixBundlePayloadRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
19 - base(sourceLineNumbers, tableDef)
20 - {
21 - }
22 -
23 - /// <summary>
24 - /// Creates a PayloadRow row that belongs to a table.
25 - /// </summary>
26 - /// <param name="sourceLineNumbers">Original source lines for this row.</param>
27 - /// <param name="table">Table this Media row belongs to and should get its column definitions from.</param>
28 - public WixBundlePayloadRow(SourceLineNumber sourceLineNumbers, Table table) :
29 - base(sourceLineNumbers, table)
30 - {
31 - }
32 -
33 - public string Id
34 - {
35 - get { return (string)this.Fields[0].Data; }
36 - set { this.Fields[0].Data = value; }
37 - }
38 -
39 - public string Name
40 - {
41 - get { return (string)this.Fields[1].Data; }
42 - set { this.Fields[1].Data = value; }
43 - }
44 -
45 - public string SourceFile
46 - {
47 - get { return (string)this.Fields[2].Data; }
48 - set { this.Fields[2].Data = value; }
49 - }
50 -
51 - public string DownloadUrl
52 - {
53 - get { return (string)this.Fields[3].Data; }
54 - set { this.Fields[3].Data = value; }
55 - }
56 -
57 - public YesNoDefaultType Compressed
58 - {
59 - get { return (YesNoDefaultType)this.Fields[4].Data; }
60 - set { this.Fields[4].Data = (int)value; }
61 - }
62 -
63 - public string UnresolvedSourceFile
64 - {
65 - get { return (string)this.Fields[5].Data; }
66 - set { this.Fields[5].Data = value; }
67 - }
68 -
69 - public string DisplayName
70 - {
71 - get { return (string)this.Fields[6].Data; }
72 - set { this.Fields[6].Data = value; }
73 - }
74 -
75 - public string Description
76 - {
77 - get { return (string)this.Fields[7].Data; }
78 - set { this.Fields[7].Data = value; }
79 - }
80 -
81 - public bool EnableSignatureValidation
82 - {
83 - get { return (null != this.Fields[8].Data) && (1 == (int)this.Fields[8].Data); }
84 - set { this.Fields[8].Data = value ? 1 : 0; }
85 - }
86 -
87 - public int FileSize
88 - {
89 - get { return (int)this.Fields[9].Data; }
90 - set { this.Fields[9].Data = value; }
91 - }
92 -
93 - public string Version
94 - {
95 - get { return (string)this.Fields[10].Data; }
96 - set { this.Fields[10].Data = value; }
97 - }
98 -
99 - public string Hash
100 - {
101 - get { return (string)this.Fields[11].Data; }
102 - set { this.Fields[11].Data = value; }
103 - }
104 -
105 - public string PublicKey
106 - {
107 - get { return (string)this.Fields[12].Data; }
108 - set { this.Fields[12].Data = value; }
109 - }
110 -
111 - public string Thumbprint
112 - {
113 - get { return (string)this.Fields[13].Data; }
114 - set { this.Fields[13].Data = value; }
115 - }
116 -
117 - public string Catalog
118 - {
119 - get { return (string)this.Fields[14].Data; }
120 - set { this.Fields[14].Data = value; }
121 - }
122 -
123 - public string Container
124 - {
125 - get { return (string)this.Fields[15].Data; }
126 - set { this.Fields[15].Data = value; }
127 - }
128 -
129 - public string Package
130 - {
131 - get { return (string)this.Fields[16].Data; }
132 - set { this.Fields[16].Data = value; }
133 - }
134 -
135 - public bool ContentFile
136 - {
137 - get { return (null != this.Fields[17].Data) && (1 == (int)this.Fields[17].Data); }
138 - set { this.Fields[17].Data = value ? 1 : 0; }
139 - }
140 -
141 - public string EmbeddedId
142 - {
143 - get { return (string)this.Fields[18].Data; }
144 - set { this.Fields[18].Data = value; }
145 - }
146 -
147 - public bool LayoutOnly
148 - {
149 - get { return (null != this.Fields[19].Data) && (1 == (int)this.Fields[19].Data); }
150 - set { this.Fields[19].Data = value ? 1 : 0; }
151 - }
152 -
153 - public PackagingType Packaging
154 - {
155 - get
156 - {
157 - object data = this.Fields[20].Data;
158 - return (null == data) ? PackagingType.Unknown : (PackagingType)data;
159 - }
160 -
161 - set
162 - {
163 - if (PackagingType.Unknown == value)
164 - {
165 - this.Fields[20].Data = null;
166 - }
167 - else
168 - {
169 - this.Fields[20].Data = (int)value;
170 - }
171 - }
172 - }
173 -
174 - public string ParentPackagePayload
175 - {
176 - get { return (string)this.Fields[21].Data; }
177 - set { this.Fields[21].Data = value; }
178 - }
179 -
180 - public string FullFileName
181 - {
182 - get { return String.IsNullOrEmpty(this.SourceFile) ? String.Empty : Path.GetFullPath(this.SourceFile); }
183 - }
184 - }
185 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleRelatedPackageRow.cs deleted
-87
@@ -1,87 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the RelatedPackage table.
7 - /// </summary>
8 - public class WixBundleRelatedPackageRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a RelatedPackageRow 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 WixBundleRelatedPackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a RelatedPackageRow 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 Media row belongs to and should get its column definitions from.</param>
25 - public WixBundleRelatedPackageRow(SourceLineNumber sourceLineNumbers, Table table) :
26 - base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - /// <summary>
31 - /// Gets or sets the foreign key identifier to the ChainPackage row.
32 - /// </summary>
33 - public string ChainPackageId
34 - {
35 - get { return (string)this.Fields[0].Data; }
36 - set { this.Fields[0].Data = value; }
37 - }
38 -
39 - public string Id
40 - {
41 - get { return (string)this.Fields[1].Data; }
42 - set { this.Fields[1].Data = value; }
43 - }
44 -
45 - public string MinVersion
46 - {
47 - get { return (string)this.Fields[2].Data; }
48 - set { this.Fields[2].Data = value; }
49 - }
50 -
51 - public string MaxVersion
52 - {
53 - get { return (string)this.Fields[3].Data; }
54 - set { this.Fields[3].Data = value; }
55 - }
56 -
57 - public string Languages
58 - {
59 - get { return (string)this.Fields[4].Data; }
60 - set { this.Fields[4].Data = value; }
61 - }
62 -
63 - public bool MinInclusive
64 - {
65 - get { return 1 == (int)this.Fields[5].Data; }
66 - set { this.Fields[5].Data = value ? 1 : 0; }
67 - }
68 -
69 - public bool MaxInclusive
70 - {
71 - get { return 1 == (int)this.Fields[6].Data; }
72 - set { this.Fields[6].Data = value ? 1 : 0; }
73 - }
74 -
75 - public bool LangInclusive
76 - {
77 - get { return 1 == (int)this.Fields[7].Data; }
78 - set { this.Fields[7].Data = value ? 1 : 0; }
79 - }
80 -
81 - public bool OnlyDetect
82 - {
83 - get { return 1 == (int)this.Fields[8].Data; }
84 - set { this.Fields[8].Data = value ? 1 : 0; }
85 - }
86 - }
87 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleRollbackBoundaryRow.cs deleted
-59
@@ -1,59 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the WixBundleRollbackBoundary table.
7 - /// </summary>
8 - public sealed class WixBundleRollbackBoundaryRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a WixBundleRollbackBoundary 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 row belongs to and should get its column definitions from.</param>
15 - public WixBundleRollbackBoundaryRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a RollbackBoundaryRow 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 row belongs to and should get its column definitions from.</param>
25 - public WixBundleRollbackBoundaryRow(SourceLineNumber sourceLineNumbers, Table table) :
26 - base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - /// <summary>
31 - /// Gets or sets the foreign key identifier to the ChainPackage row.
32 - /// </summary>
33 - public string ChainPackageId
34 - {
35 - get { return (string)this.Fields[0].Data; }
36 - set { this.Fields[0].Data = value; }
37 - }
38 -
39 - /// <summary>
40 - /// Gets or sets whether the package is vital.
41 - /// </summary>
42 - /// <value>Vitality of the package.</value>
43 - public YesNoType Vital
44 - {
45 - get { return (null == this.Fields[1].Data) ? YesNoType.NotSet : (YesNoType)this.Fields[1].Data; }
46 - set { this.Fields[1].Data = (int)value; }
47 - }
48 -
49 - /// <summary>
50 - /// Gets or sets whether the rollback-boundary should be installed as an MSI transaction.
51 - /// </summary>
52 - /// <value>Vitality of the package.</value>
53 - public YesNoType Transaction
54 - {
55 - get { return (null == this.Fields[2].Data) ? YesNoType.NotSet : (YesNoType)this.Fields[2].Data; }
56 - set { this.Fields[2].Data = (int)value; }
57 - }
58 - }
59 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleRow.cs deleted
-228
@@ -1,228 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using System;
6 -
7 - /// <summary>
8 - /// Bundle info for binding Bundles.
9 - /// </summary>
10 - public class WixBundleRow : Row
11 - {
12 - /// <summary>
13 - /// Creates a WixBundleRow 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 WixBundleRow row belongs to and should get its column definitions from.</param>
17 - public WixBundleRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
18 - base(sourceLineNumbers, tableDef)
19 - {
20 - }
21 -
22 - /// <summary>
23 - /// Creates a WixBundleRow 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 WixBundleRow row belongs to and should get its column definitions from.</param>
27 - public WixBundleRow(SourceLineNumber sourceLineNumbers, Table table) :
28 - base(sourceLineNumbers, table)
29 - {
30 - }
31 -
32 - public string Version
33 - {
34 - get { return (string)this.Fields[0].Data; }
35 - set { this.Fields[0].Data = value; }
36 - }
37 -
38 - public string Copyright
39 - {
40 - get { return (string)this.Fields[1].Data; }
41 - set { this.Fields[1].Data = value; }
42 - }
43 -
44 - public string Name
45 - {
46 - get { return (string)this.Fields[2].Data; }
47 - set { this.Fields[2].Data = value; }
48 - }
49 -
50 - public string AboutUrl
51 - {
52 - get { return (string)this.Fields[3].Data; }
53 - set { this.Fields[3].Data = value; }
54 - }
55 -
56 - public int DisableModify
57 - {
58 - get { return (null == this.Fields[4].Data) ? 0 : (int)this.Fields[4].Data; }
59 - set { this.Fields[4].Data = value; }
60 - }
61 -
62 - public bool DisableRemove
63 - {
64 - get { return (null != this.Fields[5].Data && 0 != (int)this.Fields[5].Data); }
65 - set { this.Fields[5].Data = value ? 1 : 0; }
66 - }
67 -
68 - // There is no 6. It used to be DisableRepair.
69 -
70 - public string HelpTelephone
71 - {
72 - get { return (string)this.Fields[7].Data; }
73 - set { this.Fields[7].Data = value; }
74 - }
75 -
76 - public string HelpLink
77 - {
78 - get { return (string)this.Fields[8].Data; }
79 - set { this.Fields[8].Data = value; }
80 - }
81 -
82 - public string Publisher
83 - {
84 - get { return (string)this.Fields[9].Data; }
85 - set { this.Fields[9].Data = value; }
86 - }
87 -
88 - public string UpdateUrl
89 - {
90 - get { return (string)this.Fields[10].Data; }
91 - set { this.Fields[10].Data = value; }
92 - }
93 -
94 - public YesNoDefaultType Compressed
95 - {
96 - get { return (null == this.Fields[11].Data) ? YesNoDefaultType.Default : (0 == (int)this.Fields[11].Data) ? YesNoDefaultType.No : YesNoDefaultType.Yes; }
97 - set { this.Fields[11].Data = (int)value; }
98 - }
99 -
100 - public PackagingType DefaultPackagingType
101 - {
102 - get { return (YesNoDefaultType.No == this.Compressed) ? PackagingType.External : PackagingType.Embedded; }
103 - }
104 -
105 - public string LogPathPrefixExtension
106 - {
107 - get { return (string)this.Fields[12].Data ?? String.Empty; }
108 - set { this.Fields[12].Data = value; }
109 - }
110 -
111 - public string LogPathVariable
112 - {
113 - get
114 - {
115 - string[] logVariableAndPrefixExtension = this.LogPathPrefixExtension.Split(':');
116 - return logVariableAndPrefixExtension[0];
117 - }
118 - }
119 -
120 - public string LogPrefix
121 - {
122 - get
123 - {
124 - string[] logVariableAndPrefixExtension = this.LogPathPrefixExtension.Split(':');
125 - if (2 > logVariableAndPrefixExtension.Length)
126 - {
127 - return String.Empty;
128 - }
129 - string logPrefixAndExtension = logVariableAndPrefixExtension[1];
130 - int extensionIndex = logPrefixAndExtension.LastIndexOf('.');
131 - return logPrefixAndExtension.Substring(0, extensionIndex);
132 - }
133 - }
134 -
135 - public string LogExtension
136 - {
137 - get
138 - {
139 - string[] logVariableAndPrefixExtension = this.LogPathPrefixExtension.Split(':');
140 - if (2 > logVariableAndPrefixExtension.Length)
141 - {
142 - return String.Empty;
143 - }
144 - string logPrefixAndExtension = logVariableAndPrefixExtension[1];
145 - int extensionIndex = logPrefixAndExtension.LastIndexOf('.');
146 - return logPrefixAndExtension.Substring(extensionIndex + 1);
147 - }
148 - }
149 -
150 - public string IconPath
151 - {
152 - get { return (string)this.Fields[13].Data; }
153 - set { this.Fields[13].Data = value; }
154 - }
155 -
156 - public string SplashScreenBitmapPath
157 - {
158 - get { return (string)this.Fields[14].Data; }
159 - set { this.Fields[14].Data = value; }
160 - }
161 -
162 - public string Condition
163 - {
164 - get { return (string)this.Fields[15].Data; }
165 - set { this.Fields[15].Data = value; }
166 - }
167 -
168 - public string Tag
169 - {
170 - get { return (string)this.Fields[16].Data; }
171 - set { this.Fields[16].Data = value; }
172 - }
173 -
174 - public Platform Platform
175 - {
176 - get { return (Platform)Enum.Parse(typeof(Platform), (string)this.Fields[17].Data); }
177 - set { this.Fields[17].Data = value.ToString(); }
178 - }
179 -
180 - public string ParentName
181 - {
182 - get { return (string)this.Fields[18].Data; }
183 - set { this.Fields[18].Data = value; }
184 - }
185 -
186 - public string UpgradeCode
187 - {
188 - get { return (string)this.Fields[19].Data; }
189 - set { this.Fields[19].Data = value; }
190 - }
191 -
192 - public Guid BundleId
193 - {
194 - get
195 - {
196 - if (null == this.Fields[20].Data)
197 - {
198 - this.Fields[20].Data = Guid.NewGuid().ToString("B");
199 - }
200 -
201 - return new Guid((string)this.Fields[20].Data);
202 - }
203 -
204 - set { this.Fields[20].Data = value.ToString(); }
205 - }
206 -
207 - public string ProviderKey
208 - {
209 - get
210 - {
211 - if (null == this.Fields[21].Data)
212 - {
213 - this.Fields[21].Data = this.BundleId.ToString("B");
214 - }
215 -
216 - return (string)this.Fields[21].Data;
217 - }
218 -
219 - set { this.Fields[21].Data = value; }
220 - }
221 -
222 - public bool PerMachine
223 - {
224 - get { return (null != this.Fields[22].Data && 0 != (int)this.Fields[22].Data); }
225 - set { this.Fields[22].Data = value ? 1 : 0; }
226 - }
227 - }
228 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleSlipstreamMspRow.cs deleted
-48
@@ -1,48 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the SlipstreamMsp table.
7 - /// </summary>
8 - public class WixBundleSlipstreamMspRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a SlipstreamMspRow 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 WixBundleSlipstreamMspRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a SlipstreamMspRow 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 Media row belongs to and should get its column definitions from.</param>
25 - public WixBundleSlipstreamMspRow(SourceLineNumber sourceLineNumbers, Table table) :
26 - base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - /// <summary>
31 - /// Gets or sets the foreign key identifier to the ChainPackage row.
32 - /// </summary>
33 - public string ChainPackageId
34 - {
35 - get { return (string)this.Fields[0].Data; }
36 - set { this.Fields[0].Data = value; }
37 - }
38 -
39 - /// <summary>
40 - /// Gets or sets the foreign key identifier to the ChainPackage row for the MSP package.
41 - /// </summary>
42 - public string MspPackageId
43 - {
44 - get { return (string)this.Fields[1].Data; }
45 - set { this.Fields[1].Data = value; }
46 - }
47 - }
48 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleUpdateRow.cs deleted
-36
@@ -1,36 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Bundle update info for binding Bundles.
7 - /// </summary>
8 - public class WixBundleUpdateRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a WixBundleUpdateRow 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 WixBundleUpdateRow row belongs to and should get its column definitions from.</param>
15 - public WixBundleUpdateRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a WixBundleUpdateRow 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 WixBundleUpdateRow row belongs to and should get its column definitions from.</param>
25 - public WixBundleUpdateRow(SourceLineNumber sourceLineNumbers, Table table) :
26 - base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - public string Location
31 - {
32 - get { return (string)this.Fields[0].Data; }
33 - set { this.Fields[0].Data = value; }
34 - }
35 - }
36 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixBundleVariableRow.cs deleted
-80
@@ -1,80 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the Variable table.
7 - /// </summary>
8 - public sealed class WixBundleVariableRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a Variable 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 WixBundleVariableRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a Variable 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 Media row belongs to and should get its column definitions from.</param>
25 - public WixBundleVariableRow(SourceLineNumber sourceLineNumbers, Table table)
26 - : base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - /// <summary>
31 - /// Gets or sets the variable identifier.
32 - /// </summary>
33 - /// <value>The variable identifier.</value>
34 - public string Id
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 variable's value.
42 - /// </summary>
43 - /// <value>The variable's value.</value>
44 - public string Value
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 variable's type.
52 - /// </summary>
53 - /// <value>The variable's type.</value>
54 - public string Type
55 - {
56 - get { return (string)this.Fields[2].Data; }
57 - set { this.Fields[2].Data = value; }
58 - }
59 -
60 - /// <summary>
61 - /// Gets or sets whether this variable is hidden.
62 - /// </summary>
63 - /// <value>Whether this variable is hidden.</value>
64 - public bool Hidden
65 - {
66 - get { return (null == this.Fields[3].Data || 0 == ((int)this.Fields[3].Data)) ? false : true; }
67 - set { this.Fields[3].Data = value ? 1 : 0; }
68 - }
69 -
70 - /// <summary>
71 - /// Gets or sets whether this variable is persisted.
72 - /// </summary>
73 - /// <value>Whether this variable is persisted.</value>
74 - public bool Persisted
75 - {
76 - get { return (null == this.Fields[4].Data || 0 == ((int)this.Fields[4].Data)) ? false : true; }
77 - set { this.Fields[4].Data = value ? 1 : 0; }
78 - }
79 - }
80 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixChainItemRow.cs deleted
-39
@@ -1,39 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the WixChainItem table.
7 - /// </summary>
8 - public sealed class WixChainItemRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a WixChainItem 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 ChainItem row belongs to and should get its column definitions from.</param>
15 - public WixChainItemRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a WixChainItem 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 ChainItem row belongs to and should get its column definitions from.</param>
25 - public WixChainItemRow(SourceLineNumber sourceLineNumbers, Table table)
26 - : base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - /// <summary>
31 - /// Gets or sets the WixChainItem identifier.
32 - /// </summary>
33 - public string Id
34 - {
35 - get { return (string)this.Fields[0].Data; }
36 - set { this.Fields[0].Data = value; }
37 - }
38 - }
39 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixChainRow.cs deleted
-65
@@ -1,65 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using WixToolset.Data.Tuples;
6 -
7 - /// <summary>
8 - /// Specialization of a row for the WixChain table.
9 - /// </summary>
10 - public sealed class WixChainRow : Row
11 - {
12 - /// <summary>
13 - /// Creates a WixChain 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 WixChainRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
18 - base(sourceLineNumbers, tableDef)
19 - {
20 - }
21 -
22 - /// <summary>
23 - /// Creates a WixChainRow 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 WixChainRow(SourceLineNumber sourceLineNumbers, Table table) :
28 - base(sourceLineNumbers, table)
29 - {
30 - }
31 -
32 - /// <summary>
33 - /// Gets or sets the raw chain attributes.
34 - /// </summary>
35 - public WixChainAttributes Attributes
36 - {
37 - get { return (WixChainAttributes)this.Fields[0].Data; }
38 - set { this.Fields[0].Data = value; }
39 - }
40 -
41 - /// <summary>
42 - /// Gets the disable rollback state of a chain.
43 - /// </summary>
44 - public bool DisableRollback
45 - {
46 - get { return 0 != (this.Attributes & WixChainAttributes.DisableRollback); }
47 - }
48 -
49 - /// <summary>
50 - /// Gets disable system restore state of a chain.
51 - /// </summary>
52 - public bool DisableSystemRestore
53 - {
54 - get { return 0 != (this.Attributes & WixChainAttributes.DisableSystemRestore); }
55 - }
56 -
57 - /// <summary>
58 - /// Gets parallel cache of a chain.
59 - /// </summary>
60 - public bool ParallelCache
61 - {
62 - get { return 0 != (this.Attributes & WixChainAttributes.ParallelCache); }
63 - }
64 - }
65 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixPayloadPropertiesRow.cs deleted
-72
@@ -1,72 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - /// <summary>
6 - /// Specialization of a row for the WixPayloadProperties table.
7 - /// </summary>
8 - public class WixPayloadPropertiesRow : Row
9 - {
10 - /// <summary>
11 - /// Creates a WixPayloadProperties 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 WixPayloadProperties row belongs to and should get its column definitions from.</param>
15 - public WixPayloadPropertiesRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 - base(sourceLineNumbers, tableDef)
17 - {
18 - }
19 -
20 - /// <summary>
21 - /// Creates a WixPayloadProperties 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 WixPayloadProperties row belongs to and should get its column definitions from.</param>
25 - public WixPayloadPropertiesRow(SourceLineNumber sourceLineNumbers, Table table) :
26 - base(sourceLineNumbers, table)
27 - {
28 - }
29 -
30 - public string Id
31 - {
32 - get { return (string)this.Fields[0].Data; }
33 - set { this.Fields[0].Data = value; }
34 - }
35 -
36 - public string Package
37 - {
38 - get { return (string)this.Fields[1].Data; }
39 - set { this.Fields[1].Data = value; }
40 - }
41 -
42 - public string Container
43 - {
44 - get { return (string)this.Fields[2].Data; }
45 - set { this.Fields[2].Data = value; }
46 - }
47 -
48 - public string Name
49 - {
50 - get { return (string)this.Fields[3].Data; }
51 - set { this.Fields[3].Data = value; }
52 - }
53 -
54 - public string Size
55 - {
56 - get { return (string)this.Fields[4].Data; }
57 - set { this.Fields[4].Data = value; }
58 - }
59 -
60 - public string DownloadUrl
61 - {
62 - get { return (string)this.Fields[5].Data; }
63 - set { this.Fields[5].Data = value; }
64 - }
65 -
66 - public string LayoutOnly
67 - {
68 - get { return (string)this.Fields[6].Data; }
69 - set { this.Fields[6].Data = value; }
70 - }
71 - }
72 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixRelatedBundleRow.cs deleted
-52
@@ -1,52 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using Serialize = WixToolset.Data.Serialize;
6 -
7 - /// <summary>
8 - /// Specialization of a row for the RelatedBundle table.
9 - /// </summary>
10 - public sealed class WixRelatedBundleRow : Row
11 - {
12 - /// <summary>
13 - /// Creates a RelatedBundle 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 RelatedBundle row belongs to and should get its column definitions from.</param>
17 - public WixRelatedBundleRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
18 - base(sourceLineNumbers, tableDef)
19 - {
20 - }
21 -
22 - /// <summary>
23 - /// Creates a RelatedBundle 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 RelatedBundle row belongs to and should get its column definitions from.</param>
27 - public WixRelatedBundleRow(SourceLineNumber sourceLineNumbers, Table table)
28 - : base(sourceLineNumbers, table)
29 - {
30 - }
31 -
32 - /// <summary>
33 - /// Gets or sets the related bundle identifier.
34 - /// </summary>
35 - /// <value>The related bundle identifier.</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 related bundle action.
44 - /// </summary>
45 - /// <value>The related bundle action.</value>
46 - public Serialize.RelatedBundle.ActionType Action
47 - {
48 - get { return (Serialize.RelatedBundle.ActionType)this.Fields[1].Data; }
49 - set { this.Fields[1].Data = (int)value; }
50 - }
51 - }
52 -}
src/WixToolset.Data/WindowsInstaller/Rows/WixUpdateRegistrationRow.cs deleted
-62
@@ -1,62 +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 -
3 -namespace WixToolset.Data.WindowsInstaller.Rows
4 -{
5 - using System;
6 -
7 - /// <summary>
8 - /// Update registration information for Binding.
9 - /// </summary>
10 - public class WixUpdateRegistrationRow : Row
11 - {
12 - /// <summary>
13 - /// Creates a WixUpdateRegistrationRow 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 WixUpdateRegistrationRow row belongs to and should get its column definitions from.</param>
17 - public WixUpdateRegistrationRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
18 - base(sourceLineNumbers, tableDef)
19 - {
20 - }
21 -
22 - /// <summary>
23 - /// Creates a WixUpdateRegistrationRow 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 WixUpdateRegistrationRow row belongs to and should get its column definitions from.</param>
27 - public WixUpdateRegistrationRow(SourceLineNumber sourceLineNumbers, Table table) :
28 - base(sourceLineNumbers, table)
29 - {
30 - }
31 -
32 - public string Manufacturer
33 - {
34 - get { return (string)this.Fields[0].Data; }
35 - set { this.Fields[0].Data = value; }
36 - }
37 -
38 - public string Department
39 - {
40 - get { return (string)this.Fields[1].Data; }
41 - set { this.Fields[1].Data = value; }
42 - }
43 -
44 - public string ProductFamily
45 - {
46 - get { return (string)this.Fields[2].Data; }
47 - set { this.Fields[2].Data = value; }
48 - }
49 -
50 - public string Name
51 - {
52 - get { return (string)this.Fields[3].Data; }
53 - set { this.Fields[3].Data = value; }
54 - }
55 -
56 - public string Classification
57 - {
58 - get { return (string)this.Fields[4].Data; }
59 - set { this.Fields[4].Data = value; }
60 - }
61 - }
62 -}
src/WixToolset.Data/WindowsInstaller/Table.cs
-75
@@ -63,96 +63,27 @@ namespace WixToolset.Data.WindowsInstaller
63 case "BBControl":
64 row = new BBControlRow(sourceLineNumbers, this);
65 break;
66 - case "WixBundlePackage":
67 - row = new WixBundlePackageRow(sourceLineNumbers, this);
68 - break;
69 - case "WixBundleExePackage":
70 - row = new WixBundleExePackageRow(sourceLineNumbers, this);
71 - break;
72 - case "WixBundleMsiPackage":
73 - row = new WixBundleMsiPackageRow(sourceLineNumbers, this);
74 - break;
75 - case "WixBundleMspPackage":
76 - row = new WixBundleMspPackageRow(sourceLineNumbers, this);
77 - break;
78 - case "WixBundleMsuPackage":
79 - row = new WixBundleMsuPackageRow(sourceLineNumbers, this);
80 - break;
66 case "Component":
67 row = new ComponentRow(sourceLineNumbers, this);
68 break;
84 - case "WixBundleContainer":
85 - row = new WixBundleContainerRow(sourceLineNumbers, this);
86 - break;
69 case "Control":
70 row = new ControlRow(sourceLineNumbers, this);
71 break;
72 case "File":
73 row = new FileRow(sourceLineNumbers, this);
74 break;
93 - case "WixBundleMsiFeature":
94 - row = new WixBundleMsiFeatureRow(sourceLineNumbers, this);
95 - break;
96 - case "WixBundleMsiProperty":
97 - row = new WixBundleMsiPropertyRow(sourceLineNumbers, this);
98 - break;
75 case "Media":
76 row = new MediaRow(sourceLineNumbers, this);
77 break;
102 - case "WixBundlePayload":
103 - row = new WixBundlePayloadRow(sourceLineNumbers, this);
104 - break;
78 case "Property":
79 row = new PropertyRow(sourceLineNumbers, this);
80 break;
108 - case "WixRelatedBundle":
109 - row = new WixRelatedBundleRow(sourceLineNumbers, this);
110 - break;
111 - case "WixBundleRelatedPackage":
112 - row = new WixBundleRelatedPackageRow(sourceLineNumbers, this);
113 - break;
114 - case "WixBundleRollbackBoundary":
115 - row = new WixBundleRollbackBoundaryRow(sourceLineNumbers, this);
116 - break;
81 case "Upgrade":
82 row = new UpgradeRow(sourceLineNumbers, this);
83 break;
120 - case "WixBundleVariable":
121 - row = new WixBundleVariableRow(sourceLineNumbers, this);
122 - break;
84 case "WixAction":
85 row = new WixActionRow(sourceLineNumbers, this);
86 break;
126 - case "WixApprovedExeForElevation":
127 - row = new WixApprovedExeForElevationRow(sourceLineNumbers, this);
128 - break;
129 - case "WixBundle":
130 - row = new WixBundleRow(sourceLineNumbers, this);
131 - break;
132 - case "WixBundlePackageExitCode":
133 - row = new WixBundlePackageExitCodeRow(sourceLineNumbers, this);
134 - break;
135 - case "WixBundlePatchTargetCode":
136 - row = new WixBundlePatchTargetCodeRow(sourceLineNumbers, this);
137 - break;
138 - case "WixBundleSlipstreamMsp":
139 - row = new WixBundleSlipstreamMspRow(sourceLineNumbers, this);
140 - break;
141 - case "WixBundleUpdate":
142 - row = new WixBundleUpdateRow(sourceLineNumbers, this);
143 - break;
144 - case "WixBundleCatalog":
145 - row = new WixBundleCatalogRow(sourceLineNumbers, this);
146 - break;
147 - case "WixChain":
148 - row = new WixChainRow(sourceLineNumbers, this);
149 - break;
150 - case "WixChainItem":
151 - row = new WixChainItemRow(sourceLineNumbers, this);
152 - break;
153 - case "WixBundlePackageCommandLine":
154 - row = new WixBundlePackageCommandLineRow(sourceLineNumbers, this);
155 - break;
87 case "WixComplexReference":
88 row = new WixComplexReferenceRow(sourceLineNumbers, this);
89 break;
@@ -174,18 +105,12 @@ namespace WixToolset.Data.WindowsInstaller
105 case "WixMerge":
106 row = new WixMergeRow(sourceLineNumbers, this);
107 break;
177 - case "WixPayloadProperties":
178 - row = new WixPayloadPropertiesRow(sourceLineNumbers, this);
179 - break;
108 case "WixProperty":
109 row = new WixPropertyRow(sourceLineNumbers, this);
110 break;
111 case "WixSimpleReference":
112 row = new WixSimpleReferenceRow(sourceLineNumbers, this);
113 break;
186 - case "WixUpdateRegistration":
187 - row = new WixUpdateRegistrationRow(sourceLineNumbers, this);
188 - break;
114
115 default:
116 row = new Row(sourceLineNumbers, this);
src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs
-636
@@ -2136,517 +2136,6 @@ namespace WixToolset.Data.WindowsInstaller
2136 tupleIdIsPrimaryKey: true
2137 );
2138
2139 - public static readonly TableDefinition WixBundleContainer = new TableDefinition(
2140 - "WixBundleContainer",
2141 - TupleDefinitions.WixBundleContainer,
2142 - new[]
2143 - {
2144 - new ColumnDefinition("WixBundleContainer", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2145 - new ColumnDefinition("Name", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2146 - new ColumnDefinition("Type", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2147 - new ColumnDefinition("DownloadUrl", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2148 - new ColumnDefinition("Size", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0),
2149 - new ColumnDefinition("Hash", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2150 - new ColumnDefinition("AttachedContainerIndex", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2151 - new ColumnDefinition("WorkingPath", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2152 - },
2153 - unreal: true,
2154 - tupleIdIsPrimaryKey: true
2155 - );
2156 -
2157 - public static readonly TableDefinition WixBundlePayloadGroup = new TableDefinition(
2158 - "WixBundlePayloadGroup",
2159 - TupleDefinitions.WixBundlePayloadGroup,
2160 - new[]
2161 - {
2162 - new ColumnDefinition("WixBundlePayloadGroup", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2163 - },
2164 - unreal: true,
2165 - tupleIdIsPrimaryKey: true
2166 - );
2167 -
2168 - public static readonly TableDefinition WixBundlePayload = new TableDefinition(
2169 - "WixBundlePayload",
2170 - TupleDefinitions.WixBundlePayload,
2171 - new[]
2172 - {
2173 - new ColumnDefinition("WixBundlePayload", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2174 - new ColumnDefinition("Name", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2175 - new ColumnDefinition("SourceFile", ColumnType.Object, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2176 - new ColumnDefinition("DownloadUrl", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2177 - new ColumnDefinition("Compressed", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2),
2178 - new ColumnDefinition("UnresolvedSourceFile", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2179 - new ColumnDefinition("DisplayName", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2180 - new ColumnDefinition("Description", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2181 - new ColumnDefinition("EnableSignatureValidation", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2182 - new ColumnDefinition("FileSize", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647),
2183 - new ColumnDefinition("Version", ColumnType.String, 24, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2184 - new ColumnDefinition("Hash", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2185 - new ColumnDefinition("PublicKey", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2186 - new ColumnDefinition("Thumbprint", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2187 - new ColumnDefinition("Catalog_", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "WixBundleCatalog", keyColumn: 1, description: "Reference to a catalog entry in the WixBundleCatalog table."),
2188 - new ColumnDefinition("Container_", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown, keyTable: "WixBundleContainer", keyColumn: 1, description: "Reference to a container entry in the WixBundleContainer table."),
2189 - new ColumnDefinition("Package", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2190 - new ColumnDefinition("ContentFile", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2191 - new ColumnDefinition("EmbeddedId", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2192 - new ColumnDefinition("LayoutOnly", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2193 - new ColumnDefinition("Packaging", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 1, maxValue: 2),
2194 - new ColumnDefinition("ParentPackagePayload_", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2195 - },
2196 - unreal: true,
2197 - tupleIdIsPrimaryKey: true
2198 - );
2199 -
2200 - public static readonly TableDefinition WixBundlePatchTargetCode = new TableDefinition(
2201 - "WixBundlePatchTargetCode",
2202 - TupleDefinitions.WixBundlePatchTargetCode,
2203 - new[]
2204 - {
2205 - new ColumnDefinition("PackageId", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2206 - new ColumnDefinition("TargetCode", ColumnType.String, 0, primaryKey: true, nullable: true, ColumnCategory.Unknown),
2207 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647),
2208 - },
2209 - unreal: true,
2210 - tupleIdIsPrimaryKey: false
2211 - );
2212 -
2213 - public static readonly TableDefinition WixBundle = new TableDefinition(
2214 - "WixBundle",
2215 - TupleDefinitions.WixBundle,
2216 - new[]
2217 - {
2218 - new ColumnDefinition("Version", ColumnType.String, 24, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2219 - new ColumnDefinition("Copyright", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2220 - new ColumnDefinition("Name", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2221 - new ColumnDefinition("AboutUrl", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2222 - new ColumnDefinition("DisableModify", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2),
2223 - new ColumnDefinition("DisableRemove", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2224 - new ColumnDefinition("DisableRepair", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2225 - new ColumnDefinition("HelpTelephone", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2226 - new ColumnDefinition("HelpUrl", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2227 - new ColumnDefinition("Manufacturer", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2228 - new ColumnDefinition("UpdateUrl", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2229 - new ColumnDefinition("Compressed", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2230 - new ColumnDefinition("LogPrefixAndExtension", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2231 - new ColumnDefinition("IconSourceFile", ColumnType.Object, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2232 - new ColumnDefinition("SplashScreenSourceFile", ColumnType.Object, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2233 - new ColumnDefinition("Condition", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2234 - new ColumnDefinition("Tag", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2235 - new ColumnDefinition("Platform", ColumnType.String, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2236 - new ColumnDefinition("ParentName", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2237 - new ColumnDefinition("UpgradeCode", ColumnType.String, 38, primaryKey: false, nullable: false, ColumnCategory.Guid),
2238 - new ColumnDefinition("BundleId", ColumnType.String, 38, primaryKey: false, nullable: false, ColumnCategory.Guid, description: "Only valid after binding."),
2239 - new ColumnDefinition("ProviderKey", ColumnType.String, 38, primaryKey: false, nullable: true, ColumnCategory.Guid, description: "Only valid after binding."),
2240 - new ColumnDefinition("PerMachine", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1, description: "Only valid after binding."),
2241 - },
2242 - unreal: true,
2243 - tupleIdIsPrimaryKey: false
2244 - );
2245 -
2246 - public static readonly TableDefinition WixApprovedExeForElevation = new TableDefinition(
2247 - "WixApprovedExeForElevation",
2248 - TupleDefinitions.WixApprovedExeForElevation,
2249 - new[]
2250 - {
2251 - new ColumnDefinition("Id", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2252 - new ColumnDefinition("Key", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2253 - new ColumnDefinition("Value", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2254 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2255 - },
2256 - unreal: true,
2257 - tupleIdIsPrimaryKey: true
2258 - );
2259 -
2260 - public static readonly TableDefinition WixBundleUpdate = new TableDefinition(
2261 - "WixBundleUpdate",
2262 - TupleDefinitions.WixBundleUpdate,
2263 - new[]
2264 - {
2265 - new ColumnDefinition("Location", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2266 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2267 - },
2268 - unreal: true,
2269 - tupleIdIsPrimaryKey: false
2270 - );
2271 -
2272 - public static readonly TableDefinition WixBootstrapperApplication = new TableDefinition(
2273 - "WixBootstrapperApplication",
2274 - TupleDefinitions.WixBootstrapperApplication,
2275 - new[]
2276 - {
2277 - new ColumnDefinition("Id", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2278 - },
2279 - unreal: true,
2280 - tupleIdIsPrimaryKey: true
2281 - );
2282 -
2283 - public static readonly TableDefinition WixUpdateRegistration = new TableDefinition(
2284 - "WixUpdateRegistration",
2285 - TupleDefinitions.WixUpdateRegistration,
2286 - new[]
2287 - {
2288 - new ColumnDefinition("Manufacturer", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2289 - new ColumnDefinition("Department", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2290 - new ColumnDefinition("ProductFamily", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2291 - new ColumnDefinition("Name", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2292 - new ColumnDefinition("Classification", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2293 - },
2294 - unreal: true,
2295 - tupleIdIsPrimaryKey: false
2296 - );
2297 -
2298 - public static readonly TableDefinition WixBundleCatalog = new TableDefinition(
2299 - "WixBundleCatalog",
2300 - TupleDefinitions.WixBundleCatalog,
2301 - new[]
2302 - {
2303 - new ColumnDefinition("WixBundleCatalog", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2304 - new ColumnDefinition("Payload_", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePayload", keyColumn: 1, description: "Reference to a payload entry in the WixBundlePayload table."),
2305 - },
2306 - unreal: true,
2307 - tupleIdIsPrimaryKey: true
2308 - );
2309 -
2310 - public static readonly TableDefinition WixChain = new TableDefinition(
2311 - "WixChain",
2312 - TupleDefinitions.WixChain,
2313 - new[]
2314 - {
2315 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied to the chain."),
2316 - },
2317 - unreal: true,
2318 - tupleIdIsPrimaryKey: false
2319 - );
2320 -
2321 - public static readonly TableDefinition WixChainItem = new TableDefinition(
2322 - "WixChainItem",
2323 - TupleDefinitions.WixChainItem,
2324 - new[]
2325 - {
2326 - new ColumnDefinition("Id", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2327 - },
2328 - unreal: true,
2329 - tupleIdIsPrimaryKey: true
2330 - );
2331 -
2332 - public static readonly TableDefinition WixBundleRollbackBoundary = new TableDefinition(
2333 - "WixBundleRollbackBoundary",
2334 - TupleDefinitions.WixBundleRollbackBoundary,
2335 - new[]
2336 - {
2337 - new ColumnDefinition("WixChainItem_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixChainItem", keyColumn: 1, description: "Reference to a WixChainItem entry in the WixChainItem table."),
2338 - new ColumnDefinition("Vital", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2339 - new ColumnDefinition("Transaction", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2340 - },
2341 - unreal: true,
2342 - tupleIdIsPrimaryKey: true
2343 - );
2344 -
2345 - public static readonly TableDefinition WixBundlePackageGroup = new TableDefinition(
2346 - "WixBundlePackageGroup",
2347 - TupleDefinitions.WixBundlePackageGroup,
2348 - new[]
2349 - {
2350 - new ColumnDefinition("WixBundlePackageGroup", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2351 - },
2352 - unreal: true,
2353 - tupleIdIsPrimaryKey: true
2354 - );
2355 -
2356 - public static readonly TableDefinition WixBundlePackage = new TableDefinition(
2357 - "WixBundlePackage",
2358 - TupleDefinitions.WixBundlePackage,
2359 - new[]
2360 - {
2361 - new ColumnDefinition("WixChainItem_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixChainItem", keyColumn: 1, description: "Reference to a WixChainItem entry in the WixChainItem table."),
2362 - new ColumnDefinition("Type", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 3),
2363 - new ColumnDefinition("Payload_", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePayload", keyColumn: 1, description: "Reference to a payload entry in the WixBundlePayload table."),
2364 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied to this package."),
2365 - new ColumnDefinition("InstallCondition", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2366 - new ColumnDefinition("Cache", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2),
2367 - new ColumnDefinition("CacheId", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2368 - new ColumnDefinition("Vital", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2369 - new ColumnDefinition("PerMachine", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2),
2370 - new ColumnDefinition("LogPathVariable", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2371 - new ColumnDefinition("RollbackLogPathVariable", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2372 - new ColumnDefinition("Size", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2373 - new ColumnDefinition("InstallSize", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2374 - new ColumnDefinition("Version", ColumnType.String, 24, primaryKey: false, nullable: true, ColumnCategory.Version),
2375 - new ColumnDefinition("Language", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2376 - new ColumnDefinition("DisplayName", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2377 - new ColumnDefinition("Description", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2378 - new ColumnDefinition("RollbackBoundary_", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown, keyTable: "WixBundleRollbackBoundary", keyColumn: 1, description: "Reference to a rollback boundary entry in the WixBundleRollbackBoundary table."),
2379 - new ColumnDefinition("RollbackBoundaryBackward_", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown, keyTable: "WixBundleRollbackBoundary", keyColumn: 1, description: "Reference to a rollback boundary entry in the WixBundleRollbackBoundary table."),
2380 - new ColumnDefinition("x64", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2381 - },
2382 - unreal: true,
2383 - tupleIdIsPrimaryKey: true
2384 - );
2385 -
2386 - public static readonly TableDefinition WixBundleExePackage = new TableDefinition(
2387 - "WixBundleExePackage",
2388 - TupleDefinitions.WixBundleExePackage,
2389 - new[]
2390 - {
2391 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2392 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied to this MSI package."),
2393 - new ColumnDefinition("DetectCondition", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2394 - new ColumnDefinition("InstallCommand", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2395 - new ColumnDefinition("RepairCommand", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2396 - new ColumnDefinition("UninstallCommand", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2397 - new ColumnDefinition("ExeProtocol", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2398 - },
2399 - unreal: true,
2400 - tupleIdIsPrimaryKey: true
2401 - );
2402 -
2403 - public static readonly TableDefinition WixBundleMsiPackage = new TableDefinition(
2404 - "WixBundleMsiPackage",
2405 - TupleDefinitions.WixBundleMsiPackage,
2406 - new[]
2407 - {
2408 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2409 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied to this MSI package."),
2410 - new ColumnDefinition("ProductCode", ColumnType.String, 38, primaryKey: false, nullable: false, ColumnCategory.Guid),
2411 - new ColumnDefinition("UpgradeCode", ColumnType.String, 38, primaryKey: false, nullable: true, ColumnCategory.Guid),
2412 - new ColumnDefinition("ProductVersion", ColumnType.String, 20, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2413 - new ColumnDefinition("ProductLanguage", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2414 - new ColumnDefinition("ProductName", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2415 - new ColumnDefinition("Manufacturer", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2416 - },
2417 - unreal: true,
2418 - tupleIdIsPrimaryKey: true
2419 - );
2420 -
2421 - public static readonly TableDefinition WixBundleMspPackage = new TableDefinition(
2422 - "WixBundleMspPackage",
2423 - TupleDefinitions.WixBundleMspPackage,
2424 - new[]
2425 - {
2426 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2427 - new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2428 - new ColumnDefinition("PatchCode", ColumnType.String, 38, primaryKey: false, nullable: true, ColumnCategory.Guid),
2429 - new ColumnDefinition("Manufacturer", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2430 - new ColumnDefinition("PatchXml", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2431 - },
2432 - unreal: true,
2433 - tupleIdIsPrimaryKey: true
2434 - );
2435 -
2436 - public static readonly TableDefinition WixBundleMsuPackage = new TableDefinition(
2437 - "WixBundleMsuPackage",
2438 - TupleDefinitions.WixBundleMsuPackage,
2439 - new[]
2440 - {
2441 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2442 - new ColumnDefinition("DetectCondition", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2443 - new ColumnDefinition("MsuKB", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2444 - },
2445 - unreal: true,
2446 - tupleIdIsPrimaryKey: true
2447 - );
2448 -
2449 - public static readonly TableDefinition WixBundlePackageExitCode = new TableDefinition(
2450 - "WixBundlePackageExitCode",
2451 - TupleDefinitions.WixBundlePackageExitCode,
2452 - new[]
2453 - {
2454 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table for the parent Exe."),
2455 - new ColumnDefinition("Code", ColumnType.Number, 0, primaryKey: true, nullable: true, ColumnCategory.Integer),
2456 - new ColumnDefinition("Behavior", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Integer, minValue: 0, maxValue: 3),
2457 - },
2458 - unreal: true,
2459 - tupleIdIsPrimaryKey: false
2460 - );
2461 -
2462 - public static readonly TableDefinition WixBundleMsiFeature = new TableDefinition(
2463 - "WixBundleMsiFeature",
2464 - TupleDefinitions.WixBundleMsiFeature,
2465 - new[]
2466 - {
2467 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2468 - new ColumnDefinition("Name", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2469 - new ColumnDefinition("Size", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2470 - new ColumnDefinition("Parent", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2471 - new ColumnDefinition("Title", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2472 - new ColumnDefinition("Description", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2473 - new ColumnDefinition("Display", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2474 - new ColumnDefinition("Level", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2475 - new ColumnDefinition("Directory", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2476 - new ColumnDefinition("Attributes", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2477 - },
2478 - unreal: true,
2479 - tupleIdIsPrimaryKey: false
2480 - );
2481 -
2482 - public static readonly TableDefinition WixBundleMsiProperty = new TableDefinition(
2483 - "WixBundleMsiProperty",
2484 - TupleDefinitions.WixBundleMsiProperty,
2485 - new[]
2486 - {
2487 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2488 - new ColumnDefinition("Name", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2489 - new ColumnDefinition("Value", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2490 - new ColumnDefinition("Condition", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2491 - },
2492 - unreal: true,
2493 - tupleIdIsPrimaryKey: false
2494 - );
2495 -
2496 - public static readonly TableDefinition WixBundleSlipstreamMsp = new TableDefinition(
2497 - "WixBundleSlipstreamMsp",
2498 - TupleDefinitions.WixBundleSlipstreamMsp,
2499 - new[]
2500 - {
2501 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table for the parent Msi."),
2502 - new ColumnDefinition("WixBundlePackage_Msp", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table for the referenced Msp."),
2503 - },
2504 - unreal: true,
2505 - tupleIdIsPrimaryKey: false
2506 - );
2507 -
2508 - public static readonly TableDefinition WixBundlePackageCommandLine = new TableDefinition(
2509 - "WixBundlePackageCommandLine",
2510 - TupleDefinitions.WixBundlePackageCommandLine,
2511 - new[]
2512 - {
2513 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2514 - new ColumnDefinition("InstallArgument", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2515 - new ColumnDefinition("UninstallArgument", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2516 - new ColumnDefinition("RepairArgument", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2517 - new ColumnDefinition("Condition", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2518 - },
2519 - unreal: true,
2520 - tupleIdIsPrimaryKey: false
2521 - );
2522 -
2523 - public static readonly TableDefinition WixRelatedBundle = new TableDefinition(
2524 - "WixRelatedBundle",
2525 - TupleDefinitions.WixRelatedBundle,
2526 - new[]
2527 - {
2528 - new ColumnDefinition("Id", ColumnType.String, 38, primaryKey: true, nullable: false, ColumnCategory.Guid),
2529 - new ColumnDefinition("Action", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2530 - },
2531 - unreal: true,
2532 - tupleIdIsPrimaryKey: false
2533 - );
2534 -
2535 - public static readonly TableDefinition WixBundleRelatedPackage = new TableDefinition(
2536 - "WixBundleRelatedPackage",
2537 - TupleDefinitions.WixBundleRelatedPackage,
2538 - new[]
2539 - {
2540 - new ColumnDefinition("WixBundlePackage_", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2541 - new ColumnDefinition("Id", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2542 - new ColumnDefinition("MinVersion", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2543 - new ColumnDefinition("MaxVersion", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2544 - new ColumnDefinition("Languages", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2545 - new ColumnDefinition("MinInclusive", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2546 - new ColumnDefinition("MaxInclusive", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2547 - new ColumnDefinition("LangInclusive", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2548 - new ColumnDefinition("OnlyDetect", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2549 - },
2550 - unreal: true,
2551 - tupleIdIsPrimaryKey: false
2552 - );
2553 -
2554 - public static readonly TableDefinition WixBundleVariable = new TableDefinition(
2555 - "WixBundleVariable",
2556 - TupleDefinitions.WixBundleVariable,
2557 - new[]
2558 - {
2559 - new ColumnDefinition("WixBundleVariable", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2560 - new ColumnDefinition("Value", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2561 - new ColumnDefinition("Type", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2562 - new ColumnDefinition("Hidden", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2563 - new ColumnDefinition("Persisted", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2564 - },
2565 - unreal: true,
2566 - tupleIdIsPrimaryKey: true
2567 - );
2568 -
2569 - public static readonly TableDefinition WixBundleProperties = new TableDefinition(
2570 - "WixBundleProperties",
2571 - null,
2572 - new[]
2573 - {
2574 - new ColumnDefinition("DisplayName", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2575 - new ColumnDefinition("LogPathVariable", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2576 - new ColumnDefinition("Compressed", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2577 - new ColumnDefinition("Id", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2578 - new ColumnDefinition("UpgradeCode", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2579 - new ColumnDefinition("PerMachine", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2580 - },
2581 - unreal: true,
2582 - tupleIdIsPrimaryKey: false
2583 - );
2584 -
2585 - public static readonly TableDefinition WixPackageFeatureInfo = new TableDefinition(
2586 - "WixPackageFeatureInfo",
2587 - null,
2588 - new[]
2589 - {
2590 - new ColumnDefinition("Package", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2591 - new ColumnDefinition("Feature", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2592 - new ColumnDefinition("Size", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2593 - new ColumnDefinition("Parent", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2594 - new ColumnDefinition("Title", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2595 - new ColumnDefinition("Description", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2596 - new ColumnDefinition("Display", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2597 - new ColumnDefinition("Level", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2598 - new ColumnDefinition("Directory", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2599 - new ColumnDefinition("Attributes", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2600 - },
2601 - unreal: true,
2602 - tupleIdIsPrimaryKey: false
2603 - );
2604 -
2605 - public static readonly TableDefinition WixPackageProperties = new TableDefinition(
2606 - "WixPackageProperties",
2607 - null,
2608 - new[]
2609 - {
2610 - new ColumnDefinition("Package", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2611 - new ColumnDefinition("Vital", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 1),
2612 - new ColumnDefinition("DisplayName", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2613 - new ColumnDefinition("Description", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2614 - new ColumnDefinition("DownloadSize", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2615 - new ColumnDefinition("PackageSize", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2616 - new ColumnDefinition("InstalledSize", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2617 - new ColumnDefinition("PackageType", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2618 - new ColumnDefinition("Permanent", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2619 - new ColumnDefinition("LogPathVariable", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2620 - new ColumnDefinition("RollbackLogPathVariable", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2621 - new ColumnDefinition("Compressed", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2622 - new ColumnDefinition("DisplayInternalUI", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2623 - new ColumnDefinition("ProductCode", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2624 - new ColumnDefinition("UpgradeCode", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2625 - new ColumnDefinition("Version", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2626 - new ColumnDefinition("InstallCondition", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2627 - new ColumnDefinition("Cache", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2),
2628 - },
2629 - unreal: true,
2630 - tupleIdIsPrimaryKey: true
2631 - );
2632 -
2633 - public static readonly TableDefinition WixPayloadProperties = new TableDefinition(
2634 - "WixPayloadProperties",
2635 - null,
2636 - new[]
2637 - {
2638 - new ColumnDefinition("Payload", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2639 - new ColumnDefinition("Package", ColumnType.String, 0, primaryKey: true, nullable: true, ColumnCategory.Identifier, keyTable: "WixBundlePackage", keyColumn: 1, description: "Reference to a chain package entry in the WixBundlePackage table."),
2640 - new ColumnDefinition("Container", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown, keyTable: "WixBundleContainer", keyColumn: 1, description: "Reference to a container entry in the WixBundleContainer table."),
2641 - new ColumnDefinition("Name", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2642 - new ColumnDefinition("Size", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2643 - new ColumnDefinition("DownloadUrl", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
2644 - new ColumnDefinition("LayoutOnly", ColumnType.String, 3, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2645 - },
2646 - unreal: true,
2647 - tupleIdIsPrimaryKey: false
2648 - );
2649 -
2139 public static readonly TableDefinition Streams = new TableDefinition(
2140 "_Streams",
2141 null,
@@ -2704,94 +2193,6 @@ namespace WixToolset.Data.WindowsInstaller
2193 tupleIdIsPrimaryKey: false
2194 );
2195
2707 - public static readonly TableDefinition WixSearch = new TableDefinition(
2708 - "WixSearch",
2709 - TupleDefinitions.WixSearch,
2710 - new[]
2711 - {
2712 - new ColumnDefinition("WixSearch", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier),
2713 - new ColumnDefinition("Variable", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier),
2714 - new ColumnDefinition("Condition", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Condition),
2715 - },
2716 - unreal: true,
2717 - tupleIdIsPrimaryKey: true
2718 - );
2719 -
2720 - public static readonly TableDefinition WixSearchRelation = new TableDefinition(
2721 - "WixSearchRelation",
2722 - TupleDefinitions.WixSearchRelation,
2723 - new[]
2724 - {
2725 - new ColumnDefinition("WixSearch_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixSearch", keyColumn: 1, description: "Reference to a WixSearch entry in the WixSearch table."),
2726 - new ColumnDefinition("ParentId_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixSearch", keyColumn: 1, description: "Reference to a WixSearch entry in the WixSearch table."),
2727 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.DoubleInteger),
2728 - },
2729 - unreal: true,
2730 - tupleIdIsPrimaryKey: true
2731 - );
2732 -
2733 - public static readonly TableDefinition WixFileSearch = new TableDefinition(
2734 - "WixFileSearch",
2735 - TupleDefinitions.WixFileSearch,
2736 - new[]
2737 - {
2738 - new ColumnDefinition("WixSearch_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixSearch", keyColumn: 1, description: "Reference to a WixSearch entry in the WixSearch table."),
2739 - new ColumnDefinition("Path", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Text),
2740 - new ColumnDefinition("MinVersion", ColumnType.String, 24, primaryKey: false, nullable: true, ColumnCategory.Version),
2741 - new ColumnDefinition("MaxVersion", ColumnType.String, 24, primaryKey: false, nullable: true, ColumnCategory.Version),
2742 - new ColumnDefinition("MinSize", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.DoubleInteger),
2743 - new ColumnDefinition("MaxSize", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.DoubleInteger),
2744 - new ColumnDefinition("MinDate", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.DoubleInteger),
2745 - new ColumnDefinition("MaxDate", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.DoubleInteger),
2746 - new ColumnDefinition("Languages", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Text),
2747 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.DoubleInteger),
2748 - },
2749 - unreal: true,
2750 - tupleIdIsPrimaryKey: true
2751 - );
2752 -
2753 - public static readonly TableDefinition WixRegistrySearch = new TableDefinition(
2754 - "WixRegistrySearch",
2755 - TupleDefinitions.WixRegistrySearch,
2756 - new[]
2757 - {
2758 - new ColumnDefinition("WixSearch_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixSearch", keyColumn: 1, description: "Reference to a WixSearch entry in the WixSearch table."),
2759 - new ColumnDefinition("Root", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.DoubleInteger),
2760 - new ColumnDefinition("Key", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Text),
2761 - new ColumnDefinition("Value", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text),
2762 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.DoubleInteger),
2763 - },
2764 - unreal: true,
2765 - tupleIdIsPrimaryKey: true
2766 - );
2767 -
2768 - public static readonly TableDefinition WixComponentSearch = new TableDefinition(
2769 - "WixComponentSearch",
2770 - TupleDefinitions.WixComponentSearch,
2771 - new[]
2772 - {
2773 - new ColumnDefinition("WixSearch_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixSearch", keyColumn: 1, description: "Reference to a WixSearch entry in the WixSearch table."),
2774 - new ColumnDefinition("Guid", ColumnType.String, 38, primaryKey: false, nullable: false, ColumnCategory.Guid),
2775 - new ColumnDefinition("ProductCode", ColumnType.String, 38, primaryKey: false, nullable: true, ColumnCategory.Guid),
2776 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.DoubleInteger),
2777 - },
2778 - unreal: true,
2779 - tupleIdIsPrimaryKey: true
2780 - );
2781 -
2782 - public static readonly TableDefinition WixProductSearch = new TableDefinition(
2783 - "WixProductSearch",
2784 - TupleDefinitions.WixProductSearch,
2785 - new[]
2786 - {
2787 - new ColumnDefinition("WixSearch_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixSearch", keyColumn: 1, description: "Reference to a WixSearch entry in the WixSearch table."),
2788 - new ColumnDefinition("Guid", ColumnType.String, 38, primaryKey: false, nullable: false, ColumnCategory.Guid),
2789 - new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.DoubleInteger),
2790 - },
2791 - unreal: true,
2792 - tupleIdIsPrimaryKey: true
2793 - );
2794 -
2196 public static readonly TableDefinition[] All = new[]
2197 {
2198 ActionText,
@@ -2950,47 +2351,10 @@ namespace WixToolset.Data.WindowsInstaller
2351 WixPatchMetadata,
2352 WixUI,
2353 WixVariable,
2953 - WixBundleContainer,
2954 - WixBundlePayloadGroup,
2955 - WixBundlePayload,
2956 - WixBundlePatchTargetCode,
2957 - WixBundle,
2958 - WixApprovedExeForElevation,
2959 - WixBundleUpdate,
2960 - WixBootstrapperApplication,
2961 - WixUpdateRegistration,
2962 - WixBundleCatalog,
2963 - WixChain,
2964 - WixChainItem,
2965 - WixBundleRollbackBoundary,
2966 - WixBundlePackageGroup,
2967 - WixBundlePackage,
2968 - WixBundleExePackage,
2969 - WixBundleMsiPackage,
2970 - WixBundleMspPackage,
2971 - WixBundleMsuPackage,
2972 - WixBundlePackageExitCode,
2973 - WixBundleMsiFeature,
2974 - WixBundleMsiProperty,
2975 - WixBundleSlipstreamMsp,
2976 - WixBundlePackageCommandLine,
2977 - WixRelatedBundle,
2978 - WixBundleRelatedPackage,
2979 - WixBundleVariable,
2980 - WixBundleProperties,
2981 - WixPackageFeatureInfo,
2982 - WixPackageProperties,
2983 - WixPayloadProperties,
2354 Streams,
2355 SummaryInformation,
2356 TransformView,
2357 Validation,
2988 - WixSearch,
2989 - WixSearchRelation,
2990 - WixFileSearch,
2991 - WixRegistrySearch,
2992 - WixComponentSearch,
2993 - WixProductSearch,
2358 };
2359 }
2360 }