I've deployed all dependencies on my client machine, including stdole.dll but
the add-in doesn't load.
When I open Outlook on my client machine, the Add-in doesn't execute the
OnConnection method and changes the LoadBehavior from 3 to 2 on the registry.
Every time I change the LoadBehavior to 3 and then execute Outlook, it
changes the property to 2.
I'm not using VSTO, instead, I've written the Add-in from scratch,
implementing Extensibility.IDTExtensibility2 and writing all registry keys
needed for the add-in to work.
Today i've been developing a simple/dummy outlook addin on the client
machine, the add-in shows a popup box when outlook starts, and it works! but
it works only on the developing machine. If I put this simple/dummy addin on
my original machine, it doesn't load nor run.
No matter the complexity of the add-in, for me, an outlook add-in only runs
on the development machine.
"Ken Slovak - [MVP - Outlook]" wrote:
Did you make sure to deploy any other dependencies you might be using? The
most common missing one on a machine that doesn't have VS installed is
stdole.dll.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"bernat" wrote in message
...
Oh, I installed the following in the client machine and development
machine.
* Windows XP
* Microsoft Office 2003
* MS PIA
* lockbackRegKey.msi
* extensibilityMSM.msi
And yes, I've written all the registry entries needed for the Add-in to
work
and on the development machine I'm installing the Add-in using NSIS
installing software, i mean that i'm not running it through the debugger.