I am using heat.exe to genrate file listing, I need to replace File/@Source="SourceDir" so I am passing -var and directory name , but those variable are defined in my .wxi file How can I include .wxi file in the heat generated wxs file . as this file will be generated each time i make a build.
Why replace SourceDir?
You can just pass in additional base folders to light with the -b
switch and for all references of SourceDir, WiX will look in the base folders you've specified. Makes it easy to move things around between machines and only have to update a parameter in your build system, rather than editing an include file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With