![Symantec WINDOWS INSTALLER EDITOR 8.0 Скачать руководство пользователя страница 378](http://html.mh-extra.com/html/symantec/windows-installer-editor-8-0/windows-installer-editor-8-0_reference_1418944378.webp)
Windows Installer Editor Reference
378
Setup Editor
Components Tab
on page 372
Moving Items Between Components
Warning
To work with items on the Components tab, you should be proficient in the Windows
Installer development environment. See Windows Installer Components in the Windows
Installer SDK Help.
On the Components tab, you can move items from one component to another. The
procedure below works for all types of items, and also warns you when a key path must
be changed. For files and registry entries, you can drag between components, but you
are not warned if a key path is changed.
To move items between components
1. In Setup Editor > Components tab, navigate to an item so that it appears in the
upper-right pane.
2. In the upper-right pane, select one or more items, right-click, and select Move.
Note
If an item you select is the component’s key path, a message informs you that the
item will become the destination component’s key path, even if that component
already has a key path. To reset the destination component’s key path, click Yes. To
cancel the move, click No. You can reset key paths manually by right-clicking an
item and selecting Set as Key.
The Move to a Different Component dialog box appears.
3. Click the component to move the selected item to.
4. Click OK.
If the component icon is colored red after you move an item to it, the change you made
causes an error. Right-click the component and select Show Errors to see a description
of the problem.
See also:
Components Tab
on page 372
About the Key Path
To determine whether a specific component is installed, Windows Installer looks for the
component’s key path rather than looking for every item in the component. If it finds the
item that is specified as the key path, it assumes that all other items that make up the
corresponding component, and therefore, the component, are installed. Some items
require a key path (example: advertised shortcut).
Setup Editor indicates key paths by placing a yellow key icon over the item’s icon.
To set an item as key path
z
In Setup Editor > Components tab, right-click the item and select Set as Key.
OR