Jump to content
Sign in to follow this  
Chimaera

Small registry help

Recommended Posts

Chimaera

Been reading copious posts last few days on getting extended properties from files and registry etc, in particular Display Version which im led to believe is best for version numbers

Then i found this but i cant get it to return anything except a blank space

$sDisplayVersion = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CCleaner", "DisplayVersion")

            ConsoleWrite($sDisplayVersion & @CRLF)

The value exists but i cant seem to read it, i tried different program and same result

Can someone point me on right track plz

Share this post


Link to post
Share on other sites
ripdad

64bit OS?

RegRead("HKEY_LOCAL_MACHINE64\ ...


"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Share this post


Link to post
Share on other sites
anixon

Been reading copious posts last few days on getting extended properties from files and registry etc, in particular Display Version which im led to believe is best for version numbers

Then i found this but i cant get it to return anything except a blank space

$sDisplayVersion = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CCleaner", "DisplayVersion")

            ConsoleWrite($sDisplayVersion & @CRLF)

The value exists but i cant seem to read it, i tried different program and same result

Can someone point me on right track plz

Perhaps 'DisplayVersion" is called "DisplayName" which is the case for AutoIT

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.