Microsoft Office Setup Files Location

Apr 09, 2012  None of the responses I can find on this forum have shown me the correct path to the office2010 executables. I have looked in c:program filesmicrosoft officeoffice14 and there are no executables there. Looking at properties in the start menu shows the target as microsoft office single image 2010. What on earth is that?

-->

Summary

This article demonstrates how to use the Windows Installer to find the installation path of Microsoft Office applications.

More Information

Versions of Microsoft Office greater than 2000 do not include path information in the shortcut links when installed. This is done so that the 'Run on First Use' option can be used. When this option is used, the shortcuts will appear, but the applications will not be installed on the hard disk. When you click on the shortcut for the first time, the applications will be installed.

You can use the Windows Installer to get the path of the installed Office 2000 application. Follow the steps given below to create a console application that reports the directory of an installed Office application.

Building the Sample

  1. Create a blank console application in Visual C++.

  2. Create a new file called main.cpp and paste the following code in the code window.

  3. Click the Project menu and then click Settings to bring up the project settings dialog box.

  4. Click the Link tab and add msi.lib in the list of Object/library modules.

  5. Run the program. It will display the file path where Microsoft Word is installed.

Note

Included in the code are the GUIDS associated with Word, Excel, PowerPoint and Access. To find the path for another Office application, pass in the name of the application as the second parameter of the MsiGetComponentPath function.

To find the path of an Office XP application, replace the constants above with the following.

Microsoft office setup free

To find the path of an Office 2003 application, replace the constants above with the following.

Microsoft Office 2010 Installation Files Location

To find the path of a 2007 Office application, replace the constants above with the following.

Microsoft Office Setup Files Location

To find the path of a 32-bit Office 2010 application, replace the constants above with the following.

Microsoft Office Setup Files Location Download

To find the path of a 64-bit Office 2010 application, replace the constants above with the following.