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 Folder exclusion
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
Oct 17, 2014
08:39 AM
Dynamic File Linking and Folder exclusion
Hey Folks,
Has anyone found a way to do dynamic file linking and a Basic MSI project but to exclude files under a certain folder?
I was thinking it would be something like .//*.* but it seems to ignore the start path...
Has anyone found a way to do dynamic file linking and a Basic MSI project but to exclude files under a certain folder?
I was thinking it would be something like ./
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 27, 2014
03:13 PM
I would avoid linking subfolders with a dynamic link. I have been caught by problems with upgrades because of this. The issue is that for sub folders the component GUID can change as well as component name.
If you link just top level folders then when you reference the previous build in the release wizard settings, InstallShield will correlate the componentid guid and component value.
If you find yourself in a situation where you are trying to pull in a lot of sub-folders, and you can live with the risk (or possibly InstallShield has since fixed this), then if you want to exclude only one or two directories, why not create a step in your build system to either move the folder or if not needed at all for the build, delete it.
If you link just top level folders then when you reference the previous build in the release wizard settings, InstallShield will correlate the componentid guid and component value.
If you find yourself in a situation where you are trying to pull in a lot of sub-folders, and you can live with the risk (or possibly InstallShield has since fixed this), then if you want to exclude only one or two directories, why not create a step in your build system to either move the folder or if not needed at all for the build, delete it.