Query Application version installed

(imported topic written by SystemAdmin)

Hi All,

Anyone has relevance for query of certain application installed (example adobe x) including its version?

Thanks,

Brai

(imported comment written by SystemAdmin)

The SUA (Software Usage Analysis) product comes with all of this content along with an extensive catalog of signatures, historical reporting and much more pre-built content. It will look for signatures of in several places including registered applications, registry keys, a full HD scan for exe’s, etc. Here is more info on SUA:

https://www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/Tivoli%20Endpoint%20Manager/page/TEM%20SUA%20Capabilities%20Overview?lang=en

Now having said that you can create the queries on your own. Here are some examples:

Here is an example to get all installed applications:

http://www.ibm.com/developerworks/forums/thread.jspa?threadID=407173

Here is an example to get the version from a single registered app/exe:

q: (if (exists regapp “BESClient.exe”) then (version of regapp “Besclient.exe” as string) else “BESClient.exe not installed”)

A: 8.2.1312.0

You may also have to pull it out of the registry in some cases:

q: (if (exists key “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\EnterpriseClient” whose (exists value “version” of it) of registry) then (value “version” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\EnterpriseClient” of registry as string) else “Not Installed”)

A: 8.2.1312.0

T: 0.134 ms

I: singular string