Sunday, April 15, 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" .. ...>     
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.

No comments:

Post a Comment

IIS Manager Crashes on Load/Start Windows 7, IIS 7.5

IIS Manager Crashes on Start  Windows 7, IIS 7.5, Power Shell 5.1. Here is the error I got in the event viewer. IISMANAGER_CRASH IIS Ma...