Since most of my Wix code is just <component> definitions though it looks like I’ll need separate sources for the 64-bit <component> definitions and the 32-bit <component> definitions since the Win64 attribute marks them as 32-bit or 64-bit, correct? In the Wix documentation for <component> Win64 it states:

 

Set this attribute to 'yes' to mark this as a 64-bit component. This attribute facilitates the installation of packages that include both 32-bit and 64-bit components. If this bit is not set, the component is registered as a 32-bit component. If this is a 64-bit component replacing a 32-bit component, set this bit and assign a new GUID in the Guid attribute.

 

So it sounds like here that I should have separate GUIDs for 32-bit and 64-bit <component> definitions even though the assemblies that are being deployed are exactly the same. If this is the case, then I can understand the need for separate GUIDs, but it sure makes maintaining 32-bit and 64-bit installs twice as much work. Do I need to have dual copies of my <component> definitions for 32 & 64 bit?

 


From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 10:13 AM
To: Kelly Summerlin
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wix and 64-bit questions

 

Kelly Summerlin wrote:

My question is this, is it possible to use the same Wix files to build one MSI that will deploy the files and registry settings to 32-bit or 64-bit determined at runtime?

No. An MSI package must be marked as 64-bit before it can install 64-bit components into the 64-bit parts of the file system and registry. See http://msdn.microsoft.com/library/default.asp?url=""> for details.

You can use the same WiX source but you'll need two packages.

-- 
sig://boB
http://bobs.org




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to