My wix installer needs the contents of the directory to be copied to the destination folder. I understand that a Directory element has a FileSource attribute. I tried something like this:
<DirectoryRef Id="DIRECTORY" FileSource="{var.Dir}"> <Component Id="Dir" Guid="*" > <CreateFolder/> </Component> </DirectoryRef>
It does not pick files or subdirectories from a preprocessor variable.
Are there any alternative ways to achieve this?
source share