My wix installer needs the contents of a directory to be copied to a destination folder. I understand that the Directory element has a FileSource attrib. I tried something like this:
<DirectoryRef Id="DIRECTORY" FileSource="{var.Dir}">
<Component Id="Dir" Guid="*" >
<CreateFolder/>
</Component>
</DirectoryRef>
This is not picking up the files or sub-directories from the preprocessor variable.
Are there any alternate ways to achieve this?