如何设置VSTO Outlook加载项的权限?

时间:2022-06-08 07:24:07

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

我正在尝试将Outlook加载项分发给公司的其他人。

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.

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

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.

我使用该项目并创建了一个加载项。它在开发中的PC上工作得很好。现在,我想分发它。事情变得混乱了。他们提供的漂亮的小安装程序实际上并不工作。

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.

没问题。你只需要设置那些设置......对吗?但是我无处可找到这些设置的简单列表。

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..."

从网上几乎所有可能的链接开始,我已经去过http://msdn.microsoft.com/en-us/library/bb332051.aspx一千次了。我已经阅读了可以在VSTO插件上找到的每篇Microsoft论文。不幸的是,一切似乎都引用了一些神奇的脚本......“只需包含示例代码......”

[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.

那里。感觉好一点了。

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

自从我安装VS2008以来,我没有目录:C:\ Program Files \ Microsoft Visual Studio 2005工具用于Office SE资源\示例

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.

没问题,对吧?只是来自微软的DL。我已经下载了每个可以获取的“vstor.exe”。它们都提供“修复或卸载”我当前的安装,但无论我选择什么,vstor.exe都会崩溃。

HELP!!!

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

我只是想知道我需要做什么(手动步骤,如果有必要!!!!!)来分发我的friggin应用程序。

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

没有魔法“包括这个小发明”。没有五万页的dia骂。

Anyone know how this is ACTUALLY done?!

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

1 个解决方案

#1


I got it to work.

我得到了它的工作。

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!!!!

我使用的链接是通过匿名使用在另一个板上给我的。无论你是谁,谢谢!

Here is the link I was given:

这是我给出的链接:

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

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

这让我真正掌握了那个神秘的“样本”代码,即使我使用的是VS2008 Professional。

#1


I got it to work.

我得到了它的工作。

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!!!!

我使用的链接是通过匿名使用在另一个板上给我的。无论你是谁,谢谢!

Here is the link I was given:

这是我给出的链接:

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

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

这让我真正掌握了那个神秘的“样本”代码,即使我使用的是VS2008 Professional。