Windows Installer Editor Reference
382
Setup Editor
z
You can select rows in tables, then copy and paste them into any program that
supports SYLK format, such as Excel. You also can paste the rows into a text editor,
where they appear as comma-delimited text.
See:
Creating a New Table
on page 382
Creating a New Row in a Table
on page 383
Editing Existing Tables
on page 383
Searching for Table Data
on page 384
Finding Validation Errors
on page 385
Editing Binary Data in the Icon Table
on page 386
Creating a New Table
Warning
Deleting, adding, or editing table data directly is not recommended unless you are an
experienced Windows Installer developer with a clear understanding of Windows
Installer database technology. Editing table data might cause unexpected, undesirable
behavior, including damage to the installation. We cannot provide technical support for
problems arising from table editing.
To create a new table
1. In Setup Editor > Tables tab, right-click and select Create Table.
The Create Table dialog box appears.
2. In Table Name, enter the name of the new table.
3. Click Add to add a field.
The Field Definition dialog box appears.
4. Complete the dialog box:
Field Name
Enter the name of the field.
Data Type
Specify whether this field is a long integer, short integer, or string.
String Length
If this field is a string, enter the length of the string in this field. The default is
255 characters; a length of 0 indicates no length limit.
Nullable
Mark this to indicate that this field can be null.
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.