Deploying Prerequisites for Your Visual Studio Tools for Office Solution (Mary Lee)

  • Comments 3

When you deploy your VSTO solution, you must package the following prerequisites for your end users: .NET Framework, the VSTO runtime, and the Microsoft Office primary interop assemblies (PIAs).

Visual Studio Tools for Office in Visual Studio 2008 offers a ClickOnce experience only for the 2007 Microsoft Office system, and the publish step creates a setup.exe that includes most prerequisites: Windows Installer 3.1, .NET Framework 3.5, and the Visual Studio Tools for Office 3.0 runtime. However you need to install the PIAs separately, because the end user must accept the Microsoft Software License Terms individually.

For developers targeting Microsoft Office 2003, you must still use a setup project to distribute your solution, include prerequisites (.NET Framework 2.0 or later , Visual Studio Tools for Office 2.0 runtime, and PIAs), and set security policies to grant full trust. These steps are explained in the MSI deployment whitepapers at Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer (Part 1 of 2) and Deploying Visual Studio 2005 Tools for Office Second Edition Solutions Using Windows Installer: Walkthroughs (Part 2 of 2).

The following table lists the prerequisites (with download links) to run Office solutions created with Visual Studio Tools for Office in Visual Studio 2008.

Office Platform

Primary Interop Assemblies

.NET Framework (minimum)

Visual Studio Tools for Office runtime version

2007 Microsoft Office system.

For a full list of supported versions and complete installation instructions, see How to: Install Visual Studio Tools for Office to Develop for the 2007 Microsoft Office System.

2007 Microsoft Office System Update: Redistributable Primary Interop Assemblies

Microsoft .NET Framework 3.5

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

Microsoft Office Professional Edition 2003 and Office 2003 Service Pack 1 (or later).

For a full list of supported versions and complete installation instructions, see How to: Install Visual Studio Tools for Office to Develop for Microsoft Office 2003.

Office 2003 Update: Redistributable Primary Interop Assemblies

Microsoft .NET Framework Version 2.0 Redistributable Package (x86)

Microsoft Visual Studio 2005 Tools for Office Second Edition Runtime (build 8.0.50272.940) (x86)

 

 

To develop for Microsoft Office SharePoint Server 2007, see How to: Install Visual Studio Tools for Office to Develop for SharePoint Workflow Project Templates.

 

Helpful links:

 

Mary Lee, Programming Writer

Leave a Comment
  • Please add 1 and 2 and type the answer here:
  • Post
Page 1 of 1 (3 items)

Deploying Prerequisites for Your Visual Studio Tools for Office Solution (Mary Lee)