Office Solution Prerequisites for Deployment
All Office solutions have prerequisites that must be installed before the solution can be run. In addition, the solutions have required components that must be deployed. You can create a Setup program that checks for prerequisites before it installs the solution components.
Applies to: The information in this topic applies to document-level projects and application-level projects for Microsoft Office 2013 and Microsoft Office 2010. For more information, see Features Available by Office Application and Project Type.
Office Solution Prerequisites
End user computers must have the following software installed:
The version of the .NET Framework that is targeted by the solution. For more information, see Designing and Creating Office Solutions.
The Visual Studio 2010 Tools for Office Runtime. Office 2013 and Microsoft Office 2010 include the Visual Studio 2010 Tools for Office Runtime components required to run solutions. For more information, see Visual Studio Tools for Office Runtime Installation Scenarios.
For Office 2013 and Microsoft Office 2010 projects that target the .NET Framework 4 or the .NET Framework 4.5, you must select the Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64) option in the Prerequisites dialog box if you are using ClickOnce to deploy your solution. This option is not selected by default in Microsoft Office 2010 projects. For more information, see How to: Install Prerequisites on End User Computers to Run Office Solutions.
Any utilities assemblies referenced by projects that target the .NET Framework 4 or the .NET Framework 4.5. For more information about the utilities assemblies used by Office projects, see Assemblies in the Visual Studio Tools for Office Runtime.
An Office application that can run the solution. For more information, see Running Solutions in Different Versions of Microsoft Office.
Microsoft Office Starter 2010 cannot run Office solutions that you create by using Visual Studio 2012.
The primary interop assemblies (PIAs) for the version of Office that is installed.
The PIAs are optional for solutions that target the .NET Framework 4 or the .NET Framework 4.5. For more information, see Designing and Creating Office Solutions.
Required Solution Components
All ClickOnce Office solutions consist of the following components:
The assembly that contains the compiled custom code and any dependent assemblies, such as resources, satellites, or helper libraries.
The application manifest.
The deployment manifest.
The document (for document-level solutions only).
Packaging All Prerequisites for Deployment
You can select which components must be installed, and the Setup program will check that the prerequisites are present before starting installation, to help ensure that all Office solutions work. However, if the end user installs the solution by opening a .vsto deployment manifest file, the prerequisites are not checked.
You can select the method of making the prerequisites available to customers:
Include them with the Setup program.
Download and install them from a Web site or network share.
You can download the prerequisites from the Microsoft Download Center, or you can configure your own server location for the prerequisites. For more information about how to choose the prerequisites and method of installation, see How to: Install Prerequisites with a ClickOnce Application.