tags:

views:

20

answers:

1

When building a wixlib from Visual Studio using votive, how do you speficy to candle where to find additional wxs files that are not part of the visual studio project (and are also not part of a referenced project)? I do not want to add the wxs files to the project because they are updated by heat during the build process, and therefore need to remain editable (ie, they cannot be added to source control with the rest of the project).

+2  A: 

I would suggest that you just create a separate wixlib for your heat-generated files and then link that wixlib into your final installer, rather than trying to hack the project file to add your generated files. In fact it should be pretty easy to use the Wix MsBuild tasks to perform your heat task, and then take the output of the heat task and pass that directly into the CandleTask.

heavyd
Thanks heavyd. Yes, after re-thinking the problem it does appear that I was trying to hack something together when there are much cleaner approaches.
dan9298