Sign in to follow this  
Followers 0
Uriziel01

List of installed applications

8 posts in this topic

Hi! Im not sure there wasnt such program in past but I cant find it on board :P It is an installed applications viewer, like this in ControlPanel, but it is a lot faster then system one.

More created for fun, not like serious programming project :P

Posted Image

Source:

run("regedit.exe /e:a "&@TempDir&"\Exported.reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData")
sleep(200)
Global $lista[200],$lista_final
$rejestr=FileRead(@TempDir&"\Exported.reg")
for $i=1 to 190
    if StringInStr($rejestr,'"DisplayName"="') = 0 then
        $lista_final&=@CRLF&"Number of Applications: "&$i
    ExitLoop
    endif
    $rejestr=StringTrimLeft($rejestr,StringInStr($rejestr,'"DisplayName"="')+14)
    $lista[$i]=StringLeft($rejestr,StringInStr($rejestr,chr(34))-1)
    $lista_final&="Name: "&$lista[$i]&"   InstallDate: "
        if StringInStr($rejestr,'"InstallDate"="') = 0 then
        $lista_final&=@CRLF&"Number of Applications: "&$i
    ExitLoop
    endif
    $rejestr=StringTrimLeft($rejestr,StringInStr($rejestr,'"InstallDate"="')+14)
    $lista[$i]=StringLeft($rejestr,StringInStr($rejestr,chr(34))-1)
    $lista[$i]=StringLeft($lista[$i],4)&"-"&StringMid($lista[$i],5,2)&"-"&StringRight($lista[$i],2)
        $lista_final&=$lista[$i]&@CRLF
Next
FileDelete(@TempDir&"\Exported.reg")
MsgBox(0,"Installed programs list",$lista_final)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Variables in portuguese? Interesting :P

Edited by A. Percy

Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator[center] VW Bug user[/center]Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

This does not work on Vista.

Edited by Alienware

Share this post


Link to post
Share on other sites

Variables in portuguese? Interesting :P

Portuguese? No, they are in Polish :P

@Alienware

Yes i now that, I have even writen in the name of thread that it works on winXP :o Sorry for that, but i use Vista to often and dont have time to reapir it :D


Share this post


Link to post
Share on other sites

Portuguese? No, they are in Polish :P

@Alienware

Yes i now that, I have even writen in the name of thread that it works on winXP :o Sorry for that, but i use Vista to often and dont have time to reapir it :D

:P

lista final (portuguese) = final list (english)


Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator[center] VW Bug user[/center]Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral

Share this post


Link to post
Share on other sites

Not working over here =\

Just getting a msgbox saying "Number of installed applications: 1" ... and i know i have more than that :P


My scripts:AppLauncherTRAY - Awesome app launcher that runs from the system tray NEW VERSION! | Run Length Encoding - VERY simple compression in pure autoit | Simple Minesweeper Game - Fun little game :)My website

Share this post


Link to post
Share on other sites

Oh yeah .... portuguese... here in Brazil there are many people whose use autoit....

Share this post


Link to post
Share on other sites

WHY would you resurrect a thread after 6 years, especially when your post adds nothing to the discussion?!


√-1 2^3 ∑ π, and it was delicious!

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