Jump to content

List of installed applications


Uriziel01
 Share

Recommended Posts

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)
Link to comment
Share on other sites

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

VW Bug user

Pinheiral (Pinewood) city:

http://pt.wikipedia.org/wiki/Pinheiral

Link to comment
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

Link to comment
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

VW Bug user

Pinheiral (Pinewood) city:

http://pt.wikipedia.org/wiki/Pinheiral

Link to comment
Share on other sites

  • 5 years later...
  • Moderators

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

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...