Access to Windows "Add/Remove Programs"?

Sean DiZazzo half.italian at gmail.com
Wed Sep 3 22:41:20 EDT 2008


On Sep 3, 7:13 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
> En Wed, 03 Sep 2008 21:51:59 -0300, Sean DiZazzo <half.ital... at gmail.com>  
> escribi :
>
> > I'm trying to find a way to get a list of all the installed programs
> > on a Windows box via Python.  I thought of a few hacks that might
> > partially work, and then thought about "Add/Remove Programs"  Seems
> > like the right way to go.  I looked over the pywin32 docs a bit, but
> > nothing slapped me in the face.
>
> > Is there any reliable way to get at that info?
>
> You may enumerate the entries under this registry key:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
>
> --
> Gabriel Genellina

Thank both of you.  Perfect!

~Sean



More information about the Python-list mailing list