Summary
When using a dynamic link, a problem occurs when a folder that is dynamically linked contains at least one empty subfolder. If files are selectively excluded in the dynamic link, the empty subfolder will not be installed on the target machine. It will appear within the InstallShield IDE, but will not appear in the CreateFolder table.
Symptoms
When using dynamic file linking within an InstallShield project, selecting a folder will cause all files and subfolders within that folder to be included in the project. In addition, an option is available to selectively include or exclude files based on certain criteria such as file types, wildcards, etc.
A problem occurs when a folder that is dynamically linked contains at least one empty subfolder. If files are selectively excluded in the dynamic link, the empty subfolder will not be installed on the target machine. It will appear within the InstallShield IDE, but will not appear in the CreateFolder table.
Resolution
The best available solution is to manually create this empty folder by populating the CreateFolder table in the Direct Editor. The steps to accomplish this are fully documented in CreateFolder Table on the Microsoft Learn website.
Another option is to avoid excluding files in the dynamic link, which will cause the empty folder to be picked up correctly.
Additional Information
For additional information on the CreateFolder table, see CreateFolder Table on the Microsoft Learn website.
Related Articles
Limitations of Dynamic File Linking 3Number of Views Dynamic File Linking and the Always Overwrite file functionality 4Number of Views Dynamic File Linking Duplicate - Are They OK? 3Number of Views Shortcut to Folder Created Using AddFolderIcon Opens the Open With Box 3Number of Views Install an Empty Folder via the Direct Editor 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago