Posts

Showing posts from April, 2012

Wix Create Directory/Directories/Folders - Doesn't work

There are times you feel you should be able to ask a question and get the complete and accurate answer, this is the case. I was searching for setting up "wix folder permissions", the first search result was my "complete and accurate answer".

Article Here - a thank you for Chris Jackson for such a post.

After finding what I was looking for; glanced the wix code and started putting the code into my existing wix project. I have put all the directory tags mentioned in the post, but the directories aren't created.

<Directory Id="TARGETDIR" Name="SourceDir">     
........
........
<Component Id="abc" .. ...>     
........
........
 </Component>     
........
........
</Directory>     
I didn't reliaze that a call has to be made for the component using the componentref in the feature like below.

<Feature Id="xyz" ....>
<ComponentRef Id="abc" />
</Feature>

After calling t…