Windows Installer Editor Reference
433
Setup Editor
Primary Key
Mark this to indicate that this field is a primary key in this table. A table can
have more than one primary field.
Localizable
Mark this to indicate that this field should be translatable. If you distribute this
installation in another language, the data in this field will be translated.
Value Range Min/Value Range Max
Enter minimum and maximum allowed values for an integer field. These fields
are available only when the data type is a long or short integer.
Value Set
Enter a list of acceptable values for this field, separated by semicolons.
Key Table
Select the table to which this column is linked. Example: The SelfReg table has
a column File_ that is linked to the File table.
Key Column
Select the column in the linked table. Example: The SelfReg table File_ column
is linked to the File column in the File table.
Category
Select the type of information stored in this column.
Description
Enter a short text description of the information stored in this column.
5. Click OK on the Field Definition dialog box.
6. Continue to add fields as needed.
7. On the Create Table dialog box, click OK to add the table.
See also:
Tables Tab
on page 430
Creating a New Row in a Table
on page 433
Creating a New Row in a Table
Warning
When you add a row to a table this way, additional rows are not added to related tables.
Be sure you understand relational databases and Windows Installer database technology
before adding rows.
To create a new row in a table
1. In Setup Editor > Tables, in the left pane, select a table.
2. In the upper-right pane, right-click the row above which the new row should appear
and select New Row.
A message appears.
3. Click OK. A new row is added to the table.
4. Click in each field to select it for entry. (If you click away from the row, you might
have to triple-click to access a field.)