I haven't tested this, but IIRC 32-bit processes get the "32-bit"
environment variables, and the fact that candle is marked as a 32-bit
program should make the following work on both platforms:

<?define DevExpressBin="$(env.ProgramFiles)\Developer Express .NET
v8.1\Sources\DevExpress.DLL"?>
<?define LeadtoolsBin="$(env.ProgramFiles)\LEAD Technologies, Inc\LEADTOOLS
14.5\Bin\Dotnet\v20"?>

-----Original Message-----
From: Mike Edenfield [mailto:kut...@kutulu.org] 
Sent: Thursday, November 11, 2010 2:25 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Detecting architecture of WiX build host (x86 vs.
x64)...

Hi,

Is there a way to tell, while building an installer package, whether the
building system is a 32-bit or 64-bit version of Windows?

We are starting to move some of the machines in our build farm and
developer's workstations to 64-bit Windows systems, but they are failing
on the WiX builds because of items like this:

<?define DevExpressBin="C:\Program Files\Developer Express .NET
v8.1\Sources\DevExpress.DLL"?>
<?define LeadtoolsBin="C:\Program Files\LEAD Technologies, Inc\LEADTOOLS
14.5\Bin\Dotnet\v20"?>

Since these were installed using 32-bit MSI packages (and LEADTools, in
particular, includes 32-bit only binaries), they're ending up in the
Program Files (x86)\ folder on the new machines.

Is there a way to conditionally identify which of the two source folders
should be used to find these components?

--Mike

----------------------------------------------------------------------------
--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to