Found it.... I was missing the -d

candle.exe" -dPlatform="x64" Product.wxs

Sorry for the post, 
Marc

-----Original Message-----
From: Marc Beaudry [mailto:mbeau...@matrox.com] 
Sent: April-12-2013 2:52 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Candle - Passing Parameters at compile time

Hello,

I have a VS 2012 WIX project that works as expected in VS2012, it uses
$(var.Platform) to determine where the source binaries are located.

How can I compile this project outside of VS?

I get this error:
error CNDL0150 : Undefined preprocessor variable '$(var.Platform)'

Knowing that Platform is either x64 or Win32 depending on what I need, can I
pass this value along to Candle on the command line.  I looked for command
line options for candle and can't seem to find a way to pass this on the
command line.  

I found a -arch x64.

Any advice?
Thanks
Marc



----------------------------------------------------------------------------
--
Precog is a next-generation analytics platform capable of advanced analytics
on semi-structured data. The platform includes APIs for building apps and a
phenomenal toolset for data science. Developers can use our toolset for easy
data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to