Hi, You could introduce a variable to set the target platform from the commandline and then use that variable $(var.MyVar) anywhere in the WiX code as a condition for specific-target components. But it won't work automatically, it can't get the target platform of a binary automatically.
Best regards, Sebastian Brand [email protected] Instyler Software - Software development, deployment and productivity Geisenfelder Str. 53a - 85053 Ingolstadt, Germany - EU VAT ID: DE219712370 Phone: +49 841-4544567 - Fax & voicemail: +49 321-21220152 www.instyler.com > -----Original Message----- > From: Brad Cunningham [mailto:[email protected]] > Sent: Thursday, January 28, 2010 02:22 > To: [email protected] > Subject: [WiX-users] Any CPU and TargetPlatform > > Just wondering if anyone else is dealing with issues around the "Any CPU" > target platform or if anybody is doing anything specifically targeting x86 or > x64. > > We have issues here with regular VS Setup Projects when we leave the > default of "Any CPU" and have some developers deving on x64 machines and > some on x86 machines. Specifically some of the applications we build target > the Microsoft Surface device which is x86 only. In VS Setup projects it would > be nice if the TargetPlatform setup project property included the "Any CPU" > platform and somehow linked with the files you are building into it. i.e. if > the > target is x86 in the setup project then I shouldn't be able to include > x64 binaries. Related to this if the TargetPlatform is "Any CPU" then you > should be able to specify the platform for which each of the files will be > deployed. > > Does WiX have any support for this or any way to work with the "Any CPU" > problem? Any best practices to following when building applications on a mix > of x86 and x64 machines but deploying to a specific target CPU? Has anybody > else ran across these issues? > > > > Thanks > > --Brad > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation Stay > online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

