well, reading the docs on psinfo it would appear that it is mearly
groking the registry for that information.  unfortunately they didn't
seem to want to provide source for psinfo so i could see exactly where
they were pulling from.

so, you have a couple of options

1) search the registry by hand and look for that info
2) get a book on the registry which might have better locations
3) ask mark for source to his tool
4) dissassemble psinfo.exe and see what it's doing. 
5) come up with a completely new method.  

for the record, searching through the registry is not going to be a very
complete way of finding out what is installed.  the only things you will
find is apps installed using some kind of installer.  anything that just
laid the files down manually will not be found.  i would suggest doing a
filesystem sweep for any unknown .exe or .dll files.  and that is just
to start, given more thought it wouldn't be too hard to come up with a
list of things that needed to be searched for.

-----Original Message-----
From: Steven Satelle (Service Desk)
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 10, 2003 12:56 AM
To: Perl-Win32-Admin (E-mail)
Subject: What's installed?


I'm looking for a method to do exactly what psinfo does, grab all the
installed software on a machine. But I'd prefer to do it in a native
Perl script. I've googled extensively but cant find any method of
getting it. 
I've even looked in the registry but cant find a definitive list of all
programs installed :(

Does anyone know of any methods of doing this?
As I said I know I could use psinfo but I'd prefer native Perl (mainly
because I'm mad :-)). What I want to do is run the script against every
pc in the domain and grab a software inventory of all installed apps on
the domain





DISCLAIMER:  The information contained in this email and in any
attachments is confidential and is designated solely for the attention
and use of the intended recipient(s).  If you are not the intended
recipient(s) of this email you must not use, disclose, copy, distribute
or retain this message, the attachment(s) or any part thereof.  If you
believe that you have received this email in error please notify us
immediately at the address set out below.  Please also delete all copies
of this email and any
attachment(s) from your computer system.

  Unless expressly stated this email is not intended to create any
contractual relationship.  If this email is not sent in the course of
the senders employment or fulfilment of his/her duties to Aer Rianta,
Aer Rianta accepts no liability whatsoever for the content of this
message or any attachment(s). 

 [EMAIL PROTECTED]

  Aer Rianta, Head Office, Dublin Airport  


_______________________________________________
Perl-Win32-Admin mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to