locked
Registry entry to check version of current installed Office? RRS feed

  • Question

  • I need to check if MS Office is currently installed on my machine and which version of Office is installed. What are the registries to check this?

    Earlier I was relying on below registry entry for this:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Common\LastAccessInstall 

    But in some cases, the registry is missing even though Office is installed.


    Parul Gupta

    Monday, March 3, 2014 8:28 AM

Answers

All replies

  • Hello Parul,

    Most probably you have the Click2Run edition of Office installed on the problematic PC. You can read more about this edition in the Click-to-Run: Known issues article.

    Please check out the following articles, they will help you to figure out the way for determining whether Office is installed and what applications and versions:

    How to Determine the Path for an Office Application

    Description of the numbering scheme for product code GUIDs in Office 2010

    How to determine which version of a 2007 Office product is installed

    How to determine the service pack level of your Office 2010 suite

    Finally, I'd recommend asking non-programming questions in the Office IT Pro or Microsoft Community forums instead.

    Monday, March 3, 2014 12:06 PM
  • hi,

    http://stackoverflow.com/questions/3266675/how-to-detect-installed-version-of-ms-office

    may be this will help you.

    Monday, March 3, 2014 12:24 PM
  • I cross-checked and figured out that the registry entry I mentioned is not created with MS Office Standard.

    Parul Gupta

    Thursday, March 20, 2014 6:24 AM
  • @echo off
    SETLOCAL
    TITLE Microsoft Office version
    REM By Michael Weiner, 22 April 2019
    SET ver[7]=97
    SET ver[8]=98
    SET ver[9]=2000
    SET ver[10]=XP
    SET ver[11]=2003
    SET ver[12]=2007
    SET ver[14]=2010
    SET ver[15]=2013
    SET ver[16]=2016/2019
    echo:
    setlocal enabledelayedexpansion
    FOR /F "usebackq skip=2 tokens=1,2* delims=." %%a IN (`REG QUERY "HKEY_CLASSES_ROOT\Excel.Application\CurVer" /ve 2^>nul`) DO ECHO Microsoft Office !ver[%%c]! (version %%c)
    echo:
    Pause
    EXIT
    Monday, April 22, 2019 5:15 PM
  • I have seen a lot of posts looking for the same thing so I will put the easy answer out there.

    When detecting Office 365 installation versions, check here:

    HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration\VersionToReport

    (in my use case we were needing to rollback our versions of Office to a specific version)

    • Proposed as answer by cbelcher00 Wednesday, December 11, 2019 7:52 PM
    Wednesday, December 11, 2019 7:52 PM
  • There are multiple ways to check for Office installations, which should take into consideration:

    - Multiple Office versions might be installed (example: PowerPoint Viewer 2010 and Office 2016)

    - Office can be installed as 32 or 64 bit

    - Office can be installed as MSI package or as ClickAndRun application

    I wrote a Python script that tries to deal with all those assumptions. If Python isn't your language, you can still get the logic out of the script and write your own.

    Please have a look here at stackoverflow.

    Best regards.


    Administrateur Windows & Linux caffeinomane :)


    Wednesday, December 16, 2020 5:14 PM