View Single Post
  #5  
Old February 15th 08, 03:00 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Load add-in on Outlook 2003 startup

Normally a COM addin gets installed somewhere under Program Files, although
that's not a requirement. Usually that AddIns folder is used for Exchange
addins (ECE files written using Extended MAPI code).

Outlook will recognize any COM addin, no matter where it's installed, if
it's registered correctly. You should not have to browse for the addin, it
should show up in the COM AddIns dialog if it was registered in the HKCU
hive of the registry and the addin dll was registered also. If you used a
VB6 Designer then registering the addin dll will take care of writing the
keys to the registry in HKCU for you.

How you install is up to you. The P&D Wizard works but it creates large
installers that include lots of stuff that you really don't need to deploy,
like the VB6 runtime (msvbvm6.dll) and so on. Those packages also don't give
you the flexibility that a Windows Installer package provides. You can use
Windows Installer, a commercial package such as InstallShield or Wise, or
even an installation bat file. All you really need to do is put the files
where you want and run regsvr32 on the addin dll.

If you look in the registry at HKCU\Software\Microsoft\Office\Outlook\Addins
do you see your addin listed? Does it have the correct registry keys as
listed in that link I provided? If not that's the problem and you should
read the article at that link.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"goran" wrote in message
...
Ken,

I try everything and cannot get my addin to load and show in the toolbar
when Outlook starts. I have to do it manually and then is OK. I set
'Initial
Load Behavior' to 3. I copied the addin dll to my user profile under
Application Data/microsoft/AddInns. When I start the outlook the add in is
not there. I have to go manually to Tools/Options/Other/ Advanced
options/COM
Addins and browse for my dll there and then it will load it. Please tell
me
if there is another way to install it so it will load and show when
Outlook
starts. Can I use VB 'PAckage & deployment' tool to package it, or any
other
tool?

Thanks for you help as always.

Goran


Ads