Share via


Component Dialog Box

   

Use this dialog box to view a list of installer components in your project and to change which component any of these elements of your installer project belongs to or is associated with:

  • File.

  • Registry key or value.

  • Document type extension.

  • COM object.

  • Type library.

You reach this dialog box by:

  1. Selecting the element of interest (the file, registry key or value, document type extension, COM object, or type library) in the appropriate editor.

  2. Selecting the Dialog button […] in the Component property in the Properties window.

    Note   To reach the Component Dialog Box for a document type extension, select the Dialog button […] in the Command property in the Properties window.

For more information about Windows installer components, search for "Components AND features" in the MSDN™ Library under the topics, Platform SDK, Setup and Systems Management Services, Setup, and Windows Installer Programmer's Reference.

Options

Important   The specific options available in this dialog box differ according to the type of installer element (a file, registry entry, document type extension, COM object, or type library) selected when you display the dialog.

A component by itself

Displayed for files and registry entries. When checked, it indicates the selected file or registry entry is a component key.

Default component

Displayed for COM objects and type libraries. When checked, it indicates the selected COM object or type library belongs to the default installer component.

None

Displayed for document type extensions. When checked, it indicates the selected document type extension does not belong to a component.

The following component

When checked, it indicates the selected file, registry value, document type extension, COM object, or type library is not a component key and belongs to the component with its name highlighted in the Name column.

When working with a file or registry entry, you can change the component it belongs to by selecting the new component name in the Name column list.

Important   If you demote a component key by assigning it to another component key here, all files belonging to the original component move with it. For example, if you move the key file for Component1 to Component2, all files in Component1 move to Component2.

When working with a document type extension, COM object, or type library, you can change the component it belongs to by selecting the new component name in the Name column list.

Name

Lists names of component key files in the installer project. The highlighted name is the key for the component that the selected file, registry entry, document type extension, COM object, or type library belongs to. To move the selected element to a different component, you can highlight a different key file name in this list.

Target Path

Shows where the component with this name (shown in the Name column) will be installed on the target machine.

Source Path

Shows where the component with name (shown in the Name column) resides on the source machine.