Creating A New Table - Symantec WINDOWS INSTALLER EDITOR 8.0 Reference

Hide thumbs Also See for WINDOWS INSTALLER EDITOR 8.0:
Table of Contents

Advertisement

Creating a New Table

Windows Installer Editor Reference
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
Editing Existing Tables
on page 383
Searching for Table Data
Finding Validation Errors
Editing Binary Data in the Icon 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.
on page 383
on page 384
on page 385
on page 386
Setup Editor
382

Advertisement

Table of Contents
loading

Table of Contents