A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Deploying OL2007 Add-In



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 13th 09, 04:34 PM posted to microsoft.public.outlook.program_addins
John[_11_]
external usenet poster
 
Posts: 83
Default Deploying OL2007 Add-In

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


Ads
  #2  
Old July 13th 09, 07:05 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Deploying OL2007 Add-In

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" wrote in message
...
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



  #3  
Old July 13th 09, 08:22 PM posted to microsoft.public.outlook.program_addins
John[_11_]
external usenet poster
 
Posts: 83
Default Deploying OL2007 Add-In

vs 2008 add-in, no shin
both production and target pcs have OL2007

Thanks

Regards

"Ken Slovak - [MVP - Outlook]" wrote in message
...
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" wrote in message
...
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





  #4  
Old July 14th 09, 02:32 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Deploying OL2007 Add-In

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/libr...3d(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" wrote in message
...
vs 2008 add-in, no shin
both production and target pcs have OL2007

Thanks

Regards


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploying prf for local startup TeeCee Outlook and VBA 1 June 11th 08 05:20 PM
Deploying macros Doug Outlook and VBA 1 August 13th 07 08:48 PM
Deploying a Rule JoeCL Outlook - Installation 1 November 25th 06 02:12 AM
Deploying Rules JoeCL Outlook - Installation 0 November 7th 06 11:51 PM
deploying outlook to other workstation JG Outlook - General Queries 0 October 6th 06 10:17 PM


All times are GMT +1. The time now is 08:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.