Hi all. I'm trying to build a 32/64 bit wix project file, and part of this is the need to read a key out of the registry.
I've seen documentation that says to use the "win64='yes/no'" flag, and wix will allegedly use the appropriate registry key. However, this doesn't work. Here is what I have, which works when part of a hard-coded 64 bit install: <RegistrySearch Id='SharepointRegistry' Type='raw' Win64='yes' Root='HKLM' Key='SOFTWARE\Wow6432Node\Microsoft\.NETFramework\AssemblyFolders\SharePoint' /> It's the Wow6432Node that is the problem. I was under the impression that when Win64 was 'yes' that it was supposed to automatically put the Wow6432Node part in there, but it doesn't. Then I later read that you have to use HKCR instead of HKLM. The only problem is, this key is under the HKLM root, *not* under HKCR. I tried with this: <Property Id="INSTALLDIR"> <RegistrySearch Id='SharepointRegistry' Type='raw' Win64='yes' Root='HKCR' Key='SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\SharePoint' /> </Property> And the search failed. So how is this search supposed to be done? -- Regards, cf ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users