I have a Visual Studio 2012 Forms Application with 2 WiX installers - TEST and PROD. Because of a 3rd party dll, I need to restrict the output to x86 for all machines. My development machine is x64. In order to achieve this,
- all Build configurations in the solution have the Forms application set to x86 (there are many class libraries, web apps, consoles, services in the solution) - In the Wix xml installer project, I have compiler parameters set to "-arch x86" for "all configurations" - in the Product.wxs packages element I have set Platform="x86" The PROD installer successfully produces a 32 bit app. I can easily tell this using the Telerik JustDecompile utility. The TEST installer fails and produces "Any CPU" .exe - the Components.wxs files for both PROD and TEST are identical - the Product.wxs only differ in GUIDs and descriptions I've tried everything and cannot see what the difference is between the 2 installers and why one produces a x86 .exe and the other AnyCPU. So far I've spent about 4 hours... and counting... Robert ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users