I am relatively new to WiX, so please excuse me if my question seems juvenile.  
Come to think of it, maybe you'd appreciate an easy question for once!

I am using VS2010 and using a build server, so no local builds.  In my WiX 
setup, I have my preprocessor variable defined as 'BinariesRoot=$(OutDir)'.  In 
my Product.wxs file, my code is stubbed as such:

            <Component Id="cmpBLAHBLAHBLAH" Guid="*">
              <File Id="filBLAHBLAHBLAH" KeyPath="yes" 
Source="$(var.BinariesRoot)Required.dll" />
            </Component>

...but the build soon fails with "C:\Build\Vacation 
Utility\Main\127\Sources\Vacation Utility.WiX Setup\Vacation Utility.WiX 
Setup\Product.wxs (18): Undefined preprocessor variable '$(var.BinariesRoot)'."

What am I missing here?  The first installer I created works well, but I 
actually have two builds now generating the same error on different projects 
using the same build server.
CONFIDENTIALITY NOTICE

This e-mail contains privileged and confidential information which is the
property of Nucor, intended only for the use of the intended recipient(s).
Unauthorized use or disclosure of this information is prohibited. If you
are not an intended recipient, please immediately notify Nucor and destroy
any copies of this email.  Receipt of this e-mail shall not be deemed a
waiver by Nucor of any privilege or the confidential nature of the information.


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to