Dragging and Dropping Files Using the Context Menu
InstallShield 2020 Express Edition
The Files 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 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 commands:
1. | In the View list under Specify Application Data, click Files. |
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.
Option |
Description |
Add |
Adds the folder, subfolders, and/or files that are 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 destination folder. In addition, the destination on which you drop the file/folder must be the Destination Computer in the Destination computer’s folders pane. |
Add Folder(s) Only |
Adds only the selected folders and any subfolders that are in the selected folder. This option does not add any files that are within the selected folders or subfolders. |
Add Folder(s) Only Preserving Source Structure |
Adds only the selected folders and any subfolders that are in the selected folder. This option does not add any files that are within the selected folders or subfolders. This option also preserves the folder structure found on the source computer. This command is available only if the source folder matches a predefined destination folder. In addition, the destination on which you drop the file/folder must be the Destination Computer in the Destination computer’s folders pane. |
Cancel |
Ends the drag-and-drop operation without making any changes. |
Tip:If you are creating a 64-bit installation that can install to 64-bit locations (such as the Program Files Folder instead of the Program Files Folder (x86) folder) on 64-bit target systems, use a predefined 64-bit folder (ProgramFiles64Folder, CommonFiles64Folder, or System64Folder) or one of its subfolders in the Destination computer’s folders pane.
Note that a 64-bit installation cannot be run on 32-bit target systems. To learn more, see Challenges of Supporting Both 32-Bit and 64-Bit Target Operating Systems.
See Also