Creating Components and File Links
InstallShield 2018 » InstallScript Project Tutorial
You can add links to additional files in the Files and Folders view. In this step, you will add a file to your HelpFiles feature. As you add files in the Files and Folders view, the IDE creates components for you according to Setup Best Practices rules.
To add the source file Tutorial.html to a new component in the Help Files feature:
|
1.
|
Go to the Files and Folders view (under the View List’s Application Data node). |
|
2.
|
Select Help Files from the feature list at the top of the view. |
|
3.
|
In the “Destination computer’s folders” area, right-click the Destination Computer icon and verify that Show Components is selected. |
|
4.
|
Right-click the Application Target Folder icon and select New Component. |
|
5.
|
Rename the new component HelpComponent. |
|
6.
|
In the “Source computer’s folders” area, browse for the source folder containing TutorialHelp.html. |
|
7.
|
Drag the TutorialHelp.html icon from the “Source computer’s files” area and drop it on the HelpComponent icon. |
This type of file linking, where the list of files linked to a component does not change, is called static file linking. To link to a directory (and possibly its subdirectories) whose contents might change between builds, see Dynamic File Linking.
Tip • You can use the InstallShield dependency scanners to determine additional files required by your application that are currently not included in your project. For example, Tutorial App uses MFC, so it will be necessary to add the MFC Runtime object to your project in the Redistributables view if you intend to target systems that do not have the MFC run-time libraries installed.
The next step of the tutorial explains how to build a release image for your installation project.
See Also
Files and Folders View
Redistributables
Static Scanning Wizard
Dynamic Scanning Wizard
Open topic with navigation