Hi Thanks for the information. I already feared this could be the reason. So what I am trying to do is the following:
<?if $(var.Platform)=x64 ?> <!-- 64 bit --> <MergeRef Id="CRT64" /> <MergeRef Id="ATL64" /> <?else ?> <!-- 32 bit --> <MergeRef Id="CRT" /> <MergeRef Id="ATL" /> <?endif ?> This way, i can hopefully reuse the same wix project. Having the wix project included in the visual studio solution, I can strangely not set the plattform (click on WixProject->Settings->Build-> dropdown Plattform) to x64. There is only the option x86 in the dropdown. How can I trigger a 64 bit build and would it be possible to change the name of the msi file when building on a 64 bit platform? (Example: Installer.msi for 32 bit, Installer_x64.msi for 64 bit. All this in the same visual studio wix project. I know a may be asking some funny or simple quistions, but i am more or less a wix newbe and am running out of time. Thanks for any help in advance. Dan ________________________________________ Von: Pally Sandher [pally.sand...@iesve.com] Gesendet: Freitag, 23. Juli 2010 13:58 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] include 32 bit and 64 bit merge modules You need an x86 package and an x64 package which consume the correct merge modules. You can't use x64 merge modules in an x86 package, that's what the error is trying to tell you. 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: daniel.knoep...@noser.com [mailto:daniel.knoep...@noser.com] Sent: 23 July 2010 12:22 To: wix-users@lists.sourceforge.net Subject: [WiX-users] include 32 bit and 64 bit merge modules Hi Our setup includes various merge modules. Initially, they were all these merge modules were fore 32-bit systems. Testing the installed application on 64-bit windows 7 i found out that we would need the 64-bit merge modules. So I added them to the wxs file: <!-- 32 bit --> <Merge Id="VSWINFORMS" SourceFile="ThirdParty\MergeModules\MStudioUIWinforms.2008.msm" Language="1033" DiskId="1" /> <Merge Id="NIANLYS" SourceFile="ThirdParty\MergeModules\nianlys.msm" Language="1033" DiskId="1" /> <Merge Id="NIMESADLL" SourceFile="ThirdParty\MergeModules\NIMesaDLL.msm" Language="1033" DiskId="1" /> <Merge Id="NIMETAUTILS" SourceFile="ThirdParty\MergeModules\niMetaUtils.msm" Language="1033" DiskId="1" /> <!-- 64 bit --> <Merge Id="VSWINFORMS64" SourceFile="ThirdParty\MergeModules\MStudioUIWinforms.2008_x64.msm" Language="1033" DiskId="1" /> <Merge Id="NIANLYS64" SourceFile="ThirdParty\MergeModules\nianlys_x64.msm" Language="1033" DiskId="1" /> <Merge Id="NIMESADLL64" SourceFile="ThirdParty\MergeModules\NIMesa_x64.msm" Language="1033" DiskId="1" /> <Merge Id="NIMETAUTILS64" SourceFile="ThirdParty\MergeModules\niMetaUtils_x64.msm" Language="1033" DiskId="1" /> Unfortunately, upon compile I get the following error message: Encountered an unexpected merge error of type 'msmErrorPlatformMismatch' for which there is currently no error message to display. More information about the merge and the failure can be found in the merge log: 'C:\Dokumente und Einstellungen\Extnoser1\Lokale Einstellungen\Temp\5-i_y-vo\merge.log' light.exe 0 1 Installer How can i make this work? What is the right approach to ensure the application gets correctly installed on 32 and 64 bit machines. Thanks in advance.. Dan ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users