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
- :
- Help! Need way to add dynamic files to install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Aug 26, 2009
12:50 PM
Help! Need way to add dynamic files to install
Hi all,
Our current installation has a rather ugly, manual step involved right now (I didn't create it, I've just inherited it!). In one directory, a number of files are created dynamically by the build system, which the installation then needs to include. No problem, except that the number of files and their file names are subject to change! So each time, I have to go in, delete all the file links from the last build, and replace them with what is currently there. Kludgy and time consuming, not to mention a roadblock to automating this! Any way I can accomplish this in a way that I do not need to open the IDE every time I create an install? TIA!
Our current installation has a rather ugly, manual step involved right now (I didn't create it, I've just inherited it!). In one directory, a number of files are created dynamically by the build system, which the installation then needs to include. No problem, except that the number of files and their file names are subject to change! So each time, I have to go in, delete all the file links from the last build, and replace them with what is currently there. Kludgy and time consuming, not to mention a roadblock to automating this! Any way I can accomplish this in a way that I do not need to open the IDE every time I create an install? TIA!
(4) Replies
‎Aug 26, 2009
01:21 PM
This is potentially exactly what a Dynamic File Link is meant to address. Just be advised that if you are using a Windows Installer-based solution (Basic MSI or InstallScript MSI) and intend to deliver minor upgrades or patches in the future, dynamic file links do not always have enough information to follow the necessary component rules. Pure InstallScript projects, or major upgrades of MSI projects are generally safe in that regard.
‎Aug 26, 2009
01:31 PM
Thanks Michael, I think it is a basic InstallScript, no MSI is output, just a setup.exe file. I will try converting the links to dynamic and try it out. But how do I create a link to a file which may not exist? Can I add a folder with a dynamic wildcard attribute set or something?