/build/static/layout/Breadcrumb_cap_w.png

Detect version, language of MS Office

Hello,
I would like to create a custom inventory key for get version of microsoft office (XP, 2003, 2007, 2010) and language of MS office.
Could you help me for get this informations ?

Thanks

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 9 years ago
Red Belt
0

Is there some reason why you are unable to use RegEdit and look yourself?

There are so many places to look for this. Perhaps one might be to use HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\[CompressedVersionOfProductCode]\InstallProperties and read 'DisplayVersion'. Then, in the '..\Features' branch, you could search for the feature which installs the different languages you're looking for.

There is code around to help you construct the compressed GUID from the ProductCode, including here on ITNinja.

Posted by: gjoubert 9 years ago
Blue Belt
0
Hello, thanks for your reply.
I would like to use registry, but i do not know which registry key to use for get informations.
Posted by: anonymous_9363 9 years ago
Red Belt
0

I have shown one registry key in my response. There are others, e.g. HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]. Note that this key uses the *actual* ProductCode, not a compressed one.

All you need to gather are the various ProductCodes for the products you want to search for. You have a deployment system which you use to deploy this stuff with, i.e. the KBox. Then by definition you have access to the package source for these products and therefore cam glean the ProductCodes from the packages. Then all you need to do is create the compressed GUIDs and create your search criteria.

EDIT:
Thinking some more, I'm pretty sure the KBox can be set to search for a particular file and get its version number so why not create a search for, say, WINWORD.EXE across the estate and get a report of the version numbers returned. You can then use that data to connect to one of each of the machines with the different versions and get the relevant registry key from them.

EDIT, EDIT:
Here: I've saved you the bother: Description of the numbering scheme for product code GUIDs in Office 2010. The top of the document has links for similar documents for the other Office flavours.

Posted by: gjoubert 9 years ago
Blue Belt
0
Hello it's ok i have found a solution :
I use this differents key (GUID) on this path : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
I have create CIR for get DisplayValue

Thanks for your help VBScab



 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ