Deploying Prerequisites for Your Visual Studio Tools for Office Solution (Mary Lee)
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.
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
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using
This login represents the Visual Studio Tools for Office team. Many members of the team us this account for publishing technical blog posts.