某些用户禁用了VSTO Outlook插件,尽管尝试手动启用它但仍无法启用。 [英] VSTO Outlook addin disabled for some users and will not enable despite trying to manually enable it.

查看:193
本文介绍了某些用户禁用了VSTO Outlook插件,尽管尝试手动启用它但仍无法启用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景:


我们使用VSTO开发了一个outlook加载项,并使用Visual Studio附带的Install shield项目创建了安装包。


问题:


虽然它适用于大多数用户,但某些用户会被禁用,尽管尝试手动启用它但仍无法启用。我们检查了事件查看器日志,发现由于加载时间超过1000毫秒而被禁用。


我们的加载项是为当前用户安装的。


我们尝试了以下选项来启用插件,但仍然无法为某些用户启用:


  1. 在Outlook中,转到文件/选项/加载项 - 在"管理"下拉列表下,选择COM加载项并选中我们的加载项的复选框
  2. 在Outlook中,转到文件/选项/加载项 - 在"管理"下拉列表下,选择已禁用的项目并选择我们的加载项和单击已启用。
  3. 在Outlook中,转到文件/管理加载项,我们使加载项始终处于启用状态。
  4. 然后在注册表编辑中卸载加载项,或者同时在HKEY_CURRENT_USER \Software \ Microsoft \ Office \16.0 \ Outlook \Addins或HKEY_CURRENT_USER \中索夫tware \ Microsros\Office\Outlook\Addins,我们删除该文件夹。同时在HKEY_CURRENT_USER \Software \ Mysoftoft \Office\16.0 \ Outlook \AddInLoadTimes或HKEY_CURRENT_USER \Software \ Mysoftoft \Office \Outlook \\中删除了我们的加载项
    条目\\ addInLoadTimes

尽管执行了上述步骤,但加载项仍然无法为某些用户启用。


您能告诉我们如何解决这个问题吗?


此外,从开发人员的角度来看,在我们的加载项中防止出现类似问题的永久解决方案是什么?

解决方案

您好JAVR,


请创建一个名为VSTO_SUPPRESSDISPLAYALERTS的系统环境变量。


将其值设置为0,然后重新启动外表。另外,我找到了两个链接供您参考,


我希望它对您有所帮助。


Outlook Addin在安装后不会显示


VSTO Outlook加载项疑难解答


最诚挚的问候,


布鲁斯


Background:

We have developed an outlook add-in using VSTO and created the install package using Install shield projects comes with Visual Studio.

The Issue:

While it is working fine for most users, it gets disabled for some users and will not enable despite trying to manually enable it. We checked the Event Viewer Log and found that it gets disabled due to the loading time more than 1000ms.

Our add-in is installed for the current users.

We have tried the following options to enable the plugin, but it still does not enable for some users:

  1. In Outlook, going to File/Options/Add-ins – under "Manage" drop down list, select the COM add-in and checked the checkbox of our add-in
  2. In Outlook, going to File/Options/Add-ins – under "Manage" drop down list, select the disabled items and selected our add-in and clicked enabled.
  3. In Outlook, going to File/Manage Add-in, we made our add-in to be always enabled.
  4. Uninstalled the add-in then in the registry edit, either/both in HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Addins or HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins, we delete the folder. Also deleted the our add-in entry either/both in HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AddInLoadTimes or HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\AddInLoadTimes

Despite the above steps, the add-in still does not enable for some users.

Can you please advise us on how we can fix this problem?

Also, what would be a permanent solution from a developer perspective to prevent issues like this on our add-ins?

解决方案

Hi JAVR,

Please create a system environment variable called VSTO_SUPPRESSDISPLAYALERTS.

Set its value to 0, and restart Outlook. In addition, I have found two links for your reference,

I hope it will be helpful to you.

Outlook Addin does not show up after installation

Troubleshooting VSTO Outlook Add-ins

Best Regards,

Bruce


这篇关于某些用户禁用了VSTO Outlook插件,尽管尝试手动启用它但仍无法启用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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