Megosztás a következőn keresztül:


How to: Install Prerequisites on End User Computers to Run Office Solutions (2007 System)

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • 2007 Microsoft Office system

For more information, see Features Available by Application and Project Type.

The following prerequisites must be installed on end user computers:

  • .NET Framework 3.5.

  • A version of the 2007 Microsoft Office system.

  • The Office primary interop assemblies.

  • The Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0 Runtime).

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.

To select prerequisites and choose the download method

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

  2. On the Project menu, click ProjectNameProperties.

  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 Windows Installer 3.1, .NET Framework 3.5 or .NET Framework Client Profile, Microsoft Office 2007 Primary Interop Assemblies, and Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0 Runtime) are selected. Select other components that you want to install.

  7. Under Specify the install location for prerequisites, select one of the following options:

    1. Click Download prerequisites from the component vendor's web site to download these prerequisites from the vendor.

    2. Click Download prerequisites from the same location as my application to store the prerequisites in the same location as your installer.

    3. Click Download prerequisites from the following location to make the prerequisites available to end users separately on a Web page or network share.

  8. 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 (2007 System)

Preparing Computers to Run or Host Office Solutions (2007 System)

Adding Custom Prerequisites

Change History

Date

History

Reason

July 2008

Revised the list of prerequisites to select.

SP1 feature change.