Outlook 2007 加载项部署过程
我已经在 VS2010 中成功创建了 Outlook 2007 的 VSTO 加载项,耶!现在是部署部分,这似乎更加神秘。
我需要在我公司的服务器上部署此加载项,该服务器运行 Windows Server Standard SP2。它装有 MS Office 2007,并且客户端与不同的 Exchange 服务器通信。该公司拥有瘦客户端,所有远程桌面服务器都可以访问其 Outlook。
这样做的程序是什么? Google 提供了许多有关部署 Office 加载项的文章,所有这些文章都有点超出我的理解范围。我的印象是,有很多不同的方法来安装加载项,具体取决于您拥有的 Office 版本、您拥有的 VS 版本、您要安装的操作系统、如果您想为单个用户安装还是为所有用户安装服务器以及各种其他情况。我无法清楚地了解该怎么做。事实上,我在具有服务器/瘦客户端安排的系统上进行安装可能会使事情变得复杂。
不管怎样,我可以在接下来的几天里研究注册表项如何工作以及它们如何影响加载项,学习如何制作 .MSI 包,证书到底如何工作,以及我是否需要发布证书或是否可以部署到程序文件中目录,或者 .NET 4.0 框架中的该选项甚至适用于 VSTO 外接程序等。
有很多变量,我将不胜感激与我的确切场景相关的建议。或者,除此之外,我到底需要学习哪些科目才能知道要做什么,以及它们的链接。
编辑:我需要首先部署到服务器上的 1 个用户进行测试,然后最终部署到所有或大多数用户,因此对单一和广泛部署的帮助将不胜感激。
I've successfully created a VSTO Add-In for Outlook 2007 in VS2010, yay! Now comes the deployment part, which seems to be even more arcane.
I need to deploy this Add-In on my company's server, which is running Windows Server Standard, SP2. It has MS Office 2007 on it, and the clients talk to a different Exchange server. The company has thin clients that all Remote-Desktop the Server to access their Outlook.
What would be the procedure for this? There's various articles that Google pulls up on deploying Office Add-Ins, all of which are a tad over my head. My impression is that there are many different ways to install Add-Ins, based on what Office version you have, what VS version you have, what OS you are installing it on, if you want to install for a single user or all users on the server, and various other circumstances. I can't get a clear picture of what to do. The fact that I'm installing on a system with a server/thin-client arrangement possibly complicates things.
Anyway, I can spend the next few days researching how registry keys work and how they affect Add-Ins, learning how to make .MSI packages, exactly how certificates work and if I need one to publish or if I can deploy into the Program Files directory, or if that option in the .NET 4.0 framework even applies to a VSTO Add-In, etc., etc., etc.
There's just a lot of variables and I would appreciate advice that pertains to my exact scenario. Or, barring that, exactly what subjects I need to study up on to know what to do, and links to them.
Edit: I need to deploy to 1 user on the server first, for testing, and then eventually all or most of the users, so help for singular and broad deployment would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我第一次尝试部署加载项时,以下文章对我帮助很大。不幸的是,我的场景不包括服务器/瘦客户端,我仅将 MSI 用于每用户安装,因此我无法确定从侧面出现的复杂情况。
这是文章:
http://msdn.microsoft.com/en-us/vsto/ff937654.aspx
在那里您应该找到注册表位置、文件、清单等所需的所有信息...
The following articles helped me a lot when I first tried to deploy an add-in. Unfortunately my scenario did not included server/thin-clients, I used the MSI only for per-user installations, so I cannot say for sure what will be the complicates to rise from the side.
Here is the article:
http://msdn.microsoft.com/en-us/vsto/ff937654.aspx
There you should find all the info required for registry location, files, manifests, etc...