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 2010 and the 2007 Microsoft Office system. 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 3.5 SP1, .NET Framework 4 Client Profile, or .NET Framework 4. 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. You need to select this item only if your project targets the 2007 Microsoft Office system, or if your project targets the .NET Framework 4 and Microsoft Office 2010. For more information, see Visual Studio Tools for Office Runtime Installation Scenarios.
Microsoft Office 2007 Primary Interop Assemblies or Microsoft Office 2010 Primary Interop Assemblies. You need to select one of these items only if your project targets the .NET Framework 3.5, or if your project targets the .NET Framework 4 and 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.