Udostępnij za pośrednictwem


How to: Prepare End User Computers to Run Office Solutions (2003 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

  • Microsoft Office 2003

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

Each computer to which you deploy Microsoft Office 2003 solutions that you develop by using Visual Studio Tools for Office must have certain prerequisites. In addition, you must configure the security policy to enable the solution to run. For information about the steps required to deploy solution files, see How to: Deploy Office Solutions (2003 System).

The procedures are slightly different for document-level customizations and application-level add-ins.

To prepare an end user computer to run a document-level customization for Microsoft Office 2003

  1. Install the .NET Framework. For more information, see Where to Obtain the .NET Framework Redistributable Package.

  2. Install one of the following editions of Microsoft Office 2003:

    • Microsoft Office Professional Edition 2003

    • Microsoft Office Professional Enterprise Edition 2003

    • Microsoft Office Excel 2003*

    • Microsoft Office Word 2003*

    • Microsoft Office Professional Edition 2003 Trial

    • Microsoft Office System Evaluation 2003 Enterprise Edition

    * This refers to the stand-alone version that is not part of a suite.

    Choose the Complete installation option to ensure that the primary interop assemblies and Visual Basic for Applications (VBA) are installed. These components are required.

    Note

    Although Visual Studio Tools for Office requires Office 2003 Service Pack 1 (SP1) or later on development computers, SP1 is not required to run Visual Studio Tools for Office solutions on end user computers. However, the latest service pack is recommended.

    Note

    The primary interop assemblies for Office 2003 products are also available in a redistributable Windows Installer package. This package is available for download from the Microsoft Download Center.

  3. Install the Visual Studio 2005 Tools for Office Second Edition runtime. For more information, see How to: Install the Visual Studio Tools for Office Runtime.

  4. If any end users run your solutions using an English version of Visual Studio with non-English settings for Windows, install the Visual Studio Tools for Office Language Pack to see runtime messages in the same language as Windows. The Visual Studio Tools for Office Language Pack is available from the Microsoft Download Center. Non-English versions of Visual Studio automatically install the language pack.

  5. Grant full trust to the assemblies.

  6. If the document is deployed to a network location, you must grant full trust to the document as well. For more information, see Deploying Security Policy and How to: Grant Permissions to Folders and Assemblies (2003 System).

To prepare an end user computer to run an application-level add-in for Microsoft Office 2003

  1. Install the .NET Framework. For more information, see Where to Obtain the .NET Framework Redistributable Package.

  2. Install one of the following editions of Microsoft Office 2003:

    • Microsoft Office Professional Edition 2003

    • Microsoft Office Professional Enterprise Edition 2003

    • Microsoft Office Standard Edition 2003

    • Microsoft Office Excel 2003*

    • Microsoft Office Outlook 2003*

    • Microsoft Office PowerPoint 2003*

    • Microsoft Office Visio 2003*

    • Microsoft Office Word 2003*

    * This refers to the stand-alone version that is not part of a suite.

    Choose the Complete installation option to ensure that the primary interop assemblies and Visual Basic for Applications (VBA) are installed. These components are required.

    Note

    Although Visual Studio Tools for Office requires Office 2003 Service Pack 1 (SP1) or later on development computers, SP1 is not required to run Visual Studio Tools for Office solutions on end user computers. However, the latest service pack is recommended.

    Note

    The primary interop assemblies for Office 2003 products are also available in a redistributable Windows Installer package. This package is available for download from the Microsoft Download Center.

  3. Install the Visual Studio 2005 Tools for Office Second Edition runtime. For more information, see How to: Install the Visual Studio Tools for Office Runtime.

  4. If any end users run your solutions using an English version of Visual Studio with non-English settings for Windows, install the Visual Studio Tools for Office Language Pack to see runtime messages in the same language as Windows. The Visual Studio Tools for Office Language Pack is available from the Microsoft Download Center. Non-English versions of Visual Studio automatically install the language pack.

  5. Create the registry keys required to run the add-in on the client computer. For more information, see Registry Entries for Application-Level Add-Ins.

  6. Grant full trust to the assemblies.

See Also

Concepts

Deploying Office Solutions (2003 System)

Deploying Document-Level Customizations (2003 System)

Installing Visual Studio Tools for Office

Deployment Models (2003 System)

Secure Deployment (2003 System)