Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   How to update an add-in? (http://www.outlookbanter.com/add-ins-outlook/27516-how-update-add.html)

Dewey September 19th 06 08:10 PM

How to update an add-in?
 
Hi
Suppose I make an add-in for company-wide distribution, then I want to
update it later. Is there a way to have an add-in check an intranet server
for an update and automatically install itself?
If not, where is the dll stored on a user's machine so I could manually
replace it? Would it be possible for the add-in itself to do that while
running, or would it need to be stopped and replaced by a different utility?

Thanks for any help
-Josh

Ken Slovak - [MVP - Outlook] September 20th 06 12:29 AM

How to update an add-in?
 
The addin is a DLL and is installed either where the user selects or where
you force it to be installed, depending on your installer. If you know the
DLL name and ProgID you can always find it's location in the registry.

The DLL can only be updated when Outlook isn't running and must be
registered if any CLSID's or interfaces have changed so Outlook recognizes
it.

I check an XML file on a Web site to get the latest version and then I use
Win32 API calls to download the newer installer if there is one. I then tell
the user to close Outlook and run the installer, the installer checks to
make sure Outlook isn't running.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Dewey" wrote in message
...
Hi
Suppose I make an add-in for company-wide distribution, then I want to
update it later. Is there a way to have an add-in check an intranet
server
for an update and automatically install itself?
If not, where is the dll stored on a user's machine so I could manually
replace it? Would it be possible for the add-in itself to do that while
running, or would it need to be stopped and replaced by a different
utility?

Thanks for any help
-Josh



Dewey September 21st 06 12:08 AM

How to update an add-in?
 
Thanks Ken! I'll give it a shot.

-Josh


All times are GMT +1. The time now is 07:09 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com