Problem with WiX Votive 3.0 preprocessor

Posted by Leith Bade on Stack Overflow See other posts from Stack Overflow or by Leith Bade
Published on 2009-12-22T22:17:43Z Indexed on 2010/04/02 22:03 UTC
Read the original article Hit count: 433

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:

1>C:\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?

© Stack Overflow or respective owner

Related posts about wix

Related posts about wix3