Hi Thomas,

I'm fighting with the very example you gave.  I've got a x86 package, and I am 
fine with it running under WOW on x64.  In one particular case, I need to read 
from the 64-bit registry if it's x64, and from the 32-bit registry if not.  In 
otherwords, I always want to get to HKLM\SOFTWARE\Microsoft instead of 
HKLM\SOFTWARE\Wow6432Node\Microsoft.   I would think Win64="yes" would do the 
trick, but it appears to ignore it and give me the WOW key anyway.  Is this 
broken in the latest Wix 3.5 build?

Thanks,


Matt Johnson MCPD, MCTS, MCSD, MCDBA
Director of Application Development
Time America, Inc.
(480) 374-7764 - Office | (480) 203-5693 - Cell
ma...@timeamerica.com | www.timeamerica.com

-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Thursday, April 22, 2010 4:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Install x64-DLL

As far as I've been able to explore, you can't write to x64 areas of the 
registry in an x86 MSI. You can however read from them using RegistrySearch's 
with Win64="yes" (although this causes ICE80 warnings).

Thomas to do what you want to do you'll need 2 MSI's, one for x86 platforms & 
one for x64 platforms, there is no other way to do this in Windows Installer. 
x64 packages can only be installed on x64 platforms but to stop people 
installing the x86 one on x64 platforms you'll need to add a LaunchCondition 
("NOT VersionNT64 OR Installed" should work fine).
If you want to provide a single package for installation you can package them 
together using a bootstrapper which launches the correct one for the relevant 
platform (dotnetinstaller does this easily http://dotnetinstaller.codeplex.com/ 
but there are plenty of other bootstrappers available).

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: Rob Hamflett [mailto:r...@snsys.com] 
Sent: 19 April 2010 08:29
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Install x64-DLL

I've had a look but can't find it.  The only other other option that would work 
I think is to use selfreg or create custom actions to call regsvr32, but they 
have their own fair share of problems.

Rob

On 17/04/2010 10:06, Thomas Kehl wrote:
> Hi.
>
> Rob, can you remember, where you have read that?
> Perhaps somone other now a "hack", that I can register my x64-COM-DLL with 
> the x86-MSI-Installer?
> Would it be possible that I create a MergeModul which only register (and 
> install) this DLL?
>
> Thomas
>
>
> -----Ursprüngliche Nachricht-----
> Von: Rob Hamflett [mailto:r...@snsys.com]
> Gesendet: Freitag, 16. April 2010 15:17
> An: wix-users@lists.sourceforge.net
> Betreff: Re: [WiX-users] Install x64-DLL
>
> Interesting.  I'd read on someone's blog that this could be done.  If 
> I recall it was one of the better known bloggers who write about setup ( I 
> won't mention possibly mis-remembered names).
>
> Rob
>
> On 16/04/2010 14:07, Bob Arnson wrote:
>> On 4/16/2010 9:04 AM, Thomas Kehl wrote:
>>> Mmhh - this isn't a warning - ist an error - I cannot compile it with this. 
>>> Is there a switch, that I can handle this as a warning and ignore it?
>>>
>>
>> It's not supported -- that's why it's an error. The MSI SDK is clear 
>> that 32-bit packages cannot contain 64-bit components.
>>
>
>
> ----------------------------------------------------------------------
> -------- Download Intel&#174; Parallel Studio Eval Try the new 
> software tools for yourself. Speed compiling, find bugs proactively, 
> and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ----------------------------------------------------------------------
> -------- Download Intel&#174; Parallel Studio Eval Try the new 
> software tools for yourself. Speed compiling, find bugs proactively, 
> and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval Try the new software tools for 
yourself. Speed compiling, find bugs proactively, and fine-tune applications 
for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to