Adding a Root Element

Project:This information applies to the following project types:

Basic MSI
DIM
InstallScript
InstallScript MSI
Merge Module
MSI Database
Transform

If you are adding an XML file reference in the XML File Changes view, you can add a root element. Note that an XML file can contain only one root element.

To add a root element to an XML file:

1. In the View List under System Configuration, click XML File Changes.
2. In the XML Files explorer, right-click the XML file to which you want to add a new root element and click New Root Element.

InstallShield adds the new root element. Use the tabs that are displayed in the right pane to configure its settings.

Tip:To add a root element and one or more levels of subelements in one step, type the name of the root element plus the subelements, with each separated by a slash. For example, to add a root element called Root, a Sub element under the Root element, and a Sub2 element under the Sub element, type the following:

Root/Sub/Sub2

InstallShield automatically expands it in the explorer.