I followed the SO link to add permission to a folder. However if I would like to set permission for directory, what can I do?
For example, in the link it has the following code:
<DirectoryRef Id="ProgramFilesFolder">
<Directory Id="PHPFolder" Name="PHP">
<Component Id="PHP_comp" DiskId="1" Guid="*">
<CreateFolder>
<Permission User="Everyone" GenericAll="yes" />
</CreateFolder>
How can I set permission for directory PHPFolder?
Maybe try with a CreateFolder Element:
General Tip: Try to pillage github.com for snippets when you are stuck. Random Sample.
Further Links: