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 detailed steps for creating a Windows Installer (.msi) file for Office 2007 and Office 2010 solutions at and code samples at

For information about the registry keys for deploying to AllUsers, see

For developers using Windows Installer XML, there is some useful information at The steps are similar for Office solutions in Visual Studio 2010.

If you have any questions about the steps, search for answers or post questions in the Visual Studio Tools for Office forum at


Mary Lee, Programming Writer.

Saurabh Bhatia, Program Manager.