VSTO, VS 2005 and Outlook 2003 add-in

A

Andreas

Hi all,
this is driving me crazy.
I created a Outlook add-in with VS2005 and VSTO.
On the development machine, everything works fine.
When I install the msi on the client machine and start Outlook,
nothing happens, Outlook runs just fine - but without my add-in.
When I manually try to add the file as com-add in, i get a message stating
"<path>.dll is not a valid Office add-in".
I can't seem to get it to work.
I also looked at the "Info-> Disabled" screen, there is no entry.

What do I have to do to successfully install the add-in at a client machine?

Thanks
Andy
 
K

Ken Slovak - [MVP - Outlook]

You need to set the security to trusted for your application on the target
machine (in addition to making sure all other prerequisites are installed
such as framework 2.0 and the VSTO runtime).

See the information about addin deployment for VSTO addins at
http://www.outlookcode.com/vsto/index.htm
 
A

Andreas

Hi Ken,
I don't understand how to do that.
I added a new Installer class to my outlook project and pasted the code from
Mads.
But it's giving me an error message:
Attribute 'RunInstallerAttribute' cannot be applied multiple times.

what am I doing wrong?

thanks for the help
 
K

Ken Slovak - [MVP - Outlook]

I don't know what's in your code project so I can't answer that. Look
everywhere and see if you are setting that somewhere else.
 

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