Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Deploying outlook 2003 add-in using VSTO SE

Geek News

Deploying outlook 2003 add-in using VSTO SE
Rajesh Deshpande 4/28/2007 4:18:01 AM
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.

RE: Deploying outlook 2003 add-in using VSTO SE
Rajesh Deshpande 4/28/2007 4:20:00 AM
I am running everything on XP.

"Rajesh Deshpande" wrote:

[Quoted Text]
> 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.
>
Re: Deploying outlook 2003 add-in using VSTO SE
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 4/30/2007 7:52:03 PM
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

--
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


"Rajesh Deshpande" <RajeshDeshpande[ at ]discussions.microsoft.com> wrote in
message news:C31E59BB-DA8E-4598-8844-FDA2D6FF785F[ at ]microsoft.com...
[Quoted Text]
>I am running everything on XP.
>
> "Rajesh Deshpande" wrote:
>
>> 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.
>>

Re: Deploying outlook 2003 add-in using VSTO SE
PShah <pratikrshah[ at ]gmail.com> 5/1/2007 7:54:02 PM
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

Re: Deploying outlook 2003 add-in using VSTO SE
Rajesh Deshpande 5/2/2007 11:59:01 PM
Worked, thanks!

"Ken Slovak - [MVP - Outlook]" wrote:

[Quoted Text]
> 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
>
> --
> 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
>
>
> "Rajesh Deshpande" <RajeshDeshpande[ at ]discussions.microsoft.com> wrote in
> message news:C31E59BB-DA8E-4598-8844-FDA2D6FF785F[ at ]microsoft.com...
> >I am running everything on XP.
> >
> > "Rajesh Deshpande" wrote:
> >
> >> 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.
> >>
>
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net