prabudass has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on How to list all installed software details?

Replies are listed 'Best First'.
Re: How to list all installed software details?
by marto (Cardinal) on Mar 30, 2010 at 12:09 UTC

    It doesn't look as though you've even tried Searching on this topic. The second hit is a script to do this very task.

Re: How to list all installed software details?
by ww (Archbishop) on Mar 30, 2010 at 12:24 UTC

    That depends very heavily on what you mean by "details."

    You're first going to have to identify every executable... .exe, .com., .bat, whether found in the registry or a member of that class of executables that don't use a registry entry.

    Any one of several ways of retrieving the names of all the files on your hard disk (perhaps consider http://perldoc.perl.org/File/Glob.html or glob) and then using grep or a regex (see perldoc perlretut for starters) to identify the candiates above will give you a start... but won't distinguish between -- for example -- .exe files which have not been installed and those which can be executed without installation.

    OTOH, if your "all...details" is taken literally -- that is, if you're looking for details such as version, company(author), digital signatures, and so on, you will have to know where-to-look and what-to-look-for inside each file -- a somewhat larger challenge.

    So you may wish to expand your question to clarify your meaning (and to "show some effort" -- that last being an admonition you may have encountered previously, in the year-and-a-half since you first joined the order).