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
- :
- Re: Force empty directories to be created
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
‎Aug 06, 2008
12:09 PM
Force empty directories to be created
I'm using IS 2008 and an InstallScript MSI project.
I have a tree of directories I want to create. They are initially empty (at install time). I have a component set up for the top level and then use dynamic file linking to pick up the rest of the tree. However, when installing the empty folder are either not created or removed. Is there a way to force these empty folders to be created?
If I create a component for each sub directory (not really what I want to do) and set it's destination, would that force them to be created?
I have a tree of directories I want to create. They are initially empty (at install time). I have a component set up for the top level and then use dynamic file linking to pick up the rest of the tree. However, when installing the empty folder are either not created or removed. Is there a way to force these empty folders to be created?
If I create a component for each sub directory (not really what I want to do) and set it's destination, would that force them to be created?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 06, 2008
01:40 PM
I am pretty sure that if you create a component for the empty dir it will create it. Not sure about the dynamic file linking. As useful as the dynamic file linking is, it can be quirky.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2008
08:23 AM
You might also want to take a look at the CreateFolder table.
