Access to Windows "Add/Remove Programs"?

Larry Bates larry.bates at vitalEsafe.com
Wed Sep 3 22:06:14 EDT 2008


Sean DiZazzo wrote:
> Hi all,
> 
> 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?
> 
> Thanks in advance,
> 
> ~Sean

I would guess that that program gets the information from the registry.
Maybe looking at HKEY_LOCAL_MACHINE\SOFTWARE or HKEY_CURRENT_USER\Software branches?

-Larry



More information about the Python-list mailing list