How to add a whole directory or project output to WiX package

Posted by Coincoin on Stack Overflow See other posts from Stack Overflow or by Coincoin
Published on 2009-01-05T22:06:46Z Indexed on 2010/03/29 11:33 UTC
Read the original article Hit count: 530

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about wix

Related posts about setup