MSI System Tables
- April 13, 2022
- Posted by: Pavithra
- Category: End User Computing
MSI System Tables The System tables contain the metadata for the Installer database—that is, they are the tables that describe the tables in the database. There are five system tables as described below:
The _Tables Table: (MSI System Tables)
What is a _Tables Table?
The _Tables table lists all of the tables in the Installer database. It has following column:
This column displays the name of the table.
What is a _Columns Table?
The _Columns table describes all of the columns in all of the tables in the Installer database. This table has these columns:
This column is a foreign key to the _Tables table, and it names the table that contains the column that this row of the Columns table describes.
This is the order in which the column appears within the table.
This is the name of the column.
What is a _Streams Table?
The _Streams table lists embedded OLE data streams in the Installer database. This table contains these columns:
This column contains the name of the stream.
This is the raw binary data for the stream.
What is a _Storages Table?
The _Storages table lists embedded OLE data storages in the Installer database. This table contains these columns:
This column displays the name of the storage.
This is the raw binary data for the storage.
What is a _Validation Table?
The _Validation table contains information on the acceptable range for columns in the Installer database. This table has these columns:
This column contains a foreign key into the _Table table; it identifies the table being validated.
This is a foreign key into the _Column table; this column identifies the column being validated.
This column identifies whether the target column is nullable. The value may be Y if the column allows nulls, N if it does not allow nulls, or @ if it’s part of a multicolumn key but still allows nulls.
This column shows the minimum permissible value for a date, numeric, or version column.
This column shows the maximum permissible value for a date, numeric, or version column.
If this column is non-null, the target column is a foreign key into the table identified here.
If this column is non-null, the target column is a foreign key to the column number in the KeyTable identified here.
This column specifies the data type of the target column.
If present, this is a semicolon-delimited list of acceptable values for the column.
This is a description of the data stored in the target column.
Definitions of Primary and Foreign key:
|Primary_Key||The primary key of a table uniquely identifies each record in the table. It can either be a normal attribute that is guaranteed to be unique (such as Social Security Number in a table with no more than one record per person)|
|Foreign_Key (or) External_ Key||A foreign key is a field in a table that matches the primary key column of another table. The foreign key can be used to cross-reference tables.|