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
- :
- One Component, Multiple Sub-Directories
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
‎Feb 12, 2009
07:17 PM
One Component, Multiple Sub-Directories
Is it possible to create a single component that contains both files and sub-directories? For example, can a single component create this structure?
Our software package is very large and our screens directory alone has over 70 sub-directories which in turn house more than 300 more. All of the files in these directories are non-versioned.
Is it possible to tell IS2009 to simply recreate this structure on the target machine without creating over 400 separate components (one for each directory). In Wise we could do this with one line of script.
I shutter at the thought of what this is going to end up looking like if we are required to create a new component for each directory we need on the target machine. I can easily forsee that number reaching 1500 components.
screens
+-- ap
+--
+-- ar
+--
Our software package is very large and our screens directory alone has over 70 sub-directories which in turn house more than 300 more. All of the files in these directories are non-versioned.
Is it possible to tell IS2009 to simply recreate this structure on the target machine without creating over 400 separate components (one for each directory). In Wise we could do this with one line of script.
I shutter at the thought of what this is going to end up looking like if we are required to create a new component for each directory we need on the target machine. I can easily forsee that number reaching 1500 components.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 13, 2009
02:11 AM
The MSI definition of a component says that all files in a component have the same properties (including the Destination), so multiple components will be necessary to install multiple files to different destination folders.
That being said, InstallShield will allow you to define components using Dynamic File Links. This means that at build time InstallShield will create all of the necessary components for you.
Dynamic File Links to have "issues" associated with them. You can read about them in the help topic "Dynamic File Linking".
That being said, InstallShield will allow you to define components using Dynamic File Links. This means that at build time InstallShield will create all of the necessary components for you.
Dynamic File Links to have "issues" associated with them. You can read about them in the help topic "Dynamic File Linking".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 13, 2009
04:05 PM
Thanks. The Dynamic File Linking did exactly what I was hoping it would do for this set of files.