Creating a Dynamic Link in an Advanced UI or Suite/Advanced UI Project
InstallShield 2024
Project:
• | Advanced UI |
• | Suite/Advanced UI |
Edition:The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.
You can use the Packages view to create a dynamic link for the additional files that a package in the project requires.
You can include dynamic file links when you add your package to the project. You can also add them to your project later. The following sections provide instructions for both procedures.
Creating a Dynamic File Link When Adding a Package
When you add a package to your project in the Packages view, InstallShield displays the Add Files for This Package dialog box. This dialog box lets you specify whether the package file that you are adding requires other files and folders that are near the package that you are adding. For example, if you are adding an uncompressed .msi package to your project, you may need to include other files as well as folders that contain files that the .msi package installs on target systems. These folders and other files are typically in the same folder that contains the .msi package.
Do one of the following when InstallShield displays the Add Files for This Package dialog box:
• | If you want to include only static files, clear the Add files dynamically found during build check box on this dialog box. |
• | If you want to include any dynamic files, with or without static files, select the Add files dynamically found during build check box on this dialog box. |
Then select the option that describes where the source files are in relation to the package file. For more information about the various options, see Add Files for This Package Dialog Box.
Creating a Dynamic File Link After a Package Has Been Added
To add a dynamic file link for additional files after the package has been added to the project:
1. | In the View List under Organization, click Packages. |
2. | In the Packages explorer, find the package that requires the additional files, and click its corresponding folder that should contain the dynamic link. The Files pane shows the list of current files and dynamic folders. |
3. | Right-click in the Files pane and then click Add Dynamic Link. The Browse for Folder dialog box opens. |
4. | Browse to the folder that contains the files that you want to include dynamically, and then click OK. |
Configuring a Dynamic File Link
Once you have added a dynamic file link to your project, you can configure its settings, which includes filter criteria for including files in and excluding files from the dynamic link. To learn more, see Defining Filters for a Dynamically Linked Folder in an Advanced UI or Suite/Advanced UI Project
See Also