• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Listing of Software Installed

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. Is there a way to list all the software installed on a computer, including the name, location installed and version installed?

thank you for any guidance.

regards,
zelynn
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Plus the shoesize of the installing person and - if it's a girl - whether there were High Heels involved?

No i fear this can't be done.

J.
[ May 12, 2005: Message edited by: Jeffrey Spaulding ]
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, it should be possible - Windows (if that is the OS we are talking about here) does it. There is a list of software included in the Registry - and reading the Registry is easy enough via C. So you could do it with JNI. I suspect this is the sort of thing you could find an open source API for - try some Googling.
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. That list is maintained my MSI (the windows installer). An application installer can choose whether or not to get itself listed on it.

There's NO way to find out every single thing installed on the machine. If I for example unpack a zipfile somewhere and that is all the installation required (as is often the case) nothing gets added to the list.
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


If I for example unpack a zipfile somewhere and that is all the installation required (as is often the case) nothing gets added to the list.


Strictly, in Windows parlance, such an application is not "installed". If you do indeed define an installed application as any executable in the file system, well I agree, that's going to be difficult to do.
[ May 12, 2005: Message edited by: Paul Sturrock ]
 
zelynn goay
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all. thanks for the reply.

well, if in windows, there's the add/remove program that show the listing. i want to get the same list if possible.

May I know how to read the registry? will it be the same for all platform?

regards,
zelynn
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No.
On the linux plattform there are different installers, like rpm (RedHat/ Fedora) and apt (debian), but lot of people install from source-tarballs without listing installed software somewhere.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Paul Sturrock:

Strictly, in Windows parlance, such an application is not "installed". If you do indeed define an installed application as any executable in the file system, well I agree, that's going to be difficult to do.



Even if so (which I don't agree with, installing means getting it onto the machine in such a way that it can be used), installers aren't required to register themselves in the list of installed applications.
And it's possible to manually edit the list and remove entries.
 
It's a tiny ad only because the water is so cold.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic