This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Dynamic file linking and advanced exclude
Subscribe
- 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
Jul 30, 2010
07:22 AM
Dynamic file linking and advanced exclude
Hello,
I have several files with the same name in my application. Of course they are located in the different folder. Is there a way to exclude one file (eg A.txt) and keep remaining files (also A.txt) from the dynamic linked folder? Or maybe there is a way to pass location of the file into the pattern?
To summarize:
-Root
-FolderA
-A.txt
-B.txt
-C.txt
-FolderB
-A.txt
-D.txt
-E.txt
I liked Root folder and I would like to exclude A.txt from the FolderA and keep A.txt from the FolderB. I know I could create 2 dynamic links (one for FOdlerA and one for FolderB) and only exclude the one from the FolderA but in reality there might be hundrets of folders out there.
Regards!
I have several files with the same name in my application. Of course they are located in the different folder. Is there a way to exclude one file (eg A.txt) and keep remaining files (also A.txt) from the dynamic linked folder? Or maybe there is a way to pass location of the file into the pattern?
To summarize:
-Root
-FolderA
-A.txt
-B.txt
-C.txt
-FolderB
-A.txt
-D.txt
-E.txt
I liked Root folder and I would like to exclude A.txt from the FolderA and keep A.txt from the FolderB. I know I could create 2 dynamic links (one for FOdlerA and one for FolderB) and only exclude the one from the FolderA but in reality there might be hundrets of folders out there.
Regards!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 30, 2010
05:59 PM
I don't think there's a way to specify that kind of exclusion in the dynamic file link dialog box.
InstallShield ships with an Automation Interface sample for programmatically creating components and adding file links (in InstallShield\2010\Samples\WindowsInstaller\Automation Interface Files\Add Files and Components\), which might be useful if setting up a source/staging area similar to the deployed directory shape isn't an option...
InstallShield ships with an Automation Interface sample for programmatically creating components and adding file links (in InstallShield\2010\Samples\WindowsInstaller\Automation Interface Files\Add Files and Components\), which might be useful if setting up a source/staging area similar to the deployed directory shape isn't an option...