COM AddIn for Outlook Tries to Install Self on Startup

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-04-06T18:24:19Z Indexed on 2010/05/05 0:58 UTC
Read the original article Hit count: 363

Filed under:
|
|
|

Hi,

I have an outlook addin that I have been developing for some time now, and am experiencing a problem. If I have a computer with two 'administrator' users (call them User A and User B), the addin installs and runs just fine as long as the same user tries to run it. In other words, if User A installs the addin, then User A has no problem using.

The strange behavior comes in when we see the following scenario: User A installs the addin (for all users), User B launches outlook and observes that the addin is trying to install itself yet again. If User B cancels out of the 'install', he can then go and use the addin just fine.

Right now, I use office's registry key propagation to do an 'all users' install, and I inspected the registry for any duplications and found none. I even used the officeins tool to try and detect if there was any duplication going on, and found none.

I'm really bewildered as to why the addin would try to install itself over and over again. Does anyone know why this might be happening?

© Stack Overflow or respective owner

Related posts about Office

Related posts about com