Installing Office 2007/VSTO 3.0 Solutions on Computers with Office 2010 (Mary Lee)

You have probably been reading and hearing about Microsoft Office 2010 for some months. Now, you may be wondering how much work is necessary to install your existing Office 2007/VSTO 3.0 solutions on customer computers that have Office 2010. Perhaps you’re thinking about migrating the Windows Installer Setup projects or ClickOnce deploymen projects? The answer… Read more

Deploying Microsoft Office Solutions by Using Visual Studio 2010 and Windows Installer (Mary Lee, Saurabh Bhatia)

In Visual Studio 2010, you can use the ClickOnce and Windows Installer deployment technologies to deploy Office solutions that target both Microsoft Office 2007 and Microsoft Office 2010. The main advantage of using Windows Installer to deploy your Office solutions is to install application-level add-ins to AllUsers, rather than the current user only. There are… Read more

When Do I Need to Deploy the VSTO Runtime? (Mary Lee)

Aaron wrote a great article about the VSTO runtime components earlier, which explained the Office extensions for .NET Framework 3.5 and Office extensions for .NET Framework 4. He also explained that starting in Microsoft Office 2010, the Visual Studio 2010 Tools for Office runtime is included and does not need to be deployed alongside your… Read more

Deploying the *.Utilities assemblies by using Windows Installer (Mary Lee)

Office solutions for .NET Framework 4 have dependencies on files that are distributed in the Visual Studio 2010 Tools for Office runtime, but there are also files outside of the runtime that are required for Office solutions to run on end-user computers. These files are the following: Microsoft.Office.Tools.Common.v4.0.Utilities.dll Microsoft.Office.Tools.Excel.v4.0.Utilities.dll Microsoft.Office.Tools.Outlook.v4.0.Utilities.dll Microsoft.Office.Tools.Word.v4.0.Utilities.dll For some information about… Read more

Changes in the Security Model for Office Solutions (Mary Lee)

You can use two methods to trust an Office solution created in Visual Studio and not show a trust prompt to the end-user. Sign your Office solution with certificate that chains to a trusted root authority and is in the Trusted Publisher list. Sign your Office solution with a certificate and trust that certificate by… Read more

Deploying your VSTO add-ins to All Users (Saurabh Bhatia)

An often-requested feature for VSTO add-ins is the ability to install an add-in for all users of a machine. Misha Shneerson had blogged about a workaround to enable this scenario here. This workaround is not recommended. Now, deploying an add-in to All Users is supported for both Microsoft Office 2007 (through a hotfix) and Microsoft… Read more

Can I deploy my <Insert App Name Here> and all of its prerequisites in one file? (Mary Lee)

One frequent customer question is about how to deploy an application and all of its prerequisites in a single .msi or .exe file. This question applies whether you are deploying any of the following: Microsoft Office 2003 solutions with dependencies on .NET Framework 2.0, Visual Studio Tools for Office 2005 SE runtime, Microsoft Office 2007… Read more

Deploying Office Solutions with Visual Studio 2008 SP1 and Windows Installer (Mary Lee)

In Deploying Office Solutions with a Setup Project (Mary Lee), you read about how to deploy Visual Studio Tools for Office solutions with Windows Installer (.msi) in Visual Studio 2008.  With Visual Studio 2008 Service Pack 1, the steps are the same: add the project output to the Setup project, add registry keys, sign the… Read more

Deploying Office 2003 Solutions with Windows Installer (Mary Lee)

You may want to develop Microsoft Office 2003 solutions with Visual Studio Tools for Office (VSTO) in Visual Studio 2008 SP1 for several reasons. Your customers are using Microsoft Office 2003. Your customers are using both Microsoft Office 2003 and the 2007 Microsoft Office system. Your customers are using .NET Framework 2.0 and cannot migrate… Read more

How Do I: Deploy Application-Level Office 2007 Solutions with Windows Installer? (Mary Lee)

In Deploying an Office solution using Windows Installer, you read how to deploy application-level Office 2007 solutions with Windows Installer.  As a follow up, you can now see how to add a Setup project to your VSTO solution and create registry keys. This example uses Excel 2007, but you can apply these principles to any… Read more