Re: [WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines

2011-04-05 Thread MikeR
If you ever need to read a section of the registry that differs from the bitness of the process you are executing in you can use this Windows API, RegQueryValueEx (http://msdn.microsoft.com/en-us/library/ms724897(v=vs.85).aspx). You can change the section of the registry being read with the samDes

Re: [WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines

2011-04-05 Thread Pally Sandher
er -Original Message- From: Daetrin Nickname [mailto:gfin...@gmail.com] Sent: 05 April 2011 01:59 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines Actually, after a couple hours m

Re: [WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines

2011-04-04 Thread Daetrin Nickname
Actually, after a couple hours more searching around i finally stumbled across this bug report: http://sourceforge.net/tracker/index.php?func=detail&aid=3013386&group_id=105970&atid=642714 I've spent so many years training myself that "Win64=yes" was for x64 builds and "Win64=no" was for 32-bit b

Re: [WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines

2011-04-04 Thread Castro, Edwin G. (Hillsboro)
> Running 32 bit apps in a 32 bit shell is a great idea, but it seems less than > ideal > that it excludes all possibility of viewing the registry as it "really" is. My point is that the operating system provides a 32-bit view for 32-bit applications since they only know of the 32-bit world. A 3

Re: [WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines

2011-04-04 Thread Daetrin Nickname
gt; Sent: Monday, April 04, 2011 3:49 PM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Registry Search in x86 installers doesn't work >> properly on x64 machines >> >> We actually already have two different installers. Howeve

Re: [WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines

2011-04-04 Thread Castro, Edwin G. (Hillsboro)
Message- > From: Daetrin Nickname [mailto:gfin...@gmail.com] > Sent: Monday, April 04, 2011 3:49 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Registry Search in x86 installers doesn't work > properly on x64 machines > > We a

Re: [WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines

2011-04-04 Thread Daetrin Nickname
We actually already have two different installers. However the problem is that we need to account for the possibility that they've installed an x64 version of the main program on an x64 machine, and then try to install the x86 version of the utility on the same machine. So the x86 installer needs t

Re: [WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines

2011-04-04 Thread Jacques Eloff
I believe you need to issue two different installers and set the Win64 attribute for each RegistrySearch element. You should not specify the Wow3264Node in the path. If you need to do this in a single installer, you will need to condition the search so that it only triggers for the appropriate OS

[WiX-users] Registry Search in x86 installers doesn't work properly on x64 machines

2011-04-04 Thread Daetrin Nickname
We're trying to do a couple registry searches at the beginning of a utility installation to check for the existence of our main product so we can take certain actions. Everything works fine when using the x64 installer on an x64 machine, but when we try the x86 installer all the registry checks fa