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
- :
- Copy folder hierarchy
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
Dec 09, 2008
10:22 AM
Copy folder hierarchy
Hi,
I am using InstallSheild 2008. I want to copy complete folder hierarchy at the time of setup. Folder may has 50 different sub folders and each subfolder may have subfolders and n number of files. Is there any way to copy complete folder ?
Is it possible to make a single seperate "Component" for the complete folder hierarchy? so that i can have a choice to include this component in which ever feature i want it to be in.
Is it ppossible to unzip file at the time of setup?
Thanks in advance.
I am using InstallSheild 2008. I want to copy complete folder hierarchy at the time of setup. Folder may has 50 different sub folders and each subfolder may have subfolders and n number of files. Is there any way to copy complete folder ?
Is it possible to make a single seperate "Component" for the complete folder hierarchy? so that i can have a choice to include this component in which ever feature i want it to be in.
Is it ppossible to unzip file at the time of setup?
Thanks in advance.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 09, 2008
05:37 PM
While it is possible include a ZIP file and then extract it during the installation, this produces unnecessary dependencies and overhead (finding or including the zip engine, custom actions to perform the extraction, etc.).
Instead, when adding files consider using the Dynamic Link functionality.
There is a caveat however to balance the ease of including an undetermined set of files: in order to leverage the full MSI functionality (patching, minor upgrades, auto-repair), component rules should be strictly followed to avoid seeing what happens when they are broken.
Fortunately, the troubles and inconvenience of breaking these rules was recognized and since InstallShield 2009 a new feature of InstallShield's dynamic file link functionality was added to assure their 'best-practice' nature.
Instead, when adding files consider using the Dynamic Link functionality.
There is a caveat however to balance the ease of including an undetermined set of files: in order to leverage the full MSI functionality (patching, minor upgrades, auto-repair), component rules should be strictly followed to avoid seeing what happens when they are broken.
Fortunately, the troubles and inconvenience of breaking these rules was recognized and since InstallShield 2009 a new feature of InstallShield's dynamic file link functionality was added to assure their 'best-practice' nature.
![](/skins/images/7674467D6278680F3FD526C8217C9173/responsive_peak/images/icon_anonymous_message.png)