2015-10-01 43 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