Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: How to update an add-in?

Geek News

How to update an add-in?
Dewey 9/19/2006 6:10:02 PM
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
Re: How to update an add-in?
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 9/19/2006 10:29:28 PM
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" <Dewey[ at ]discussions.microsoft.com> wrote in message
news:858CBCF5-4C6E-49B6-AF75-2B309CCBFB85[ at ]microsoft.com...
[Quoted Text]
> 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

Re: How to update an add-in?
Dewey 9/20/2006 10:08:02 PM
Thanks Ken! I'll give it a shot.

-Josh

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net