如何在VSTO Outlook加载项上设置权限? [英] How do I set permissions on my VSTO outlook add-in?

查看:187
本文介绍了如何在VSTO Outlook加载项上设置权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Outlook加载项分发给公司的其余部分.

I am trying to distribute my Outlook Add-In to the rest of the company.

我正在使用Visual Studio 2008 Professional和Outlook2003.在VS中,我使用了一个已安装的Outlook 2003模板.它创建了一个项目和一个安装程序的解决方案.

I'm using Visual Studio 2008 Professional and Outlook 2003. In VS I used an installed template for Outlook 2003. It created a solution with BOTH a project and an installer.

我使用该项目并创建了一个加载项. 它在我正在开发的PC上可以很好地运行.现在,我要分发它.这是麻烦的地方.他们提供的漂亮的小型安装程序无法正常工作.

I use the project and created an Add-In. It works GREAT on my PC in development. Now, I want to distribute it. Here's where things go haywire. The nice little installer they provide DOESN'T ACTUALLY WORK.

安装程序将运行并将文件放置在要放置的位置,但是外接程序不会运行.相反,它会收到有关没有权限的错误.安装程序不会自动为您设置安全设置.

The installer runs and places the files where they are to go, but the add-in doesn't run. Instead it gets errors about not having permissions. The installer didn't automatically set the security settings for you.

没问题.您只需要设置这些设置...对吗?但是我在哪里找不到这些设置的简单列表.

No problem. You just have to set those settings... right? But no where can I find a simple list of those settings.

我去过 http://msdn.microsoft.com/zh-cn/library/bb332051.aspx 来自网络上几乎所有可能的链接的一千次.我已经阅读了所有可以在VSTO加载项上找到的Microsoft论文.不幸的是,所有内容似乎都引用了一些魔术脚本……只需包含示例代码……"

I've been to http://msdn.microsoft.com/en-us/library/bb332051.aspx a thousand times from almost every possible link on the web. I've read every Microsoft paper that I can find on VSTO add-Ins. Unfortunately everything seems to reference some magic script... "Just include the sample code..."

[rant]如果需要部分代码或完整的解决方案来分发您的代码,请作为示例!它是必需的! [/rant]

[rant] IF A SECTION OF CODE OR AN ENTIRE SOLUTION IS REQUIRED TO DISTRIBUTE YOUR CODE IT IS NOT SAMPLE!! IT IS REQUIRED !!! [/rant]

在那里.我感觉好多了.

There. I feel better.

由于我安装了VS2008,所以没有目录: C:\ Program Files \ Office SE资源的Microsoft Visual Studio 2005工具\示例

Since I installed VS2008, I don't have the directory: C:\Program Files\Microsoft Visual Studio 2005 Tools for Office SE Resources\Samples

没问题,对吧?只是从微软的DL.我已经下载了所有可以使用的"vstor.exe".它们都提供修复或卸载"我当前的安装,但是无论我选择什么,vstor.exe都会崩溃.

No problem, right? Just DL it from microsoft. I've downloaded every "vstor.exe" that I can get my hands on. They all offer to "repair or uninstall" my current installation, but no matter what I choose, the vstor.exe crashes.

帮助!!!

我只想知道要分发我的friggin应用程序需要执行的操作(如有必要,手动步骤!!!!!).

I just want to know what I need to do (the manual steps, if necessary!!!!!) to get my friggin app distributed.

没有魔术包括这个Gizmo".没有五万页垃圾.

No magic "include this gizmo". No fifty-thousand page diatribes.

任何人都知道这是如何完成的吗?!

Anyone know how this is ACTUALLY done?!

推荐答案

我可以使用它.

我能够从Microsoft获得示例代码"更新,使我能够按照演练进行操作.

I was able to get a "sample code" update from Microsoft that allowed me to follow the walk-through.

我仍然认为使用示例代码轻松分发您的应用程序是非常荒谬的.但是目前它正在工作.

I still think that's utterly ridiculous to HAVE to use sample code to easily distribute your app. However it is working at the moment.

我使用的链接是在另一个板上匿名使用的.无论您是谁,谢谢您!!!!

The link I used was given to me by anonymous use on a different board. Whoever you are THANK YOU!!!!

这是给我的链接:

> http:///www.microsoft.com/downloads/details.aspx?familyid=6991E869-8D5B-45F4-91E7-B527BD236F4C&displaylang=zh-CN

即使我使用VS2008 Professional,这也使我能够真正接触到那个神秘的示例"代码.

This allowed me to actually get my hands on that mysterious "sample" code even though I use VS2008 Professional.

这篇关于如何在VSTO Outlook加载项上设置权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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