I would like to build an installer with a name reflecting the build configuration - to this end I am adding the envVars of the PlatformName, ConfigurationName (and various other VS macros).
Then I use: "MyProduct_%PlatformName%_%ConfigurationName%_220.127.116.11" for the Project.OutFileName.
When running this setup it generates MyProduct_%PlatformName%_%ConfigurationName%_18.104.22.168.wxs
and then gives the following error:
9> Wix project file has been built: C:\_CODE_\TestWixSharp\MyProduct_%PlatformName%_%ConfigurationName%_22.214.171.124.wxs
9>C:\_CODE_\TestWixSharp\candle.exe : error CNDL0103: The system cannot find the file 'C:\_CODE_\TestWixSharp\MyProduct_x86_Debug_126.96.36.199.wxs' with type 'Source'.
So it seems like while generating the wxs file wix# doesn't substitute the environment variables. Is there a way to force it to do that just a way I can specify a totally different .wxs intermediate filename?