Can I pull the programs installed, Manufacturer, Version adn date installed?
And export to a text file?

Re: Programs Installed by JHP

JHP
Fri Dec 30 09:29:41 CST 2005

Use this site:
http://www.activexperts.com/activmonitor/windowsmanagement/wmi/samples/

WMI Samples

Application Samples

Win32_ApplicationService

"lmossolle@nc.rr.com" <lmossollencrrcom@discussions.microsoft.com> wrote in
message news:D5A01EDE-2513-4CDF-AC79-9AD8DBF42694@microsoft.com...
> Can I pull the programs installed, Manufacturer, Version adn date
> installed?
> And export to a text file?



Re: Programs Installed by mayayana

mayayana
Fri Dec 30 20:01:43 CST 2005

There are several ways to approach it.
The official answer is to use WMI, but
actually WMI only lists software installed
via MSI file, which in most cases is just
a small fraction of installed software.
And WMI isn't even necessary to list that
software. MSI has it's own object model
that's more extensive; WMI just adds an
extra "wrapper" on top of that.

For non'MSI software there are two
approaches: The Registry Uninstall key
lists program in the Add/Remove window.
The Registry App Paths key lists all registered
executables.

There are pros and cons to all 3 methods
of listing software. You really probably need
to use all 3 if you want an accurate view of
what's installed.

For demo scripts of both Registry and MSI
methods, (without needing WMI) see here:

http://www.jsware.net/jsware/scripts.phi#enumsoft


--
mayayanaXX1a@mindXXspring.com
(Remove Xs for return email.)
lmossolle@nc.rr.com <lmossollencrrcom@discussions.microsoft.com> wrote in
message news:D5A01EDE-2513-4CDF-AC79-9AD8DBF42694@microsoft.com...
> Can I pull the programs installed, Manufacturer, Version adn date
installed?
> And export to a text file?



Re: Programs Installed by mr_unreliable

mr_unreliable
Sun Jan 01 12:35:23 CST 2006

hi Imossolle,

Another place to look for installed apps is in the "c:\Program Files"
folder.

It is customary for apps to install themselves there, whether they
make registry entries or not.

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)




lmossolle@nc.rr.com wrote:
> Can I pull the programs installed, Manufacturer, Version adn date installed?
> And export to a text file?

Re: Programs Installed by Fosco

Fosco
Mon Jan 02 21:24:41 CST 2006

"mr_unreliable"
> Another place to look for installed apps is in the "c:\Program Files"
> folder.


Yes :

Set fso = CreateObject("Scripting.FileSystemObject")
Set oShell = WScript.CreateObject("WScript.Shell")
bKey =oShell.RegRead("HKLM\Software\Microsoft\Windows\"&_
"CurrentVersion\ProgramFilesDir")
Set f = fso.GetFolder(bKey)
Set fc = f.SubFolders
Set newf = fso.createtextfile("install.log")
For each fol in fc
'newf.WriteLine fol.name &" >>> " & fol.size
newf.WriteLine fol.name
next
newf.Close
oShell.run"install.log"
Set oStream =fso.OpenTextFile("install.log")
Do Until oStream.AtEndOfStream
sLine = oStream.ReadLine
If InStr(UCase(sLine),"OUTLOOK EXPRESS") Then
WScript.Sleep 200
Msgbox "Outlook installato"
'Msgbox bKey &"\"& sLine
Folderspec = bKey &"\"& sLine
Set f = fso.GetFolder(folderspec)
Set fc = f.Files
For Each f1 in fc
s = s & "file: " & f1
s = s & vbcrlf
Next
msgbox(s)
end if
Loop

--
Fosco