Hi, I am facing issues when migrating the managed code from x86 to x64 platform. I have a WIX project to create a MSI which will be executed through Bootstrapper. On x86 Platform, files get copied in "Program Files" as per the Project.wxs file. But if the same MSI is installed on x64 Platform through Bootstrapper, all the installation files get copied by default in "Program Files (x86)" and the application's functionality got failed as it could not find the necessary files in 12-hive hierarchy of Program Files(for 64-bit it is "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\CONFIG").
I have tried using preprocessor variables like <?if $(var.ProcessorArchitecture)=x64 ?> but I need to hardcode this variable in project property to either x86 or x64. Finally I end up with two different MSIs for two different platforms which is not a desirable solution for me. So, through WIX , is it possible to identify the Platform to ensure installation at desired location ? Thanks, Vishwajit ________________________________ READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010 or emailing ad...@matrikon.com. ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users