Sign in to follow this  
Followers 0
gleem

Display a list of installed applications from registry

4 posts in this topic

#1 ·  Posted (edited)

Greetings... I am looking to write an script that will list all installed applications.

I was able to locate the directory in registry in which I will want to extract my information from but I am sort of running into a mental block when it comes to variables.

The path I want to read from is: HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Uninstall > (All the Subfolder)

Now, when I use the Regread command in autoit, I will need to tell it which subfolder I want to use to pull the DisplayName, InstallLocation, and Publisher keys from. However, I am unsure on how to tell Autoit to read each sub directory for this information.

If someone can help me get over this hurdle or guide me in the right direction, the rest should be cake.

Edited by gleem

Share this post


Link to post
Share on other sites



Greetings... I am looking to write an script that will list all installed applications.

I was able to locate the directory in registry in which I will want to extract my information from but I am sort of running into a mental block when it comes to variables.

The path I want to read from is: HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Uninstall > (All the Subfolder)

Now, when I use the Regread command in autoit, I will need to tell it which subfolder I want to use to pull the DisplayName, InstallLocation, and Publisher keys from. However, I am unsure on how to tell Autoit to read each sub directory for this information.

If someone can help me get over this hurdle or guide me in the right direction, the rest should be cake.

I'd do a search in the example scripts forum, there are many Application lists, etc, and even one that does uninstalls for you.


-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Share this post


Link to post
Share on other sites

Const $NODE = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
Local $i = 1
While 1
    $var = RegEnumKey($NODE, $i)
    If @error <> 0 then ExitLoop
    MsgBox(4096, "#" & $i, $var)
    $i+=1
WEnd
Thank you SOOOO much. This is exactly what I was looking for.

thank you again!

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  
Followers 0