How to install / deploy VSTO Excel 2010 Addin developed in C # .net?

I developed excel addin using VSTO in C # .net. Now I want to deploy this addin on other machines. So the users who installed it can see my add-on in the menu excel -> Addins-> MyAddin

Alternatively, I can give them only Excel with myaddin.So, so that anyone who has this Excel can access addin and use it. Thus, they do not see myaddin in each menu of additional excel files.

+4
source share
2 answers

You can use the Visual Studio 2010 installation project to create a Windows Installer package. See MSDN Link

Quote from this link

Summary. Learn how to deploy Microsoft Visual Studio Tools for Deploying an Office 2010 system or document-level solution using the Visual Studio 2010 installation project to create a Windows Installer package that is designed for Microsoft Office 2007 or Microsoft Office 2010.

Wouter van Vugt, Code Advocate

Ted Pattison, Ted Pattison Group

This article has been updated by Microsoft with permission from the original authors.

Applies to: Visual Studio 2010 Tools for Office, 2007 Microsoft Office systems, Microsoft Office 2010, Visual Studio 2010.

Download: http://code.msdn.microsoft.com/VSTO2010MSI

Content

Overview Deployment Methods Deploying Office solutions that target the Visual Studio 2010 Tools for Office runtime Download Samples Provided with this Article Creating a Basic Installer Conclusion Additional Resources About the Authors 

EDIT

You can also see this link for all users.

+3
source

Conceptually, all you need to focus on is to get the created COM object itself, which should work even when the application (MS Excel is here) is not open in Explorer.

You can find out more at the following link:

http://www.codeproject.com/Articles/7859/Building-COM-Objects-in-C

(PS: link for C # not c).

Next, you must provide your users with an .exe file, including code for creating the COM object.

0
source

All Articles