I'm new to TeamCity and just started using it for building my Visual Studio 2010 projects. I have a project solution including a WiX (3.5) project that can be successfully built when using MSBuild from the command line. The project I point to in the TC configuration is the wixproj file which starts the chain of building all the dependant projects. In this WiX project, I have the pre-build step set to run heat.exe to build a file list for everything the installer needs to include.
The problem I'm having is when TC/MSBuild gets to the pre-build step I get the error message, "'heat.exe' is not recognized as an internal or external command, operable program or batch file". I've tried setting the PATH enviroment variable to where heat.exe sits and tried using %WIX% environment variable setup by the WiX installer in the pre-build step but neither works.
Is there something that needs to be done to use external tools during build steps?