PC Review


Reply
Thread Tools Rate Thread

Deploying OL2007 Add-In

 
 
John
Guest
Posts: n/a
 
      13th Jul 2009
Hi

Are there any step by step simple instructions on how to deploy Outlook 2007
Add-In created in VS 2008? The documentation I have gone through seemed
complicated.

Thanks

Regards


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      13th Jul 2009
Shared managed code addin or VSTO addin? If shared are you using a shim?

Are you deploying any necessary PIA's and dependencies? If you want an addin
for Outlook 2007 that must be installed on your dev machine. If you want one
for Outlook 2003 that has to be installed on the dev machine (only 1 version
of Outlook can be installed). That will run on Outlook 2007, but a 2007
developed addin won't run in Outlook 2003.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> Are there any step by step simple instructions on how to deploy Outlook
> 2007 Add-In created in VS 2008? The documentation I have gone through
> seemed complicated.
>
> Thanks
>
> Regards
>
>


 
Reply With Quote
 
John
Guest
Posts: n/a
 
      13th Jul 2009
vs 2008 add-in, no shin
both production and target pcs have OL2007

Thanks

Regards

"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:u%23M0DS%(E-Mail Removed)...
> Shared managed code addin or VSTO addin? If shared are you using a shim?
>
> Are you deploying any necessary PIA's and dependencies? If you want an
> addin for Outlook 2007 that must be installed on your dev machine. If you
> want one for Outlook 2003 that has to be installed on the dev machine
> (only 1 version of Outlook can be installed). That will run on Outlook
> 2007, but a 2007 developed addin won't run in Outlook 2003.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "John" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi
>>
>> Are there any step by step simple instructions on how to deploy Outlook
>> 2007 Add-In created in VS 2008? The documentation I have gone through
>> seemed complicated.
>>
>> Thanks
>>
>> Regards
>>
>>

>



 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      14th Jul 2009
I would very strongly recommend using a shim. If you don't then you're in
the same AppDomain as any other unshimmed managed code running in Outlook.
That means that any unhandled exception in any of that code, not just yours,
or a crash in any of that code will end up disabling all those applications.
If you're in your own AppDomain from a shim only your own code gets
disabled, and if any other application causes problems only that gets
affected, not your code.

For a pure Outlook 2007 solutiion you can use either a standard setup
program or you can use a ClickOnce deployment. With a shimmed solution the
ManagedAggregator code and the addin code aren't registered for COM, only
the shim dll is registered. It then loads the addin when Outlook calls for
it. You add the primary outputs of the ManagedAggregator, addin and shim to
the setup project, deploy any dependencies you need and make sure that the
registrations are set up.

For ClickOnce deployment you can review the material at
http://msdn.microsoft.com/en-us/library/t71a733d(VS.80).aspx for lots of
information.

The Shim Wizard information and download is at
http://msdn.microsoft.com/en-us/library/bb508939.aspx.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"John" <(E-Mail Removed)> wrote in message
news:%23WlK08%(E-Mail Removed)...
> vs 2008 add-in, no shin
> both production and target pcs have OL2007
>
> Thanks
>
> Regards


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UAC and OL2007 again deeranwith Microsoft Outlook Discussion 0 31st Jan 2009 05:24 PM
NG with OL2007 & WLM plb2862@cox.net Microsoft Outlook Installation 5 25th Mar 2008 12:13 AM
Ol2007 naguaramipana Microsoft Outlook Discussion 3 11th Jan 2008 07:15 PM
OL2007 Sulasno Microsoft Outlook Discussion 3 28th Feb 2007 02:18 PM
deploying and re-deploying ASP.Net applications =?Utf-8?B?VG9tIE4=?= Microsoft ASP .NET 2 4th Feb 2004 09:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:27 AM.