The error message when launching the MSI sounds like you might be launching the 
64bit MSI package on a 32bit platform. What is the OS version, bitness, and 
msi.dll version you are testing on?

Note that it is not possible to create a single MSI package which can install 
only 32bit components on a 32bit OS and also install some additional 64bit 
components on a 64bit OS. Sorry but it is a limitation of the MSI technology -- 
and that is why WiX itself has a separate 64bit MSI.

What is the exact build of WiX that you are using? Build 3.0.4207.0 or later 
contains a bugfix related to platform configurations in Votive. With that, an 
x64 platform will work with the project but is not enabled by default. You must 
use the VS Configuration Manager to add an x64 platform to your WiX project, 
which will automatically mark the resulting MSI package as x64.

-Jason-

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mohammed Akanda
Sent: Tuesday, June 17, 2008 1:57 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to build 64-bit msi

Hi,
I have created a Wix project in Visual Studio 2008. I have few 64bit dlls and 
have statement like below:

<Component Id='myid' Guid='muguid' Win64='yes'>

When I try to build the project- it showing error message like this:"This 
package contains 64 bit component 'mycomp' but the Template Summary Property 
does not contain Intel64 or x64".

I tried to set the template summary page using the [EMAIL PROTECTED] or 
Platforms field like this:
  Platform="x64" or Platforms="x64;1033" and in this case I am getting the 
error message like this:

"An unexpected Win32 exception with error code 0x654 occurred: This 
installation package could not be opened.  Contact the application vendor to 
verify that this is a valid Windows Installer package"

I tried to set the project property to x64, but couldn't. When I go to 
MyWixProject-> Property, in the build configuration, I can see only x86, Any 
CPU, All Platform options and I tried with all these options. ( I am not 
getting the option x64 as platform. I don't know this is the cause or not. I 
have Wix version 3.0.)

Please let me know if you have any idea it or how can I build a 64-bit msi.

Thanks a lot for your help in advance.




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to