diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-02-27 07:29:10 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-02-27 07:39:31 -0800 |
| commit | 55252821d8effa420f95d10824f59d5e176a43b3 (patch) | |
| tree | bf0da82a3b1fed2543bae2c2ece3341986d71056 /src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs | |
| parent | d997b6cda9e983f9dfa45fddd7122f33ae8c7666 (diff) | |
| download | wix-55252821d8effa420f95d10824f59d5e176a43b3.tar.gz wix-55252821d8effa420f95d10824f59d5e176a43b3.tar.bz2 wix-55252821d8effa420f95d10824f59d5e176a43b3.zip | |
Absorb Dependency.wixext into Data
Partly resolves wixtoolset/issues#5949
Diffstat (limited to 'src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs')
| -rw-r--r-- | src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs b/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs index c0075a27..dab5ed02 100644 --- a/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs +++ b/src/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs | |||
| @@ -1732,6 +1732,46 @@ namespace WixToolset.Data.WindowsInstaller | |||
| 1732 | symbolIdIsPrimaryKey: false | 1732 | symbolIdIsPrimaryKey: false |
| 1733 | ); | 1733 | ); |
| 1734 | 1734 | ||
| 1735 | public static readonly TableDefinition WixDependencyProvider = new TableDefinition( | ||
| 1736 | "WixDependencyProvider", | ||
| 1737 | SymbolDefinitions.WixDependencyProvider, | ||
| 1738 | new[] | ||
| 1739 | { | ||
| 1740 | new ColumnDefinition("WixDependencyProvider", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), | ||
| 1741 | new ColumnDefinition("Component_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Identifier, keyTable: "Component", keyColumn: 1, description: "The foreign key into the Component table used to determine install state.", modularizeType: ColumnModularizeType.Column), | ||
| 1742 | new ColumnDefinition("ProviderKey", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Text, description: "The name of the registry key that holds the provider identity."), | ||
| 1743 | new ColumnDefinition("Version", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Version, description: "The version of the package."), | ||
| 1744 | new ColumnDefinition("DisplayName", ColumnType.String, 255, primaryKey: false, nullable: true, ColumnCategory.Text, description: "The display name of the package."), | ||
| 1745 | 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."), | ||
| 1746 | }, | ||
| 1747 | symbolIdIsPrimaryKey: true | ||
| 1748 | ); | ||
| 1749 | |||
| 1750 | public static readonly TableDefinition WixDependency = new TableDefinition( | ||
| 1751 | "WixDependency", | ||
| 1752 | SymbolDefinitions.WixDependency, | ||
| 1753 | new[] | ||
| 1754 | { | ||
| 1755 | new ColumnDefinition("WixDependency", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), | ||
| 1756 | new ColumnDefinition("ProviderKey", ColumnType.String, 255, primaryKey: false, nullable: false, ColumnCategory.Text, description: "The name of the registry key that holds the provider identity."), | ||
| 1757 | new ColumnDefinition("MinVersion", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Version, description: "The minimum version of the provider supported."), | ||
| 1758 | new ColumnDefinition("MaxVersion", ColumnType.String, 72, primaryKey: false, nullable: true, ColumnCategory.Version, description: "The maximum version of the provider supported."), | ||
| 1759 | 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."), | ||
| 1760 | }, | ||
| 1761 | symbolIdIsPrimaryKey: true | ||
| 1762 | ); | ||
| 1763 | |||
| 1764 | public static readonly TableDefinition WixDependencyRef = new TableDefinition( | ||
| 1765 | "WixDependencyRef", | ||
| 1766 | SymbolDefinitions.WixDependencyRef, | ||
| 1767 | new[] | ||
| 1768 | { | ||
| 1769 | new ColumnDefinition("WixDependencyProvider_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixDependencyProvider", keyColumn: 1, description: "Foreign key into the Component table.", modularizeType: ColumnModularizeType.Column), | ||
| 1770 | new ColumnDefinition("WixDependency_", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, keyTable: "WixDependency", keyColumn: 1, description: "Foreign key into the WixDependency table.", modularizeType: ColumnModularizeType.Column), | ||
| 1771 | }, | ||
| 1772 | symbolIdIsPrimaryKey: false | ||
| 1773 | ); | ||
| 1774 | |||
| 1735 | public static readonly TableDefinition[] All = new[] | 1775 | public static readonly TableDefinition[] All = new[] |
| 1736 | { | 1776 | { |
| 1737 | ActionText, | 1777 | ActionText, |
| @@ -1859,6 +1899,9 @@ namespace WixToolset.Data.WindowsInstaller | |||
| 1859 | SummaryInformation, | 1899 | SummaryInformation, |
| 1860 | TransformView, | 1900 | TransformView, |
| 1861 | Validation, | 1901 | Validation, |
| 1902 | WixDependency, | ||
| 1903 | WixDependencyProvider, | ||
| 1904 | WixDependencyRef, | ||
| 1862 | }; | 1905 | }; |
| 1863 | } | 1906 | } |
| 1864 | } | 1907 | } |
