[NAnt-users] readregistry issue

2012-04-04 Thread Demian Brecht
I'm sure that there's something silly that I'm missing here.. I'm trying to query the registry (Windows 7 64bit) to get my Python install path. For some reason, I'm getting: Registry Path Not Found! - key=3D'SOFTWARE\Python\PythonCore\2.7\InstallPath\';hive=3D'LocalMachine' However, if I repla

[NAnt-users] FW: readregistry issue

2012-04-04 Thread Demian Brecht
Sorry, should have also mentioned that the task call is: -Original Message- From: Demian Brecht Sent: April-04-12 11:17 AM To: 'nant-users@lists.sourceforge.net' Subject: [NAnt-users] readregistry issue I'm sure that there's something silly that I'm missing he

Re: [NAnt-users] FW: readregistry issue

2012-04-04 Thread Demian Brecht
h\';hive='Microsoft.Win32.RegistryHive[]'; This message concerns me a bit.. Do I somehow explicitly have to set the hive to be 64bit? Thanks again, Demian -Original Message- From: Ryan Boggs [mailto:rmbo...@gmail.com] Sent: April-04-12 11:31 AM To: Demian Brecht Cc: nant

Re: [NAnt-users] FW: readregistry issue

2012-04-04 Thread Demian Brecht
Now I'm wondering.. I'm running from downloaded binaries (which seem to be 32bit). Could there be some MS magic going on where using 32 bit binary (and hive) results in resolving to Wow6432Node? -Original Message----- From: Demian Brecht Sent: April-04-12 11:55 AM To: 'Ryan

Re: [NAnt-users] FW: readregistry issue

2012-04-04 Thread Demian Brecht
:31 PM To: Demian Brecht; Ryan Boggs Cc: nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] FW: readregistry issue 32-bit binaries don't generally know anything about 64-bit Windows (registry, folders, ODBC, etc) and will resolve to (be redirected to) Wow6432Node for registry read