Dragging and Dropping Files Using the Context Menu

InstallShield 2024

The files explorer in the Files and Folders view enables you to drag and drop folders from your source computer to destinations on the target system. You have a number of options when you drag files from the Source computer’s folders pane to the Destination computer’s folders pane.

Tip:When you are using InstallShield on a 64-bit system and you want to add to your project a system file whose source location is the 64-bit System folder (System32) on your development machine, it is not possible to drag the file from one of the source computer panes at the top of the Files and Folders view to the appropriate location in one of the destination computer panes. To learn more, see Adding Files from Your 64-Bit Source Machine’s 64-Bit System32 Folder.

To display the context menu:

1. In the View list under Application Data, click Files and Folders.
2. In the Source computer’s folders pane or the Source computer’s files pane, right-click a folder or file and drag it to the Destination computer’s folders pane or the Destination computer’s files pane. Then release the mouse button.

If the predefined folder to which you adding the folder or file is not displayed in the Destination computer’s folders pane, you can add it. To learn how, see Displaying Predefined Folders in the Files View.

InstallShield displays a context menu that contains several commands.

Commands that Are Available on the Context Menu in the Files and Folders View

Command

Description

Add

Adds the folder, subfolders, and/or files selected. This is the same as the default drag-and-drop behavior.

Add Preserving Source Structure

Adds the selected folder, subfolders, and/or files while preserving the file/folder structure found on the source computer.

This command is available only if the source folder matches a predefined Windows destination folder. In addition, the destination on which you drop the file or folder must be the Destination Computer.

Add Folder(s) Only

Adds only the folders selected and any subfolders contained in the selected folder. Does not add any files contained within the selected folders or subfolders.

Add Folder(s) Only Preserving Source Structure

Adds only the folders selected and any subfolders contained in the selected folder. Does not add any files contained within the selected folders or subfolders. This option also preserves the folder structure found on the source computer.

This option is available only if the source folder matches a predefined Windows destination folder. In addition, the destination on which you drop the file or folder must be the Destination Computer.

Cancel

Ends the drag-and-drop operation without making any changes.