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

One Setup project for outlook 2003 AND 2007



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 18th 09, 04:38 PM posted to microsoft.public.outlook.program_addins
Neetu
external usenet poster
 
Posts: 19
Default One Setup project for outlook 2003 AND 2007

I Have two projects for 2003 and 2007 outlook.
Is it possible to create a single project which can work both for 2003 and
2007?

1. can I use shared addin project for this?
2. if not .. I want to detect which version of outlook user has at
installation
and run respective setup. how to do that ?
from where i can get more information on conditional Setups?

I had posted my question in Add-in-general section. Roady (MVP) sugested me
to post this query here. he also mentioned both 1 and 2 is possible.

If yes can any one give more details or Links where i can find more on this?


Suggestions are highly appriciated.

Thanks
Neetu
Ads
  #2  
Old February 18th 09, 06:50 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default One Setup project for outlook 2003 AND 2007

I almost never use separate projects, I almost always use just one.

You have to compile on a machine with the earliest version of Office/Outlook
where the code should run. Any later methods or properties added to the
object model can only be accessed using reflection (late binding). Otherwise
the code will run as is on Outlook 2007 when compiled on 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


"Neetu" wrote in message
...
I Have two projects for 2003 and 2007 outlook.
Is it possible to create a single project which can work both for 2003 and
2007?

1. can I use shared addin project for this?
2. if not .. I want to detect which version of outlook user has at
installation
and run respective setup. how to do that ?
from where i can get more information on conditional Setups?

I had posted my question in Add-in-general section. Roady (MVP) sugested
me
to post this query here. he also mentioned both 1 and 2 is possible.

If yes can any one give more details or Links where i can find more on
this?


Suggestions are highly appriciated.

Thanks
Neetu


  #3  
Old February 19th 09, 01:26 AM posted to microsoft.public.outlook.program_addins
Neetu
external usenet poster
 
Posts: 19
Default One Setup project for outlook 2003 AND 2007

Thanks Ken,

so That I should use Shared Add-in project for creation of add-in 2003 and
2007 ofice.?

I would also like to know more on how I can use conditional installation like
a setup project which install either a word addin or outlook add-in ,
depending on user choice?



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

I almost never use separate projects, I almost always use just one.

You have to compile on a machine with the earliest version of Office/Outlook
where the code should run. Any later methods or properties added to the
object model can only be accessed using reflection (late binding). Otherwise
the code will run as is on Outlook 2007 when compiled on 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


"Neetu" wrote in message
...
I Have two projects for 2003 and 2007 outlook.
Is it possible to create a single project which can work both for 2003 and
2007?

1. can I use shared addin project for this?
2. if not .. I want to detect which version of outlook user has at
installation
and run respective setup. how to do that ?
from where i can get more information on conditional Setups?

I had posted my question in Add-in-general section. Roady (MVP) sugested
me
to post this query here. he also mentioned both 1 and 2 is possible.

If yes can any one give more details or Links where i can find more on
this?


Suggestions are highly appriciated.

Thanks
Neetu



  #4  
Old February 20th 09, 03:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default One Setup project for outlook 2003 AND 2007

The addin type decision is up to you. A VSTO addin for Outlook 2003 will run
unchanged also in Outlook 2007 with no problems. The framework and shim
loader technologies are different but you end up with the same result, a COM
addin that's shimmed to load in its own AppDomain.

I answered your installer question in the installation group, but it all
really depends on the capabilities of whatever installer package you're
using.

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


"Neetu" wrote in message
...
Thanks Ken,

so That I should use Shared Add-in project for creation of add-in 2003 and
2007 ofice.?

I would also like to know more on how I can use conditional installation
like
a setup project which install either a word addin or outlook add-in ,
depending on user choice?


  #5  
Old February 21st 09, 09:14 AM posted to microsoft.public.outlook.program_addins
Mark B[_2_]
external usenet poster
 
Posts: 93
Default One Setup project for outlook 2003 AND 2007

Is it much of a mission then to downgrade from:

VSTO 2008 to VS2005 SE to get an Outlook 2007 Addin to work on Outlook 2003?

I can think of one difference -- the ribbon. Apart from that is there a
definative list anywhere that lists all the differences?

----

From
http://www.microsoft.com/downloads/d...isplaylang=en:

Overview

This download (VSTOR30.exe) installs the Visual Studio Tools for the Office
system 3.0 Runtime, which is required to run VSTO solutions for the 2007
Microsoft Office system built using Microsoft Visual Studio 2008.

When installing the VSTO runtime on a non-English version of the operating
system, you should also install the appropriate language pack to see the
text of the messages from the VSTO runtime in that language, rather than
English.

Note: VSTO solutions built for use in Microsoft Office 2003 require the
Visual Studio 2005 Tools for Office Second Edition Runtime, not this one.

  #6  
Old February 21st 09, 09:46 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default One Setup project for outlook 2003 AND 2007

To get the code to run on both versions the addin must be compiled on a
machine with Outlook 2003 installed.

The Outlook 2007 help has a very useful what's new. Open the Outlook VBA
project and click F1 to open the help.

CommandBars code running on Outlook 2007 will be relegated to the AddIns tab
in Inspector ribbons, Explorer UI will run correctly. The object model is
vastly enhanced in Outlook 2007, in 2003 you have to use lower level API's
to do things you can do in 2007, such as PropertyAccessor.

See Andrew Whitechapel's blog posts (he's a member of the VSTO team) on
supporting multiple versions in one addin:

http://blogs.msdn.com/andreww/archiv...of-office.aspx

http://blogs.msdn.com/andreww/archiv...hout-pias.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


"Mark B" wrote in message
...
Is it much of a mission then to downgrade from:

VSTO 2008 to VS2005 SE to get an Outlook 2007 Addin to work on Outlook
2003?

I can think of one difference -- the ribbon. Apart from that is there a
definative list anywhere that lists all the differences?

----

From
http://www.microsoft.com/downloads/d...isplaylang=en:

Overview

This download (VSTOR30.exe) installs the Visual Studio Tools for the
Office system 3.0 Runtime, which is required to run VSTO solutions for the
2007 Microsoft Office system built using Microsoft Visual Studio 2008.

When installing the VSTO runtime on a non-English version of the operating
system, you should also install the appropriate language pack to see the
text of the messages from the VSTO runtime in that language, rather than
English.

Note: VSTO solutions built for use in Microsoft Office 2003 require the
Visual Studio 2005 Tools for Office Second Edition Runtime, not this one.


  #7  
Old February 23rd 09, 12:57 AM posted to microsoft.public.outlook.program_addins
Mark B[_2_]
external usenet poster
 
Posts: 93
Default One Setup project for outlook 2003 AND 2007

Thanks Ken that's very helpful.

I wonder how many people 'out-there (e.g. the general population)' are still
using Office 2003...?

I wonder when a new version of Office will arrive... 2010?


"Ken Slovak - [MVP - Outlook]" wrote in message
...
To get the code to run on both versions the addin must be compiled on a
machine with Outlook 2003 installed.

The Outlook 2007 help has a very useful what's new. Open the Outlook VBA
project and click F1 to open the help.

CommandBars code running on Outlook 2007 will be relegated to the AddIns
tab in Inspector ribbons, Explorer UI will run correctly. The object model
is vastly enhanced in Outlook 2007, in 2003 you have to use lower level
API's to do things you can do in 2007, such as PropertyAccessor.

See Andrew Whitechapel's blog posts (he's a member of the VSTO team) on
supporting multiple versions in one addin:

http://blogs.msdn.com/andreww/archiv...of-office.aspx

http://blogs.msdn.com/andreww/archiv...hout-pias.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


"Mark B" wrote in message
...
Is it much of a mission then to downgrade from:

VSTO 2008 to VS2005 SE to get an Outlook 2007 Addin to work on Outlook
2003?

I can think of one difference -- the ribbon. Apart from that is there a
definative list anywhere that lists all the differences?

----

From
http://www.microsoft.com/downloads/d...isplaylang=en:

Overview

This download (VSTOR30.exe) installs the Visual Studio Tools for the
Office system 3.0 Runtime, which is required to run VSTO solutions for
the 2007 Microsoft Office system built using Microsoft Visual Studio
2008.

When installing the VSTO runtime on a non-English version of the
operating system, you should also install the appropriate language pack
to see the text of the messages from the VSTO runtime in that language,
rather than English.

Note: VSTO solutions built for use in Microsoft Office 2003 require the
Visual Studio 2005 Tools for Office Second Edition Runtime, not this one.



  #8  
Old February 23rd 09, 02:31 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default One Setup project for outlook 2003 AND 2007

2010 is as good a guess as any.

My guess is that a heck of a lot more people are running Outlook 2003 than
are running Outlook 2007 at this time, but that's a guess.

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


"Mark B" wrote in message
...
Thanks Ken that's very helpful.

I wonder how many people 'out-there (e.g. the general population)' are
still using Office 2003...?

I wonder when a new version of Office will arrive... 2010?


 




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
Custom message in setup project Nita Jadhav Add-ins for Outlook 1 February 13th 09 03:07 PM
Outlook 2003 working with Project Server 2007? Mike Frenette[_2_] Outlook - Installation 0 July 11th 08 07:35 PM
email setup for outlook 2000, 2003,2007 qbase7 Outlook - Installation 2 April 22nd 08 01:17 AM
dependencies not showing up in visual studio setup project [email protected] Add-ins for Outlook 1 October 26th 07 03:08 PM
How to setup Outlook 2007 or 2003 to sync with Exchange 2003 Chik Outlook - General Queries 5 June 4th 07 01:03 PM


All times are GMT +1. The time now is 09:03 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.