BLD:E0072

Object must be assigned to a component for MSI

The indicated object is not assigned to a component. However, MSI requires that each installation object belongs to a component. As a result, MSI database creation will fail.

Background

MSI installers can only install objects that are controlled by a component, which in turn must belong to one or more features. Without the component, the object would never be installed or removed.

Furthermore, the MSI database enforces its database schema when the database is created. In particular, it will refuse to add a new record if that record has an empty value where the database requires a non-nullable value.

Solution

Assign the indicated object to a suitable component, or create a new component for the object. To perform the assignment, right-click on the object or click the Commands link in its attribute pane, then choose Assign to Component. This opens the Select Component dialog box, which allows you to select an existing component or create a new one.