You could simply duplicate the RegistrySearch into a second Property & set the Win64 attribute accordingly on each? E.g.
<Property Id="APPFABRIC"> <RegistrySearch Id="AppFabricRegistry" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\AppFabric\v1.0" Name="ProductVersion" Win64="no" /> </Property> <Property Id="APPFABRICX64"> <RegistrySearch Id="AppFabricRegistry" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\AppFabric\v1.0" Name="ProductVersion" Win64="yes" /> </Property> <Condition Message="Microsoft AppFabric was not found on this machine. Please install Microsoft AppFabric."><![CDATA[(APPFABRIC <> "" OR APPFABRICX64 <> "") OR Installed]]></Condition> The 2nd RegistrySearch will give you an ICE80 *warning* for using a 64-bit RegistrySearch in a 32-bit package which you can suppress (or just ignore if you don't have treat warning as errors on) but it should work on both x86 & x64 systems with the above code. 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: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: 08 December 2010 10:18 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Can RegistrySearch read 64bit hive from32bitpackage? Could you use the upgrade table to detect the product ? -----Original Message----- From: Tobias S [mailto:tobias.s1...@gmail.com] Sent: 08 December 2010 10:14 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Can RegistrySearch read 64bit hive from 32bitpackage? Hi, No doesn't work. The only way is to create a Custom Action which runs as 64bit CA and does the job for you. But this is not recommended as heree packages for x86 and x64 would be the best approach. It's just something to get the job done. Tobias 2010/12/8 Sharad Patel <spa...@winscribe.com>: > We are currently using the v3.5 RC build. > > We have a 32bit installer that detects AppFabric using the following > bit of WiX code: > > > <Property Id="APPFABRIC"> > <RegistrySearch Id="AppFabricRegistry" Type="raw" Root="HKLM" > Key="SOFTWARE\Microsoft\AppFabric\v1.0" Name="ProductVersion" /> > </Property> > > <Condition Message="Microsoft AppFabric was not found on this machine. > Please install Microsoft AppFabric."> > <![CDATA[APPFABRIC <> ""]]> > </Condition> > > > This works fine on 32bit systems but we get an error when the > installer is run on x64 systems because AppFabric registry key only > exists in the 64bit hive. If I try to use the Win64="yes" attribute on > the RegistrySearch element then I get an "error LGHT1076: ICE80". All > the searching I have does seems to suggest that 32bit packages can't > access 64bit hive. > > Our application and the installer are both 32bit only. Of course > without the RegistrySearch condition the installer works just fine on > x64 systems but we would like to be able to detect AppFabric. > > So far writing an unmanaged (or managed) custom action seems like our > only option. > Is there a way to achieve this without a custom action? > > > Thanks > Sharad Patel > > > > ---------------------------------------------------------------------- > -------- What happens now with your Lotus Notes apps - do you make > another costly upgrade, or settle for being marooned without product > support? Time to move off Lotus Notes and onto the cloud with > Force.com, apps are easier to build, use, and manage than apps on > traditional platforms. Sign up for the Lotus Notes Migration Kit to > learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users