Addin integration on other machines

M

Matthieu

Hello,

I've made an Outlook 2003 addin in C# with the VS wizard that works
properly on my machine (Win2003, Visual Studio). This addin is a new
toolbar.

But when I try to install it on other machine (win2003 or XP), it
doesn't work. I can see the addin in the Outlook COM Add-ins but it
does not display my toolbar.
I found that when I install it on machines with Visual Studio, it
works.

I've check the registries and all the values are corrects
(HCU\Softwares\Microsoft\Office\Outlook\Addins\MyOutlookAddin.Connect)

Now I think that there is something wrong with extensibility.dll
because it depends of an old version of mscorlib.dll (1.0.3300.0) and
others dependencies depends of the 1.0.5000.0 version. I've seen that
in the windows assembly folder, all computers where my addin works
have the extensibility.dll. But on the machines that don't display my
toolbar, this file doesn't exist.

Thank to help me to find what could be wrong with this addin.

Matthieu.
 
H

Helmut Obertanner

Hello Matthieu,

if you created the AddIn with VS Wizard, the Office PIA points to the wrong
Office.dll
by default.
Remove this dll from your project reference and add new reference to COM
Office 11 Object library and compile again.

In your Setup don't install the PIA's into the GAC, just into the
application Dir and exclude the office dlls from Setup.

Maybe that helps.

--
Freundliche Grüße / with regards

Helmut Obertanner
Technical Consultant

Softwaredevelopment
DATALOG Software AG | Zschokkestr. 36 | D-80687 Munich
web: www.datalog.de


.... and IT works!
 

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