You're trying to search WoW6432Node from a 32-bit process. It doesn't exist in that context. Remove it from your Key & it'll magically* work.
*Note: no actual magic is involved as it's a fictional concept which doesn't exist. The Windows-on-Windows subsystem does all the clever stuff redirecting 32-bit processes to the correct places on a 64-bit operating system behind the scenes. Palbinder Sandher Software Platform Engineer 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: loyalty Reddy [mailto:reddy.loya...@gmail.com] Sent: 30 January 2012 12:37 To: wix-users@lists.sourceforge.net Subject: [WiX-users] RegistrySearch Hi, I am using Windows 7, 64 bit. I ma having trouble reading if a key exists in registry. The key that I am using for is in HKLM\Software\Wow6432Node\MyApplication\MyApp. I am using the following code: <Property Id="ISPRESENT"> <RegistrySearch Id="PathSearch" Root="HKLM" Type="raw" Key="Software\Wow6432Node\MyApplication\MyApp" Name="DbPath" Win64="yes" /> </Property> Whether or not DbPath exists, the ISPRESENT is not set. I compared the ISPRESENT value with 1 and #1, nothing works. I also tried not using Wow6432Node, still it fails. what am I doing wrong? Thanks, Reddy ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users