- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Dynamic File Linking - taking just the files without their subdirectories
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dynamic File Linking - taking just the files without their subdirectories
Using IS express and not having the ability to use path variables, I've tried using dynamic file linking to get some specific file from a project folder that might end up changing paths. I have the [INSTALLDIR] dynamically linked to the main folder of the project with the inclusions simply being a list of the filenames I want, which are sorted into several subdirectories.
The issue is that the dynamic file includes all of the many empty subdirectories I don't care about and the files that I've included are all deeply hidden in their folders.
What I'd like is a way to have all the included files in the dynamic file link to be sent to the [INSTALLDIR], ignoring what subdirectory of the linked folder they came from so that it is just a folder of the selected files with no subdirectories. Is something like this possible using just one dynamic file link to the upper folder? Or is there a better way to do this without dynamic file links, keeping in mind I don't have access to path variables in express? Any suggestions appreciated.
Here's an example of what I mean in case it is still unclear:
I have this "Folder A"
Folder A
| Folder B
| | File1.file
| | File2.file
| Folder C
| | Folder D
| | | File3.file
| | | File4.file
| | Folder E
| | | File5.file
and I have INSTALLDIR linked to Folder A, including only: "File2.file, File4.file"
The end result I need should be
[INSTALLDIR]
| File2.file
| File4.file
but what I get right now is
[INSTALLDIR]
| Folder B
| | File2.file
| Folder C
| | Folder D
| | | File4.file
| | Folder E
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @eallwood ,
It is possible to do with multiple components targeting to INSTALLDIR with different source folder. But I do not know whether you can access component view in express.
See the below link for adding dynamic links to component.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)