Thread: Registry plugin
View Single Post
Old 8th September 2009, 19:23   #157
Junior Member
Join Date: Sep 2009
Location: Atlanta, GA
Posts: 1
Send a message via AIM to RajaW Send a message via Yahoo to RajaW
Windows 7 - registry read not working on Uninstall section

Thank you for writing this plugin. I have found it very useful. I seem so have found a small bug. The registry::Read function does not appear to work on Windows 7 (RTM) for GUID keys under the Uninstall section.



${registry::Read} "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B7643B11-A60E-4A33-A465-263FEB32113A}" "UninstallString" $R0 $R1
MessageBox MB_OK 'registry::Read$\n$\n\
$$R0 "string" =[$R0]$\n\
$$R1 "type" =[$R1]$\n'

I used the code from your example provided. The above code does work properly on Windows Server 2003. The above code pulls blank values on Windows 7. The data retrieved on Windows Server 2003 is:

string = MsiExec.exe /X{B7643B11-A60E-4A33-A465-263FEB32113A}

I hope this helps.

Kind regards,
RajaW is offline   Reply With Quote