2015-10-01 41 views
0

是否有任何方法(硬)禁用MS Word加载项/ VSTO?我发现了很多用于疑难解答和重新启用加载项的信息,但没有说明如何强制禁用Word Add-In/VSTO。我需要为我的客户创建一个测试场景,如果有人有任何想法,这将是很好的。MS Word的AddIn/VSTO手动硬禁用

回答

1

我得到了一个解决方案...->https://ardamis.com/2010/02/26/fixing-word-2007-add-in-issues/

Forcing add-ins to be disabled by Word

To test, you may be able to cause add-ins to be disabled by forcibly ending the winword.exe process while Word is loading, or after it has invoked a function from the add-in. It might require crashing Word a few times, but eventually you’ll get an error:

Microsoft Office Word Word experienced a serious problem with the ‘[add-in name]’ add-in. If you have seen this message multiple times, you should disable this add-in and check to see if an update is available. Do you want to disable this add-in? [Yes] [No]

If you click Yes, the add-in will be hard-disabled and an entry will be created in

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Resiliency\DisabledItems