In Visual Studio if you right click your Wix Project & select properties you should be able to get to a tab named "Tool Settings". The box named "Compiler" should be the parameters for candle.exe with the one named "Linker" being similar for light.exe.
I use VS2005 & VS2008 which are both as above but having not looked at VS2010 I can't confirm if it's the same (although I would expect it to be but you never know). Bob's blog page also mentions an <InstallerPlatform> property in WiXProj's which I can't find in any of mine but as I build all my MSI's as x86 I think it may need to be manually added if it doesn't read it from the solution platform setting. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Rune Moberg [mailto:jjfl...@gmail.com] Sent: 31 January 2011 16:24 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] one .wixproj -- two platforms On Mon, Jan 31, 2011 at 3:45 PM, Pally Sandher <pally.sand...@iesve.com> wrote: > Rune take a look at the -arch parameter for candle as it sounds like > it'll do exactly what you need. Bob A mentions it in on his blog @ > http://www.joyofsetup.com/2010/05/14/working-hard-or-hardly-working/ When using plain old msbuild to build my solution file, how do I influence the command line for candle.exe? I found this example which looks pretty much like what I have already tried: http://insomniacgeek.com/how-to-target-32bit-and-64bit-a-net-application s-with-wix-and-separate-msi-packages/ "The value you choose here will be transferred to the Platform variable in WiX" is the part I'm having trouble with. The Build Configuration Manager refuses to let me specify "x64" as a target for my .wixproj. Hence the "-dPlatform=x86" parameter never changes. -- Rune ------------------------------------------------------------------------ ------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users