add-in loading

A

.:alex:.

Hello,

I have a problem with my add-in in the final step... I made a kit... I
install the add-in all works good, but when I open Outlook, my add-in isn't
loaded. The solution is to manage manually from COM Add-In... windows where
I have to add the dll file... what it is wrong? The clients need to view the
add-in without to add manually the dll because it's "very hard" :) fom them
.....

Can somebody give me a idea?

Thank you in advance

Alex
 
H

Helmut Obertanner

Hello alex,

how do you installed your add-in ?
Accessible for all users ? -> put your registry settings for loading your
addin into HKLM
Set Loadbehavior to 3

Greets, Helmut Obertanner
 
A

.:alex:.

Hello Helmut

Where I can setup this staff?
I develeped in VB6 and I made the installer using the Installer of VS6
There is a way to do that?

Thank you, and thank you for your previous answer, too.

Alex
 
H

Helmut Obertanner

Hi alex.
I'm not too familiary with VS6 installer, but normally i would export some
settings from registry to a reg file and import this into VS installer.
You can also import this registry file with a script (if you know how to do
that from VS6 installer)

However, you can also modify the msi File with orca Tool from Platform SDK.
Some thoughts:

If you made the COM AddIn viewable for the User only, the User must have the
right to install software on his computer, and registering some COM Objects
may fail, ' cause the power user maybe can't write to every path in the
Registry.

You can run the Setup as Administrator with "run as", but then the AddIn
will be installed for the Administrators Profile, not for the User Profile.

So I prefer to develop Outlook AddIns visible for all users, and installes
by SMS, ActiveDirectory or the Administrator.
For this you must add a Property "ALLUSERS" with a value to 1 to your MSI
File.

Hope that helps.
Greets, Helmut Obertanner
 
K

Ken Slovak - [MVP - Outlook]

Did you use a Designer in your project? That would have the settings in it
that would self-register the addin in HKCU. If you didn't use a Designer you
would need to use a .REG file to register your addin or use a script in the
installation package to write the needed registry entries. I'm not sure if
the version of InstallShield provided with VS 6 supports custom actions and
running a script or an EXE during installation.
 

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