How to add a whole directory or project output to WiX package
- by Coincoin
We decided to switch from VS integrated setup to WiX.
However, what we currently do is use projects output files as the input for the setup project. This lets us easily add Application Files to a directory (for images, samples, and other resources...) and those files are automatically added to the setup when we build.
I could not find any similar feature in WiX. WiX seems to require one Directory entry and one File entry for each and every directory and file. This would require us to change the WiX source everytime a file is added which, to my eyes, is prohibitive since we have so many of them.
Is there any integrated way of doing that with WiX or do I have to write my own task that will create a WiX source before calling candle?