Hello All, i need to know the architecture for installed MS Office version using Web Reports or analysis. Please suggest me how i can achieve this using relevance.
I’m sure there are other, and possibly better ways but one we use is
Q: if (exists regapp "outlook.exe") then ((preceding text of first ";" of following text of first ((preceding text of first "." of (version of regapp "outlook.exe" as string)) & ":") of "8:Office 97;9:Office 2000;10:Office XP;11:Office 2003;12:Office 2007;14:Office 2010;15:Office 2013;16:Office 2016;") & (if (x64 of operating system) then ((if pathname of it as lowercase contains "(x86)" then " 32-bit" else " 64-bit") of regapp "outlook.exe") else (" 32-bit"))) else "NotInstalled"
A: Office 2016 32-bit
I: singular string
You could use any other of the Office apps, for us Outlook is only ever installed as part of the Office suite so this approach fits into our particular requirements.
2 Likes
Thank you SLB for your support. But in my environment, there are around 5000 systems, which do not have outlook installed, but other office applications are there.
You can change from “outlook.exe” to say “excel.exe” or “winword.exe”, whatever best suits your Office deployment.
1 Like
I have changed the relevance littlebit and it is working really fine in my environment. Thank you so much for your help SLB.
1 Like
What is the updated relevance?
I just changed Outllok with MSWORD