Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Software inventory loose programs

  • Software inventory loose programs

    Posted by Raul77 on March 5, 2008 at 20:34

    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.

    steve-o replied 16 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • steve-o

    Member
    March 6, 2008 at 13:39
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.