Hi,

  • Thread starter Thread starter Sunny
  • Start date Start date
S

Sunny

Hi, sorry for the cross-post.
This msg was posted in developer.outlook.addins also.

Repost:

Hi,
I have seen similar posts in the groups, but in no one there was a final
solution.
So, I have Outlook 2000 addin, build in C#/VS.Net 2003.
I'm using the setup project, build by Extensibility project wizard.
On the development machine, where VS.Net is installed, addin installs
and runs OK, but not on client machines, where there is no VS.Net, but
only the framework (same version).
I'm installing the addin with "Only me" option, and I can see the
correct registry keys under HKCU/Software.../Outlook/Addins.
And the load Behaviour is set to (3), as it have to be. But addin never
loads in Outlook. I have MsgBox in on connect, it never shows.
I have checked all security issues, and this is not the problem.

The only strange thing is that I can not see the addin in
Tools/Options/Other/Advanced/COM Add-Ins.
I can not see it there on the dev. machine too, even it's working there.

This happens both on win 2000 and XP boxes.

So, it seems that the deployment project is not very good (maybe I'm
missing something there).
Can someone help.
Any suggestion/solution will be highly appreciated.

Thanks
Sunny
 
As an addition:

I have checked, and the install does not register the addin for interop
(no keys in HKCR/CLSID), even I have selected vsdrpCOM in Register
property of the setup project.

So, just for a try, I have used regasm.exe to register the dll on the
target machine.

And now started another problem: on outlook Launch it changes the
LoadBehaviour of the addin to 2 and still doesn't not run it.
And does not show it in Add-in dialog box either.

Thanks
Sunny
 
Back
Top