[Tutor] Windows software reporting

Magnus Lyckå magnus at thinkware.se
Mon Aug 11 00:34:48 EDT 2003


At 14:41 2003-08-08 -0500, Justin Heath wrote:
>Any suggestions?

An extremely rough and simple approach is to list the
contents of the Windows program directory. Something
like:

   os.popen('dir %ProgramFiles%').readlines()

Whether you use a directory listing, or the registry, it's
not easy to make it sophisticated. As far as I can see, the
registry settings for software installs don't follow any
standards that will help you get application names and
versions in any consistent way.


--
Magnus Lycka (It's really Lyckå), magnus at thinkware.se
Thinkware AB, Sweden, www.thinkware.se
I code Python ~ The Agile Programming Language 




More information about the Tutor mailing list