Windows Installer Editor Reference
28
Introduction
User-Defined
Tasks that you have created.
When you set a filter, it is in effect until you change it. However, when you encounter
installation issues, the filter is reset to All so installation issues can be displayed.
Finding Table Errors From the Task List
If a task is associated with a table, you can access that table directly from the Task List,
which helps you discover the problem that caused the issue.
Example: If a source file for the installation was moved or deleted at its source, a
WiseSourcePath table error appears during compile. When you double-click this task,
the WiseSourcePath table appears in Setup Editor, and the row in the table that is the
cause of the problem is highlighted. Use the source path information in the row to
ascertain and resolve the problem.
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 find table errors from the Task List:
If the task has a table listed in the Table column, double-click the task. The table is
displayed in Setup Editor > Tables tab, and the row in the table associated with the task
is highlighted.
In Visual Studio: a table is displayed only if a table is associated with the task.
If you need more information, check the task’s description or press F1 to display the
help topic for the selected table in the Windows Installer SDK Help.
See also:
Tables Tab
on page 430
Using the Task List
on page 26
Adding User-Defined Tasks
¾
Not available in the Visual Studio integrated editor.
You can add tasks to the Task List. Example: Add user-defined tasks to define work that
must be completed on the installation. Tasks you add to the Task List are saved with the
installation. You can only add user-defined tasks to a .WSI; you cannot add them to an
.MSI.
To add a user-defined task
1. On the first line of the Task List, click Click here to add a new item twice and type
the task.
If Click here to add a new item does not appear in the Task List, save the
installation file and it will appear.