Thread: Outlook Add-In
View Single Post
  #7  
Old November 22nd 06, 06:35 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-In

The problem is security. A VSTO addin requires full trust for the
installation folder. That's automatically done when you run in debug mode.
In deployments you need to do that using custom actions and SetSecurity
project you add to your addin project.

See the deployment walkthrough (2 part) starting at
http://msdn.microsoft.com/library/de...erOverview.asp

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"rbarrios73" wrote in message
...
Did you set security for the deployed addin?

No, I didn't

Does it work when run in debug mode on the development computer?

Yes, it does

What did you upgrade from where it was working?

We upgraded our application, but the outlook addin didn't change and the
installer neither.

For more information:
The outlook add in is compiled and the installer write several keys at
registry following the steps at link:
http://msdn2.microsoft.com/en-gb/lib...07(VS.80).aspx
When the outlook is launched the outlook add in is not loaded and the
property LoadBehaivour is changed from 3 to 2
I don't knowexactly what is the error, I suppose is something wrong on
registry but I am not sure.

Thanks,


--
--RB


Ads