You need to set the Win64 attribute on your components. If it's not set
they default to 32-bit components in an x64 package.
An easy way to do it is to use a pre-processor variable set to "no" or
"yes" whether you're building x86 or x64 packages respectively. Then you
can simply use something like Win64="$(var.is64bit)" in all the
components you need to. See
http://wix.sourceforge.net/manual-wix3/preprocessor.htm

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: Mark Modrall [mailto:mmodr...@mzinga.com] 
Sent: 04 August 2010 13:49
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Newbie x64 msi question

Hi...

                I've got some old wix scripts installing msil .net
assemblies in the gac and adding registry entries for com interop.
These things will work x64 as is, so I tried the installer without
making any particular changes to the old scripts.

                What I found, though, was that

...
<Registry Id="Registry4" Root="HKCR"
Key="CLSID\{6D7F6B50-88B9-11D4-A757-006008A7291E}\InprocServer32"
Type="string" Value="mscoree.dll" /> <Registry Id="Registry5"
Root="HKCR"
Key="CLSID\{6D7F6B50-88B9-11D4-A757-006008A7291E}\InprocServer32"
Name="ThreadingModel" Type="string" Value="Both" /> ...

All the class id registry settings ended up in the \Wow6432Node\ subtree
while all the class names ended up in the top HKCR root.

                What do I need to set in the wix script to tell it to
put the entries in the 64-bit hive?  I mean, theoretically I could make
all the entries in both since the msil code could run in either
circumstance...

Thanks
Mark

------------------------------------------------------------------------
------
The Palm PDK Hot Apps Program offers developers who use the Plug-In
Development Kit to bring their C/C++ apps to Palm for a share of $1
Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to