How to: Install Prerequisites on End User Computers to Run Office Solutions
If you create a Setup program, you can select which prerequisites are installed as part of setup. These components are not bundled into the Setup file. Instead, you specify one of the following three locations as the place where the Setup program can find, download, and install the prerequisites:
The vendor Web site.
The same installation location as the customization.
A specified download server.
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.
To select prerequisites and choose the download method
In Solution Explorer, select the main project node.
On the Project menu, click ProjectName Properties.
Click the Publish tab.
Click the Prerequisites button to open the Prerequisites dialog box.
Ensure that the Create setup program to install prerequisite components check box is selected.
In the Prerequisites list, ensure that the following prerequisites are selected, unless otherwise noted below:
Windows Installer 3.1.
.NET Framework 4 Client Profile, .NET Framework 4, or .NET Framework 4.5. Select the framework version that is targeted by your project. For more information, see Designing and Creating Office Solutions.
Visual Studio 2010 Tools for Office Runtime.
Microsoft Office 2010 Primary Interop Assemblies. You must select this check box if you choose to not embed interop types. For more, see Designing and Creating Office Solutions.
The Microsoft Office 2010 Primary Interop Assemblies option is available in the Prerequisites list only if you install the bootstrapper package for the Office 2010 PIAs on your development computer. To install the bootstrapper package, see Microsoft Office 2010 Primary Interop Assemblies Bootstrapper Package.
Select other prerequisites that you want to install.
Under Specify the install location for prerequisites, select one of the following options:
Click Download prerequisites from the component vendor's web site to download these prerequisites from the vendor.
Click Download prerequisites from the same location as my application to store the prerequisites in the same location as your installer.
Click Download prerequisites from the following location to make the prerequisites available to end users separately on a Web page or network share.
You must make sure that installers for the specified components exist at the specified location.