Vb6 Outllook AddIn won't run on Vista

G

giovanni

Hello everyone,
I've a VB6 developed AddIn for Outlook2003, distributed thru a .msi
package that installs fine on W2000 and WXp: now I tried to install it on a
Vista Business pc with Outlook2003 on board. Installation completes fine but
when I look into Outlook the AddIn is not installed and It want's to manually
install using "Com AddInn" button on Outlook Options. I Used an Administrator
user to install it.
Has anyone an idea of where I've to start to solve the problem?
 
K

Ken Slovak - [MVP - Outlook]

If you used a different Windows logon to install and to try to run the addin
the odds are that the addin is registered in HKCU. That is per Windows
logon, so of course the other logon would need to re-register things so the
registration in HKCU is there. This is the exact same thing that would
happen with any addin on any version of Windows if installed using a
different logon.

The alternatives are to register the addin for each Windows logon on that
computer or to create an installer that does the registration in HKLM, where
all users would have it registered for them.
 
G

giovanni

Hi,
first of all thank You for answer.
I think I was misunderstood: the addin was installed and runned by the same
user so with the same logon. But it won't run nor appear as an Aoutllok
AddIn, it's installed on the Os (as control panel shows) but outlook seemes
not to recognize it as an AddIn. Some more infos: the .dll 's of the AddIn
are installed under the "..\Program Files" folder and not in the "..\AddIn"
as outlook search for in the manual linking of a Com AddIn via the
Outlook->Options->Other->Advanced Options-> COM AddIns... button expects.
 
K

Ken Slovak - [MVP - Outlook]

The way that Outlook recognizes an addin is certain entries in the registry
under \Software\Microsoft\Office\Outlook\Addins. That can be in HKCU or
HKLM. If those entries: LoadBehavior, Description, etc. are not there the
addin won't be recognized.

Is that addin listed in the COM Add-Ins dialog? If so and it won't stay
checked to get it to run then look in Help, About Microsoft Office Outlook,
Disabled Items and see if the addin was disabled by Outlook.

FWIW, all of my VB6 Outlook COM addins do work under Vista with no changes
to the addins or the installers.
 

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