Problem with WiX Votive 3.0 preprocessor
- by Leith Bade
I have just started using WiX for the first time.
I added a WiX Votive project to my existing C project.
To automatically select the correct source folder for the binaries add used the following:
<Directory Id="INSTALLLOCATION" Name="Trapeze Capture For Objective" FileSource="$(var.CaptureForObjective.TargetDir)">
That results in the following error:
1C:\code\CaptureForObjective\Installer\Product.wxs(10,0): error CNDL0150: Undefined preprocessor variable '$(var.CaptureForObjective.TargetDir)'.
The C project is called CaptureForObjective, and the WiX project is called Installer.
What do I need to do to get this to work?