我的Office Addin没有加载! [英] My Office Addin does not Load!

查看:345
本文介绍了我的Office Addin没有加载!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我开发了一个Outlook 添加。我使用InstallShield Limited Edition来创建其部署包。在某些机器安装时,Addin没有加载。而在其他一些机器上它工作了一段时间,一天
突然停止了。但是当我部署一个不是使用InstallShield开发的安装文件时,它正常运行。

I have developed an Outlook  Add in. I used InstallShield Limited Edition to create its deployment package. In some machines when it was installed the Addin was not getting loaded. And in some other machines the it worked for some period and one day suddenly stopped. But when I deploy a setup file which is not developed using InstallShield is working perfectly.

通过以下链接https://blogs.msdn.microsoft.com/haahmadi/2010/05/ 26 / my-office-addin-does-not-load /。我尝试了其中提到的所有内容。它没有帮助我。但它帮助我知道注册表中的值不存在。

By following this link https://blogs.msdn.microsoft.com/haahmadi/2010/05/26/my-office-addin-does-not-load/ . I tried all the things mentioned in it. It didnt help me. But it helped me to know that the values in Registry was not present.

任何人都可以帮助我。

谢谢&此致,

Rahul。

推荐答案

Hello Rahul,

Hello Rahul,

首先,确保您已将所有必需的先决条件包含在安装程序中。然后查看windows注册表项,请参阅

应用程序级加载项的注册表项
以获取更多信息。

First of all, make sure that you included all the required prerequisites to the installer. Then check out the windows registry keys, see Registry Entries for Application-Level Add-Ins for more information.

Microsoft Office应用程序可以禁用意外行为的VSTO加载项。如果应用程序未加载VSTO加载项,则应用程序可能已禁用硬件或软件禁用VSTO加载项。

硬件当VSTO加载项导致应用程序意外关闭时,可能会发生禁用。如果在  启动   事件VSTO加载项中的
处理程序是执行。

Hard disabling can occur when an VSTO Add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the Startup event handler in your VSTO Add-in is executing.

当VSTO加载项产生的错误不会导致应用程序意外关闭时,可能会发生软禁用。例如,如果应用程序在  Startup   事件
handler是执行。

当您重新启用软禁用的VSTO加载项时,应用程序会立即尝试加载VSTO加载项。如果最初导致应用程序软件禁用VSTO加载项的问题尚未修复,则应用程序将软化
再次禁用VSTO加载项。有关详细信息,请参阅
如何:重新启用VSTO添加 - 已被禁用
文章。

When you re-enable a soft-disabled VSTO Add-in, the application immediately attempts to load the VSTO Add-in. If the problem that initially caused the application to soft disable the VSTO Add-in has not been fixed, the application will soft disable the VSTO Add-in again. Read more about that in the How to: Re-enable a VSTO Add-in That Has Been Disabled article.

另一个方面是加载项性能。 Outlook 2013监视加载项性能指标,例如加载项启动,关闭,文件夹切换,项目打开和调用频率。 Outlook记录每个性能
监控指标的经过时间(以毫秒为单位)。

Another aspect is add-in performance. Outlook 2013 monitors add-in performance metrics such as add-in startup, shutdown, folder switch, item open, and invoke frequency. Outlook records the elapsed time in milliseconds for each performance monitoring metric.

例如,启动指标衡量Outlook期间每个连接的加载项所需的时间启动。然后,Outlook计算连续5次迭代的中位启动时间。如果中位启动时间超过1000毫秒(1秒),
则Outlook会禁用该加载项,并向用户显示已禁用加载项的通知。用户可以选择始终启用加载项,即使加载项超过1000毫秒
的性能阈值,Outlook也不会禁用加载项。    T 他HKCU \Software \POLicies\Microsoft \Office\15.0 \Outlook \Resiliency \AddinList hive允许指定哪些加载项始终启用,始终禁用(阻止),或由用户配置。
请参阅
Outlook新增功能开发人员
了解更多信息。

For example, the startup metric measures the time required by each connected add-in during Outlook startup. Outlook then computes the median startup time over 5 successive iterations. If the median startup time exceeds 1000 milliseconds (1 second), then Outlook disables the add-in and displays a notification to the user that an add-in has been disabled. The user has the option of always enabling the add-in, in which case Outlook will not disable the add-in even if the add-in exceeds the 1000 millisecond performance threshold.  The HKCU\Software\Policies\Microsoft\Office\15.0\Outlook\Resiliency\AddinList hive allows to specify which add-ins are always enabled, always disabled (blocked), or configurable by the user. See New in Outlook for developers for more information.


这篇关于我的Office Addin没有加载!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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