Reporting to output any MS Office Suite installed on all systems

(imported topic written by Aria91)

Hi all,

I’m new to Bigfix and first time trying to use reporting to show any MS Office Suite installed on all systems.

I have the following relevance that I copied form this forum:

<table> <?relevance trs of  (td of name of it &  td of concatenation 
"," of (values of result (it, bes property 
"School Name by IP Range")) & td of concatenation 
"," of (values of result (it, bes property 
"Installed Applications - Windows")) whose (it as lowercase contains 
"microsoft office"))  of bes computers whose  (exists (value of result (it, bes property 
"Installed Applications - Windows")) whose (it as lowercase contains 
"microsoft office") AND  exists (value of result (it, bes property 
"School Name By IP Range"))) ?> </table>.

But it outputs “N/A or None”

Any idea how to make this to work?

Thanks in advance,

Aria

(imported comment written by BenKus)

Hi Aria,

Can you post the exact output?

Perhaps an easier way to get Microsoft Office information will be to use the built-in “Microsoft Office Suite Information (Windows)” Analysis. Make sure it is activated and then you can go to “Create Report” in the web reports and choose the “Analysis Report”. You can then filter the report using the filter button if you want.

Let me know if that helps you with your issue,

Ben

(imported comment written by Aria91)

Hi Ben,

Finally I was able to get the report that I want, but for some reason few of the outputs are .

Is there a way to avoid ?

Here is the code that I’m using to get microsoft office info:

unique values of ((

if (exists value 
"DisplayVersion" of it AND exists value 
"DisplayName" of it) then (value 
"DisplayName" of it as string & 
" - " & value 
"DisplayVersion" of it as string) 

else (

if (exists value 
"DisplayName" of it AND not exists value 
"DisplayVersion" of it) then (value 
"DisplayName" of it as string & 
" - <N/A>") 

else nothings)) of keys whose (value 
"DisplayName" of it as string as lowercase contains 
"microsoft office" AND value 
"DisplayName" of it as string as lowercase does not contain 
"elements" AND value 
"DisplayName" of it as string as lowercase does not contain 
"update") of key 
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry)

Thanks in advance,

Aria

(imported comment written by Aria91)

Ben,

Here is an example of output:

XXX.XX.XX.XX PC_name Workstation User_name SPSS 14.0 for Windows - 14.0.0 Microsoft Office Visio Professional 2003 N/A

Thanks,

Aria

(imported comment written by BenKus)

Hi Aria,

The “multiple results” indicate that the property returned more than one result. There are a couple ways to deal with this:

  • Hover your mouse over the “” and it will list each of the results.
  • Double-click on the computer and see the results listed out.
  • Do a “Computer Properties” web report and you will see each of the results listed out.

Ben

Hello,

could you please post the full version of the code. I need it to get the Microsoft Office 2019 info.

Thanks,

Kolarkso