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 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