AutoUpdating Outlook Addin

  • Thread starter Thread starter technoloG
  • Start date Start date
T

technoloG

Hi,

I was wondering if anyone had any experience with updating Outlook
Addin's. I know of the regsvr32 to register the dll but I was
wondering if there's a way to replace the DLL while outlook is open or
some better way. Thanks
 
Outlook should always be closed when you update a running COM addin DLL.
 
Could I put in place code to start a process to close outlook and
update the DLL if any exists and then relaunch Outlook. I need to find
an easy way to distribute updates to an Addin across the network so
this is why I ask my original question.
 
Sure, if Outlook is running (use GetObject to check that) you can issue an
Application.Quit command, install and then instantiate a new Outlook
session.

Your users might have fits though if they are using Outlook at the time you
do that.

What I do usually is test for Outlook running, prompt the user to close it
and click OK and then check again for Outlook running. Much more user
friendly that way.
 
Back
Top