none
Does Outlook Unload Misbehaving Addins? RRS feed

  • Question

  • QUESTION
    Does Outlook create the key HKCU\SOFTWARE\Microsoft\Office\Outlook\Addins\<addin name> and set the LoadBehavior to 0 if that Add-in misbehaves in some fashion (e.g. throws an unhandled exception)?

    Our installer creates the Addin under HKLM, not HKCU.  



    ====================== MORE DETAILS IF NEEDED ============================
    OUR CONFIGURATION

    We are running 32-Bit Office on 64-Bit Windows

    We use the Per-machine installation option.  Therefore the Add-In is located under
    HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\Outlook\Addins\<Addin-Name>

    The LoadBehavior is set to 3.

    PROBLEM DETAIL:
    On occasion we encounter a situation where the Add-In is unloaded.  The Add-In is listed as "Inactive" and it is unchecked in the "COM Add-Ins" dialog.  It shows the LoadBehavior state as being "Unloaded".

    When we place a check in the box, the Add-In loads just fine, but no matter how many times we do this the Add-in will no longer load when we start outlook.

    OBSERVATION:
    The registry setting under HKLM still has the load behavior set to 3.  However, the LoadBehavior setting under HKCU\SOFTWARE\Microsoft\Office\Outlook\Addins\<addin Name> is 0.  Once I reset it back o 3 everything was fine.




    Germán Hayles

    Monday, October 1, 2018 4:10 PM

Answers

  • The Outlook client will unload and disable an add-in due to errors (e.g., unhandled exceptions) as well as failure to meet performance criteria. 

    Re-setting the registry key is not the answer since the underlying problem has not been addressed.  Instead, you should debug the add-in to correct the core problem.


    I suggest you do a search in this forum with respect to disabled add-ins.  There will be no shortage of posts about the topic.
    • Edited by RLWA32 Monday, October 1, 2018 4:44 PM
    • Marked as answer by GermanEZI Monday, October 1, 2018 4:48 PM
    Monday, October 1, 2018 4:41 PM

All replies

  • The Outlook client will unload and disable an add-in due to errors (e.g., unhandled exceptions) as well as failure to meet performance criteria. 

    Re-setting the registry key is not the answer since the underlying problem has not been addressed.  Instead, you should debug the add-in to correct the core problem.


    I suggest you do a search in this forum with respect to disabled add-ins.  There will be no shortage of posts about the topic.
    • Edited by RLWA32 Monday, October 1, 2018 4:44 PM
    • Marked as answer by GermanEZI Monday, October 1, 2018 4:48 PM
    Monday, October 1, 2018 4:41 PM
  • Thanks for the confirmation.

    Germán Hayles

    Monday, October 1, 2018 4:48 PM