如何安装/部署VSTO Excel 2010在C#.NET中开发的Addin? [英] How to install/deploy VSTO Excel 2010 Addin developed in C#.net?

查看:408
本文介绍了如何安装/部署VSTO Excel 2010在C#.NET中开发的Addin?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C#.net中开发了一个使用VSTO的excel插件。现在我想在其他机器上部署这个插件。所以安装这个插件的用户可以在excel菜单中看到我的插件 - > Addins-> MyAddin



或者,我可以给他们只有Excel与myaddin.So,谁拥有这个Excel可以访问加载项并使用它。这样他们看不到myaddin在每个excel文件加载项菜单。

解决方案

您可以使用Visual Studio 2010安装程序创建Windows Installer程序包。请参阅此 MSDN 链接



从该链接引用


总结:了解如何为
部署Microsoft Visual Studio工具Office系统2010使用Visual
Studio 2010安装程序创建一个Windows安装程序包,
定位到2007 Microsoft Office系统或Microsoft Office 2010。



Wouter van Vugt,代码法律顾问



Ted Pattison,Ted Pattison集团



由Microsoft获得
原创作者的许可,由Microsoft更新。



适用于:适用于Office,2007的Visual Studio 2010工具Microsoft Office
系统,Microsoft Office 2010,Visual Studio 2010。



下载: http ://code.msdn.microsoft.com/VSTO2010MSI



目录

 概述
部署方法
部署目标为Visual的Office解决方案Studio 2010 Office运行工具
下载此文章提供的样本
创建基本安装程序
结论
其他资源
关于作者


编辑



你也可以看到这个链接


I have developed an excel addin using VSTO in C#.net .Now i want to deploy this addin in other machines too .So that users who installed this can see my addin in excel menu -> Addins-> MyAddin

Alternatively can i give them just Excel with myaddin.So that whoever has this Excel can access addin and use it.This way they don't see myaddin in every excel file addins menu.

解决方案

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

Quote from that Link

Summary: Learn how to deploy a Microsoft Visual Studio Tools for the Office system 2010 add-in or document- level solution using a Visual Studio 2010 setup project to create a Windows Installer package that targets the 2007 Microsoft Office system or Microsoft Office 2010.

Wouter van Vugt, Code Counsel

Ted Pattison, Ted Pattison Group

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

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

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

Contents

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 may also see this link for All Users.

这篇关于如何安装/部署VSTO Excel 2010在C#.NET中开发的Addin?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆