Monday, August 29, 2011

How to find if office 2010 / 2007 is 64 or 32bit

When writing scripts sometimes we may need to identify the installed MS office version. Since the program and features in control panel doesn’t show the installed version (32/64bit) of MS office 2010 / 2007 we need to use registry to identify the bit version of MS Office 2010 / 2007. Here I show you how you can check this using registry editor…



In registry there's the product code GUID for installed MS Office

On 32bit OS

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{90140000-0011-0000-0000-0000000FF1CE}

If you installed 32bit MS Office on 64bit OS you have to check the following registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Common\InstalledPackages\91140000-0012-0000-0000-0000000FF1CE

 [*] “Office\14.0\” indicates the installed edition is 2010



On both keys the last portion indicated the GUID of installed version of MS Office

{90140000-0011-0000-0000-0000000FF1CE}
91140000-0012-0000-0000-0000000FF1CE
    In the GUID the first digit of the forth portion will indicate whether the installed MS Office version is 32 / 64bit (marked as “P”)

    • XXXXXXXX-XXXX-XXXX-P000-XXXXXX XXXXXX
    If it is a 32bit version P = 0
    If it is a 64bit version P = 1

    No comments:

    Post a Comment