Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6884673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:32:19+00:00 2026-05-27T05:32:19+00:00

I’m having trouble finding a consistent version number for several Office products. This post

  • 0

I’m having trouble finding a consistent version number for several Office products.

This post led me to these KB articles which suggest different ways to find the service packs for Office 2007 and Office 2010 products.

However, the file versions of the Office .exe files are not consistent with the chart.

Using the Excel 2010 installed on my machine as an example:

  • Help > About info from Excel: Microsoft Excel 2010 (14.0.6106.5005) SP1
  • File version by viewing the properties of Excel.exe: 14.0.6106.5005
  • Original file version (from table): 14.0.4756.1000
  • SP1 file version (from table): 14.0.6024.1000

Is there a more reliable way to retrieve version numbers and service packs for Microsoft Office products?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:32:19+00:00Added an answer on May 27, 2026 at 5:32 am

    We decided to back out of this because it was taking way too much time. However, I thought I’d post what I got in case anyone needs to take it farther.

    First, here are the three relevant KB articles which list out the service pack versions:

    • Office 2003
    • Office 2007
    • Office 2010

    Method 2 in these articles suggest the properties of the executable file is a reliable way to get the actual file version. Unfortunately, it isn’t.

    Here’s how you can find the executable:

    Find the install root for Office:

    // version is one of these three: Office 2003 = 11, Office 2007 = 12, Office 2010 = 14
    RegistryKey registryKey = 
        Registry.LocalMachine.OpenSubKey(String.Format(
            @"SOFTWARE\Microsoft\Office\{0}.0\Common\InstallRoot", (int)version));
    
    if (registryKey == null)
        registryKey = Registry.LocalMachine.OpenSubKey(
            registryKeyPath.Insert("SOFTWARE".Length, "\\Wow6432Node"));
    
    if (registryKey != null)
        installRoot = registryKey.GetValue("Path").ToString();
    

    Then append the name of the executable (with on exception for Office 2003):

    • Access: MSACCESS.EXE
    • Excel: EXCEL.EXE
    • Outlook: OUTLOOK.EXE (use OUTLIB.DLL for 2003)
    • PowerPoint: POWERPNT.EXE
    • Word: WINWORD.EXE

    With this information, you can get the FileVersionInfo for the selected application. Using Word as an example:

    FileVersionInfo fileVersionInfo = FileVersionInfo.GetVersionInfo(
        Path.Combine(installRoot, "WINWORD.EXE"));
    
    if (fileVersionInfo != null)
        fileVersion = fileVersionInfo.FileVersion;
    

    Theoretically, you could now compare this version number to the tables from the KB articles to find the correct service pack. This is where I abandoned my efforts for the reasons listed in the question – you’ll find the version numbers just don’t match up.

    You can use code similar to below to compare the versions for, say Word 2010 SP1:

    Version version = new Version(fileVersion);
    if (version >= new Version("14.0.6024.1000"))
        servicePack = 1
    

    Here’s some code to get the version of Office suite:

    string msodllPath = Path.Combine(
        Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles),
        String.Format(@"Common Files\microsoft shared\OFFICE{0}\MSO.DLL", (int)Version));
    
    if (!File.Exists(msodllPath))
        msodllPath = msodllPath.Replace("Program Files", "Program Files (x86)");
    
    if (File.Exists(msodllPath))
    {
        FileVersionInfo msodll = FileVersionInfo.GetVersionInfo(msodllPath);
        FileVersion = new Version(msodll.FileVersion);
    }
    

    If you are trying to get the edition name (i.e. Professional, Ultimate, Student, etc) you are in for an adventure. Here’s some untested code fragments that may be useful. It’s different for each version of office and each edition so best of luck!

    string fullNameRegistryKey = "";
    
    if (Version == OfficeVersion.Office2010)
        fullNameRegistryKey = String.Format(
            @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office{0}.PROPLUSR",
            (int)Version);
    else if (Version == OfficeVersion.Office2007)
        fullNameRegistryKey = String.Format(
            @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PRO",
           (int)Version);
    
    RegistryKey installRootRegistryKey = GetSoftwareRegistryKey(fullNameRegistryKey);
    
    if (installRootRegistryKey != null)
        FullName = installRootRegistryKey.GetValue("DisplayName")
            .ToString().Replace("Microsoft ", "");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
We're building an app, our first using Rails 3, and we're having to build
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to create an if statement in PHP that prevents a single post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.