How to "install" an ECF file?

M

Mark Beiley

I'm writing an exchange extension add-in for Outlook. I see the
documentation on how to write an ECF file. I will build an installatoin
program to install my add-in on customer's computers. How do inform Outlook
about my ECF file, and tell it to read it in? Do I just copy this ECF file
into the Outlook add-in directory? Any tips/advice on this would be
appreciated.

Thanks,
Mark
 
D

Dmitry Streblechenko \(MVP\)

Yes, copy the ECF file to the Addins folder (beware that the name is locale
dependent) and create the refresh registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\Extensions\Outlook
Setup Extension
with the value
4.0;Outxxx.dll;7;000000000000000;0000000000;OutXXX

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
M

Mark Beiley

Thanks Dmitry. What is the recommended way to find this Addins folder? The
user could have installed Outlook anywhere...

Thanks,
Mark
 
M

Michael Tissington

This reg key should help

"Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\OUTLOOK.EXE"
 
D

Dmitry Streblechenko \(MVP\)

Note that the App Paths key may be missing (I have seen this if Outlook is
installed from a network drive). Could be easier to locate the inproc server
for the "Outlook.Application" COM class name.
Locale dependant folder names other than Addins: Complts, Suplemen. If
anybody knowns other names, I'd be curious to learn what they are.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top