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

  1. In Solution Explorer, select the main project node.

  2. On the Project menu, click ProjectName Properties.

  3. Click the Publish tab.

  4. Click the Prerequisites button to open the Prerequisites dialog box.

  5. Ensure that the Create setup program to install prerequisite components check box is selected.

  6. 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.

      Note

      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.

  7. Select other prerequisites that you want to install.

  8. 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.

  9. Click OK.

    Note

    You must make sure that installers for the specified components exist at the specified location.

See Also

Tasks

How to: Install Prerequisites with a ClickOnce Application

Concepts

Office Solution Prerequisites for Deployment

Preparing Computers to Run or Host Office Solutions

Creating Bootstrapper Packages