Adding Files to Your Project
InstallShield 2022 » Basic MSI Tutorial
The next step is to add your application’s files to the installation project. The Application Files page lets you specify the files you want to associate with each of your features.
In this step, you will add the Tutorial executable file to the Tutorial_Files feature.
To add the Tutorial executable to the Tutorial_Files feature:
|
1.
|
Select the Tutorial_Files feature from the drop-down list of features at the top of the page. |
|
2.
|
In the tree control (with top node Destination Computer), select the INSTALLDIR node. |
|
3.
|
Click Add Files. An Open dialog box opens. |
|
4.
|
Browse to Tutorial.exe, which is located in the Tutorial Files source directory. |
|
5.
|
Click Open to add the file to the Tutorial_Files feature. |
|
6.
|
When the file you have added ... may have dependencies message appears, click No. Tutorial.exe has no dependencies. The file is added to the feature and appears in the file list panel on the right. |
Note:The key icon next to the file indicates that this file is the key file of the feature’s component. Windows Installer requires that most components have a single key file. The Windows Installer service uses a component’s key file for several purposes, including checking for the file’s existence to determine if a component needs to be repaired and using the key file as the default target for a shortcut. When you add an executable file to a feature in a Basic MSI project, the Project Assistant automatically sets it as the key file of the component it creates behind the scenes for the file. For more information, see Setting Component Key Files.
Continue