outlook addin goes straight to inactive application addins

outlook, windows-installer

Solution

Check the LoadBehavior key value for your plugin.

HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\%your add in%\LoadBehavior

If you see the registry hive for you add-in - it's most likely to be installed correctly. The LoadBehavior value should be 3 before you start Outlook. If it's not, set it to 3. If it goes to 2 when you start Outlook - it is definitely trying to run it, so it's good news in a way.

You will need to do some diagnostics there - try instantiating your add-in from vbs

set c = CreateObject("EnthusiasticDeveloper.OutlookAddIn")

This should give you no errors. If it doesn't and the object is instantiated - you need to put diagnostics in your add-in. It is being called by Outlook and your most likely to get enough control to instantiate log4net.

HTH

Problem

My Outlook addin MSI installs the addin (It is listed in Add\Remove programs) but sends it straight to inactive application addins. How can I fix this?

Original source