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" .. ...>     
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" />

After calling the component the directory was created with the permissions I needed.


Popular posts from this blog

Duplicate Folders Freeware - Not Duplicate Files

SSRS Compile Errors

Free SQL Server Management Studio Addin/Plugin/External Tool to get object information quickly