FW: readregistry issue

Demian Brecht <[email protected]> Wed, 4 Apr 2012 11:22:28 -0700
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <0066FF93CF95BD499291CB28100592102D34D5A0A0@SEA-EXMBX-01.internal.popcap.com>
Sorry, should have also mentioned that the task call is:

<readregistry verbose="true" key="SOFTWARE\Python\PythonCore\2.7\InstallPath\" property="installPath" />

-----Original Message-----
From: Demian Brecht 
Sent: April-04-12 11:17 AM
To: '[email protected]'
Subject: [NAnt-users] readregistry issue

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 replace my key with the sample in the documentation, all works fine. I've rebooted since installing Python (not sure whether or not that makes a difference). What am I missing here?
    
Thanks in advance,
Demian


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev