Pages: [1]   Go Down
Author Topic: Software inventory loose programs  (Read 554 times)
0 Members and 2 Guests are viewing this topic.
Raul77
Jr. Member
**

Karma: 0
Offline Offline

Posts: 19


View Profile
« on: March 05, 2008, 05:34:00 PM »

Hi
Ive began to work with the babel server in order to do an auditory on the company workstations (all windows xp). We have begun with the software and i found an error with the windows client. At the inventary doesnt appear the office 2007, the rest(or almost) of the software apperared well. In the past i used a wmi command (in vbs) like this:

Set objWbem = GetObject("winMgmts:\\" & strComputer)
Set colInstProducts = objWbem.InstancesOf("Win32_Product")

and appeared the office 2007

What could i do to solve the problem

Thank for your help.
« Last Edit: January 01, 1970, 01:00:00 AM by Raul77 » Logged

steve-o
Full Member
***

Karma: 0
Offline Offline

Posts: 25


View Profile
« Reply #1 on: March 06, 2008, 10:39:26 AM »

Hola Raul.

This is really strange because in Babel agent we do a similar query in WQL (WMI Query Language), which is:

"SELECT * FROM Win32_Product"

I think there is a problem about the way Windows holds and gets that info. I attach a screenshot that shows all the matches elements of that query (using WMI Tools, the official application to do that kind of stuff) and the windows system "Add or remove applications". You may notice a difference because some applications are not shown in the query, although they are shown in the windows app. Maybe Office 2007 is somewhere else, but you can see Office 2003 in the elements of the query.



I'm not a Windows expert, so if you know a way to get all those missing elements, I'll appreciate it.

Note: We do not use windows libraries because it won't let us to release the agent as GPL. That's the reason we have to use open source libraries to do these kind of queries. Anyway, it works perfectly, the only issue is that the code is a bit ugly.
« Last Edit: January 01, 1970, 01:00:00 AM by steve-o » Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST