aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs')
-rw-r--r--src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs b/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs
index f6c07a83..3a1a8916 100644
--- a/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs
+++ b/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs
@@ -2,6 +2,8 @@
2 2
3namespace WixToolset.Data.WindowsInstaller 3namespace WixToolset.Data.WindowsInstaller
4{ 4{
5 using WixToolset.Data.WindowsInstaller.Rows;
6
5 public static class WindowsInstallerTableDefinitions 7 public static class WindowsInstallerTableDefinitions
6 { 8 {
7 public static readonly TableDefinition ActionText = new TableDefinition( 9 public static readonly TableDefinition ActionText = new TableDefinition(
@@ -111,6 +113,7 @@ namespace WixToolset.Data.WindowsInstaller
111 new ColumnDefinition("Property", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Name of property, uppercase if settable by launcher or loader.", modularizeType: ColumnModularizeType.Column), 113 new ColumnDefinition("Property", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "Name of property, uppercase if settable by launcher or loader.", modularizeType: ColumnModularizeType.Column),
112 new ColumnDefinition("Value", ColumnType.Localized, 0, primaryKey: false, nullable: false, ColumnCategory.Text, description: "String value for property. Never null or empty."), 114 new ColumnDefinition("Value", ColumnType.Localized, 0, primaryKey: false, nullable: false, ColumnCategory.Text, description: "String value for property. Never null or empty."),
113 }, 115 },
116 strongRowType: typeof(PropertyRow),
114 tupleIdIsPrimaryKey: true 117 tupleIdIsPrimaryKey: true
115 ); 118 );
116 119
@@ -129,6 +132,7 @@ namespace WixToolset.Data.WindowsInstaller
129 new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied to this control."), 132 new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: true, ColumnCategory.Unknown, minValue: 0, maxValue: 2147483647, description: "A 32-bit word that specifies the attribute flags to be applied to this control."),
130 new ColumnDefinition("Text", ColumnType.Localized, 50, primaryKey: false, nullable: true, ColumnCategory.Text, description: "A string used to set the initial text contained within a control (if appropriate)."), 133 new ColumnDefinition("Text", ColumnType.Localized, 50, primaryKey: false, nullable: true, ColumnCategory.Text, description: "A string used to set the initial text contained within a control (if appropriate)."),
131 }, 134 },
135 strongRowType: typeof(BBControlRow),
132 tupleIdIsPrimaryKey: false 136 tupleIdIsPrimaryKey: false
133 ); 137 );
134 138
@@ -200,6 +204,7 @@ namespace WixToolset.Data.WindowsInstaller
200 new ColumnDefinition("DiskId", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 1, maxValue: 32767, description: "Disk identifier for the file.", unreal: true), 204 new ColumnDefinition("DiskId", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 1, maxValue: 32767, description: "Disk identifier for the file.", unreal: true),
201 new ColumnDefinition("Source", ColumnType.Object, 0, primaryKey: false, nullable: false, ColumnCategory.Binary, description: "Path to source of file.", unreal: true), 205 new ColumnDefinition("Source", ColumnType.Object, 0, primaryKey: false, nullable: false, ColumnCategory.Binary, description: "Path to source of file.", unreal: true),
202 }, 206 },
207 strongRowType: typeof(FileRow),
203 tupleIdIsPrimaryKey: true 208 tupleIdIsPrimaryKey: true
204 ); 209 );
205 210
@@ -258,6 +263,7 @@ namespace WixToolset.Data.WindowsInstaller
258 new ColumnDefinition("Condition", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Condition, description: "A conditional statement that will disable this component if the specified condition evaluates to the 'True' state. If a component is disabled, it will not be installed, regardless of the 'Action' state associated with the component.", modularizeType: ColumnModularizeType.Condition, forceLocalizable: true), 263 new ColumnDefinition("Condition", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Condition, description: "A conditional statement that will disable this component if the specified condition evaluates to the 'True' state. If a component is disabled, it will not be installed, regardless of the 'Action' state associated with the component.", modularizeType: ColumnModularizeType.Condition, forceLocalizable: true),
259 new ColumnDefinition("KeyPath", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "File;Registry;ODBCDataSource", keyColumn: 1, description: "Either the primary key into the File table, Registry table, or ODBCDataSource table. This extract path is stored when the component is installed, and is used to detect the presence of the component and to return the path to it.", modularizeType: ColumnModularizeType.Column), 264 new ColumnDefinition("KeyPath", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "File;Registry;ODBCDataSource", keyColumn: 1, description: "Either the primary key into the File table, Registry table, or ODBCDataSource table. This extract path is stored when the component is installed, and is used to detect the presence of the component and to return the path to it.", modularizeType: ColumnModularizeType.Column),
260 }, 265 },
266 strongRowType: typeof(ComponentRow),
261 tupleIdIsPrimaryKey: true 267 tupleIdIsPrimaryKey: true
262 ); 268 );
263 269
@@ -353,6 +359,7 @@ namespace WixToolset.Data.WindowsInstaller
353 new ColumnDefinition("Control_Next", ColumnType.String, 50, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "Control", keyColumn: 2, description: "The name of an other control on the same dialog. This link defines the tab order of the controls. The links have to form one or more cycles!"), 359 new ColumnDefinition("Control_Next", ColumnType.String, 50, primaryKey: false, nullable: true, ColumnCategory.Identifier, keyTable: "Control", keyColumn: 2, description: "The name of an other control on the same dialog. This link defines the tab order of the controls. The links have to form one or more cycles!"),
354 new ColumnDefinition("Help", ColumnType.Localized, 50, primaryKey: false, nullable: true, ColumnCategory.Text, description: "The help strings used with the button. The text is optional. "), 360 new ColumnDefinition("Help", ColumnType.Localized, 50, primaryKey: false, nullable: true, ColumnCategory.Text, description: "The help strings used with the button. The text is optional. "),
355 }, 361 },
362 strongRowType: typeof(ControlRow),
356 tupleIdIsPrimaryKey: false 363 tupleIdIsPrimaryKey: false
357 ); 364 );
358 365
@@ -708,6 +715,7 @@ namespace WixToolset.Data.WindowsInstaller
708 new ColumnDefinition("VolumeLabel", ColumnType.String, 32, primaryKey: false, nullable: true, ColumnCategory.Text, description: "The label attributed to the volume."), 715 new ColumnDefinition("VolumeLabel", ColumnType.String, 32, primaryKey: false, nullable: true, ColumnCategory.Text, description: "The label attributed to the volume."),
709 new ColumnDefinition("Source", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Property, description: "The property defining the location of the cabinet file."), 716 new ColumnDefinition("Source", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Property, description: "The property defining the location of the cabinet file."),
710 }, 717 },
718 strongRowType: typeof(MediaRow),
711 tupleIdIsPrimaryKey: false 719 tupleIdIsPrimaryKey: false
712 ); 720 );
713 721
@@ -1330,6 +1338,7 @@ namespace WixToolset.Data.WindowsInstaller
1330 new ColumnDefinition("Remove", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "The list of features to remove when uninstalling a product from this set. The default is \"ALL\"."), 1338 new ColumnDefinition("Remove", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "The list of features to remove when uninstalling a product from this set. The default is \"ALL\"."),
1331 new ColumnDefinition("ActionProperty", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.UpperCase, description: "The property to set when a product in this set is found."), 1339 new ColumnDefinition("ActionProperty", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.UpperCase, description: "The property to set when a product in this set is found."),
1332 }, 1340 },
1341 strongRowType: typeof(UpgradeRow),
1333 tupleIdIsPrimaryKey: false 1342 tupleIdIsPrimaryKey: false
1334 ); 1343 );
1335 1344
@@ -1666,6 +1675,7 @@ namespace WixToolset.Data.WindowsInstaller
1666 new ColumnDefinition("Overridable", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown), 1675 new ColumnDefinition("Overridable", ColumnType.Number, 2, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1667 }, 1676 },
1668 unreal: true, 1677 unreal: true,
1678 strongRowType: typeof(WixActionRow),
1669 tupleIdIsPrimaryKey: false 1679 tupleIdIsPrimaryKey: false
1670 ); 1680 );
1671 1681
@@ -1695,6 +1705,7 @@ namespace WixToolset.Data.WindowsInstaller
1695 new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown), 1705 new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1696 }, 1706 },
1697 unreal: true, 1707 unreal: true,
1708 strongRowType: typeof(WixComplexReferenceRow),
1698 tupleIdIsPrimaryKey: false 1709 tupleIdIsPrimaryKey: false
1699 ); 1710 );
1700 1711
@@ -1814,6 +1825,7 @@ namespace WixToolset.Data.WindowsInstaller
1814 new ColumnDefinition("ChildType", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, description: "Primary key used to identify a particular child type in a child table."), 1825 new ColumnDefinition("ChildType", ColumnType.String, 0, primaryKey: true, nullable: false, ColumnCategory.Unknown, description: "Primary key used to identify a particular child type in a child table."),
1815 }, 1826 },
1816 unreal: true, 1827 unreal: true,
1828 strongRowType: typeof(WixGroupRow),
1817 tupleIdIsPrimaryKey: false 1829 tupleIdIsPrimaryKey: false
1818 ); 1830 );
1819 1831
@@ -1923,6 +1935,7 @@ namespace WixToolset.Data.WindowsInstaller
1923 new ColumnDefinition("Layout", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown), 1935 new ColumnDefinition("Layout", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Unknown),
1924 }, 1936 },
1925 unreal: true, 1937 unreal: true,
1938 strongRowType: typeof(WixMediaRow),
1926 tupleIdIsPrimaryKey: false 1939 tupleIdIsPrimaryKey: false
1927 ); 1940 );
1928 1941
@@ -1939,6 +1952,7 @@ namespace WixToolset.Data.WindowsInstaller
1939 new ColumnDefinition("MaximumCabinetSizeForLargeFileSplitting", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown), 1952 new ColumnDefinition("MaximumCabinetSizeForLargeFileSplitting", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1940 }, 1953 },
1941 unreal: true, 1954 unreal: true,
1955 strongRowType: typeof(WixMediaTemplateRow),
1942 tupleIdIsPrimaryKey: false 1956 tupleIdIsPrimaryKey: false
1943 ); 1957 );
1944 1958
@@ -1957,6 +1971,7 @@ namespace WixToolset.Data.WindowsInstaller
1957 new ColumnDefinition("Feature_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Unknown), 1971 new ColumnDefinition("Feature_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Unknown),
1958 }, 1972 },
1959 unreal: true, 1973 unreal: true,
1974 strongRowType: typeof(WixMergeRow),
1960 tupleIdIsPrimaryKey: true 1975 tupleIdIsPrimaryKey: true
1961 ); 1976 );
1962 1977
@@ -1987,6 +2002,7 @@ namespace WixToolset.Data.WindowsInstaller
1987 new ColumnDefinition("SymbolPaths", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text), 2002 new ColumnDefinition("SymbolPaths", ColumnType.Preserved, 0, primaryKey: false, nullable: true, ColumnCategory.Text),
1988 }, 2003 },
1989 unreal: true, 2004 unreal: true,
2005 strongRowType: typeof(WixDeltaPatchFileRow),
1990 tupleIdIsPrimaryKey: false 2006 tupleIdIsPrimaryKey: false
1991 ); 2007 );
1992 2008
@@ -2000,6 +2016,7 @@ namespace WixToolset.Data.WindowsInstaller
2000 new ColumnDefinition("SymbolPaths", ColumnType.Preserved, 0, primaryKey: false, nullable: false, ColumnCategory.Text), 2016 new ColumnDefinition("SymbolPaths", ColumnType.Preserved, 0, primaryKey: false, nullable: false, ColumnCategory.Text),
2001 }, 2017 },
2002 unreal: true, 2018 unreal: true,
2019 strongRowType: typeof(WixDeltaPatchSymbolPathsRow),
2003 tupleIdIsPrimaryKey: false 2020 tupleIdIsPrimaryKey: false
2004 ); 2021 );
2005 2022
@@ -2012,6 +2029,7 @@ namespace WixToolset.Data.WindowsInstaller
2012 new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown), 2029 new ColumnDefinition("Attributes", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2013 }, 2030 },
2014 unreal: true, 2031 unreal: true,
2032 strongRowType: typeof(WixPropertyRow),
2015 tupleIdIsPrimaryKey: false 2033 tupleIdIsPrimaryKey: false
2016 ); 2034 );
2017 2035
@@ -2024,6 +2042,7 @@ namespace WixToolset.Data.WindowsInstaller
2024 new ColumnDefinition("PrimaryKeys", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown), 2042 new ColumnDefinition("PrimaryKeys", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Unknown),
2025 }, 2043 },
2026 unreal: true, 2044 unreal: true,
2045 strongRowType: typeof(WixSimpleReferenceRow),
2027 tupleIdIsPrimaryKey: false 2046 tupleIdIsPrimaryKey: false
2028 ); 2047 );
2029 2048