InstallShield 2016 » Automation Interface
Project • The information applies to the following project types:
• | Basic MSI |
• | DIM |
• | InstallScript |
• | InstallScript MSI |
• | Merge Module |
Call AddDynamicFileLinking to add a dynamic file link to a specified component. All of the files that are in the folder that you specify are automatically incorporated into your installation.
Project • In Basic MSI, InstallScript MSI, and Merge Module projects, all new dynamic file links that you add use the best practice method of component creation by default. For more information, see Determining the Appropriate Component Creation Method for Dynamically Linked Files.
Syntax
AddDynamicFileLinking (sSourceFolder As String) As ISWiDynamicFileLinking
Parameters
Parameter |
Description |
sSourceFolder |
Pass the fully qualified path to the folder that contains the files that you want to be dynamically linked. |
Example
The following Visual Basic example adds a dynamic link to MyDynamicFiles to the component MyComponent:
m_ISWiFeature.ISWiComponents("MyComponent").AddDynamicFileLinking "C:\Build 141\MyDynamicFiles"
All of the files in the MyDynamicFiles folder are added to the project. The folder is scanned before every build, and any new or changed files are automatically incorporated into your project.
Applies To
• | ISWiComponent |
See Also
InstallShield 2016 Help LibraryAugust 2016 |
Copyright Information | Flexera Software |