Deploying outlook 2003 add-in using VSTO SE

G

Guest

Hello,
I have developed an outlook add-in (C#) with following configuration:
Visual studio 2005
Outlook 2003
VSTO SE

The add-in works fine on dev machine. The project creates a setup package
for deployment to other machines. When I install this package, the add-in
does not load in outlook. Some troubleshooting I did is as follows:
* Ensured that all the dependent assemblies are part of the package
* Installed VSTO runtime on the target machine
* User .Net explorer to find out dependency issues and found none.
Is there any way to find out what is wrong here?

Thanks.
 
K

Ken Slovak - [MVP - Outlook]

Did you set security on the code assembly on the target machine using the
SetSecurity project and walkthroughs? You need to do that to get the code to
run on a deployment machine or to set up the security using CASPOL or some
other method. See the deployment walkthroughs for VSTO 2005 SE at
http://msdn2.microsoft.com/en-us/library/bb332051.aspx
 
P

PShah

Rajesh

As ken mentioned above - the info in the links is exactly what you
want to do.

To add to what he said -
As a check - on your deployment machine - see the registry entry for
LoadBehavior. If the SetSecurity is not done - the plugin will have
value 2 - which means it is disabled. it should be 3 in order for it
to work.

This value would be under Hkey_Local_users or Hkey_localmachine
depending on where u are deploying it

thanks
 

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