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

deploy 2003 vsto addin on outlook 2007 problem



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 8th 08, 11:19 AM posted to microsoft.public.outlook.program_addins
lokesh
external usenet poster
 
Posts: 13
Default deploy 2003 vsto addin on outlook 2007 problem

Hi,

Have created and deployed successfully, an outlook vsto addin for 2003. But
i am unable to install it on office 2007 for one of the machines as, it is
unable to install O2003PIA as it also requires office sp2. Whenever i try to
install offce sp2 it says product version not found. Is it because of the
registry problem since i do see the files and folders for 2003 on the system.
Is there something i am missing.


Ads
  #2  
Old April 8th 08, 04:48 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default deploy 2003 vsto addin on outlook 2007 problem

A VSTO addin compiled under Outlook 2003 will run unchanged on Outlook 2007.
It won't have support for the ribbon, forms regions or other new stuff but
it will just work.

Are you following the deployment walkthroughs for VSTO applications, using
that documentation I've never had a VSTO Outlook 2003 addin try to install
Outlook 2003 or the Outlook 2003 PIA's on an Outlook 2007 machine. You
wouldn't want that anyway, last registered wins in those cases so that would
make the Outlook 2007 PIA unavailable for that machine.

Is the Outlook 2007 PIA installed on that problem machine? If it is the code
should just install and run.

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


"lokesh" wrote in message
...
Hi,

Have created and deployed successfully, an outlook vsto addin for 2003.
But
i am unable to install it on office 2007 for one of the machines as, it is
unable to install O2003PIA as it also requires office sp2. Whenever i try
to
install offce sp2 it says product version not found. Is it because of the
registry problem since i do see the files and folders for 2003 on the
system.
Is there something i am missing.



  #3  
Old April 9th 08, 06:48 AM posted to microsoft.public.outlook.program_addins
lokesh
external usenet poster
 
Posts: 13
Default deploy 2003 vsto addin on outlook 2007 problem

Thanks Ken for your reply. Have solved the problem. Yes O2003PIA was
installed. But had added it in launch condition, which would search for it
and could not fine. I have removed the launch condition, so its not
obstructing it now from installing.


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

A VSTO addin compiled under Outlook 2003 will run unchanged on Outlook 2007.
It won't have support for the ribbon, forms regions or other new stuff but
it will just work.

Are you following the deployment walkthroughs for VSTO applications, using
that documentation I've never had a VSTO Outlook 2003 addin try to install
Outlook 2003 or the Outlook 2003 PIA's on an Outlook 2007 machine. You
wouldn't want that anyway, last registered wins in those cases so that would
make the Outlook 2007 PIA unavailable for that machine.

Is the Outlook 2007 PIA installed on that problem machine? If it is the code
should just install and run.

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


"lokesh" wrote in message
...
Hi,

Have created and deployed successfully, an outlook vsto addin for 2003.
But
i am unable to install it on office 2007 for one of the machines as, it is
unable to install O2003PIA as it also requires office sp2. Whenever i try
to
install offce sp2 it says product version not found. Is it because of the
registry problem since i do see the files and folders for 2003 on the
system.
Is there something i am missing.




  #4  
Old April 10th 08, 03:33 PM posted to microsoft.public.outlook.program_addins
lokesh
external usenet poster
 
Posts: 13
Default deploy 2003 vsto addin on outlook 2007 problem

Though, the addin got installed, its not behaving the way it should even
though i got it running with the same configuration in other machine.

The problem is a button which enables/disables other controls on the
toolbar, works for the first time the message (inspector) window is opened
after the outlook is opened. But then when i close the first window and open
another window, it stops disabling/enabling other controls. No exceptions are
occurring and cannot figure out what the problem could be.


"lokesh" wrote:

Thanks Ken for your reply. Have solved the problem. Yes O2003PIA was
installed. But had added it in launch condition, which would search for it
and could not fine. I have removed the launch condition, so its not
obstructing it now from installing.


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

A VSTO addin compiled under Outlook 2003 will run unchanged on Outlook 2007.
It won't have support for the ribbon, forms regions or other new stuff but
it will just work.

Are you following the deployment walkthroughs for VSTO applications, using
that documentation I've never had a VSTO Outlook 2003 addin try to install
Outlook 2003 or the Outlook 2003 PIA's on an Outlook 2007 machine. You
wouldn't want that anyway, last registered wins in those cases so that would
make the Outlook 2007 PIA unavailable for that machine.

Is the Outlook 2007 PIA installed on that problem machine? If it is the code
should just install and run.

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


"lokesh" wrote in message
...
Hi,

Have created and deployed successfully, an outlook vsto addin for 2003.
But
i am unable to install it on office 2007 for one of the machines as, it is
unable to install O2003PIA as it also requires office sp2. Whenever i try
to
install offce sp2 it says product version not found. Is it because of the
registry problem since i do see the files and folders for 2003 on the
system.
Is there something i am missing.




  #5  
Old April 10th 08, 11:09 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default deploy 2003 vsto addin on outlook 2007 problem

That sounds like a scope issue. Are you declaring that object at a level
where it doesn't go out of scope and get garbage collected?

What type of button? Is this running on Outlook 2003 or 2007? For 2007 you
should be supporting the ribbon.

Also, if you intend to correctly handle things if more than one item is open
at a time you really should be wrapping your Inspectors in Inspector wrapper
classes and keeping them in a collection or list of some kind so you can
handle each separately.

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


"lokesh" wrote in message
...
Though, the addin got installed, its not behaving the way it should even
though i got it running with the same configuration in other machine.

The problem is a button which enables/disables other controls on the
toolbar, works for the first time the message (inspector) window is opened
after the outlook is opened. But then when i close the first window and
open
another window, it stops disabling/enabling other controls. No exceptions
are
occurring and cannot figure out what the problem could be.


  #6  
Old April 11th 08, 04:38 AM posted to microsoft.public.outlook.program_addins
lokesh
external usenet poster
 
Posts: 13
Default deploy 2003 vsto addin on outlook 2007 problem

Yes I am using Wrappers based on some of your samples. Have written it for
2003 but this problem is occurring for 2007 office on XP. Have tested it on
other xp machine with 2007 and it is working perfectly. Its on one particular
machine that its giving a problem.

-Lokesh

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

That sounds like a scope issue. Are you declaring that object at a level
where it doesn't go out of scope and get garbage collected?

What type of button? Is this running on Outlook 2003 or 2007? For 2007 you
should be supporting the ribbon.

Also, if you intend to correctly handle things if more than one item is open
at a time you really should be wrapping your Inspectors in Inspector wrapper
classes and keeping them in a collection or list of some kind so you can
handle each separately.

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


"lokesh" wrote in message
...
Though, the addin got installed, its not behaving the way it should even
though i got it running with the same configuration in other machine.

The problem is a button which enables/disables other controls on the
toolbar, works for the first time the message (inspector) window is opened
after the outlook is opened. But then when i close the first window and
open
another window, it stops disabling/enabling other controls. No exceptions
are
occurring and cannot figure out what the problem could be.



  #7  
Old April 11th 08, 01:58 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default deploy 2003 vsto addin on outlook 2007 problem

If it's only on one machine where you have the problem then you have to find
out what's different about that machine. Check for the addin pre-requisites,
requirements and anything else required in the environment of your problem
machine. Check your error logs and the Windows event logs. Try to run in
debug mode on that computer if possible.

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


"lokesh" wrote in message
...
Yes I am using Wrappers based on some of your samples. Have written it for
2003 but this problem is occurring for 2007 office on XP. Have tested it
on
other xp machine with 2007 and it is working perfectly. Its on one
particular
machine that its giving a problem.

-Lokesh


  #8  
Old April 11th 08, 02:46 PM posted to microsoft.public.outlook.program_addins
lokesh
external usenet poster
 
Posts: 13
Default deploy 2003 vsto addin on outlook 2007 problem

Yes i guess I have found the solution for it. It was the anti-virus which was
causing the problem, for some security loophole in my code. I reproduced the
same problem on some other machine and fixed it. Will test it out some more.

But have some bringing the datepicker window to the top. Will post it in
other thread.

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

If it's only on one machine where you have the problem then you have to find
out what's different about that machine. Check for the addin pre-requisites,
requirements and anything else required in the environment of your problem
machine. Check your error logs and the Windows event logs. Try to run in
debug mode on that computer if possible.

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


"lokesh" wrote in message
...
Yes I am using Wrappers based on some of your samples. Have written it for
2003 but this problem is occurring for 2007 office on XP. Have tested it
on
other xp machine with 2007 and it is working perfectly. Its on one
particular
machine that its giving a problem.

-Lokesh



  #9  
Old April 14th 08, 09:20 AM posted to microsoft.public.outlook.program_addins
lokesh
external usenet poster
 
Posts: 13
Default deploy 2003 vsto addin on outlook 2007 problem

Hi Ken,

For writing a 2007 based addin, do we need to write similar wrappers and
handle the toolbars by using some data structure.

-Lokesh



"lokesh" wrote:

Yes i guess I have found the solution for it. It was the anti-virus which was
causing the problem, for some security loophole in my code. I reproduced the
same problem on some other machine and fixed it. Will test it out some more.

But have some bringing the datepicker window to the top. Will post it in
other thread.

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

If it's only on one machine where you have the problem then you have to find
out what's different about that machine. Check for the addin pre-requisites,
requirements and anything else required in the environment of your problem
machine. Check your error logs and the Windows event logs. Try to run in
debug mode on that computer if possible.

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


"lokesh" wrote in message
...
Yes I am using Wrappers based on some of your samples. Have written it for
2003 but this problem is occurring for 2007 office on XP. Have tested it
on
other xp machine with 2007 and it is working perfectly. Its on one
particular
machine that its giving a problem.

-Lokesh



  #10  
Old April 14th 08, 01:58 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default deploy 2003 vsto addin on outlook 2007 problem

For an Outlook 2007 based addin you should use the same structure of wrapper
classes and a collection or list to hold them. Your ribbon handler will be
in your Connection class but you still handle everything else the same way.

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


"lokesh" wrote in message
...
Hi Ken,

For writing a 2007 based addin, do we need to write similar wrappers and
handle the toolbars by using some data structure.

-Lokesh


 




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
can't load VSTO outlook addin outside visual... fbolefeysot Add-ins for Outlook 5 February 28th 08 02:31 PM
Permissions problem during VSTO addin loading Rajesh K Add-ins for Outlook 9 August 11th 07 09:50 PM
outlook addin setup problem - created using vsto suman Outlook - Using Forms 1 July 16th 07 10:11 PM
VSTO Outlook Addin doesn't get loaded for non-admin user Piyush Gupta Add-ins for Outlook 5 May 9th 07 07:24 PM
Question: Using VSTO to package/deploy Outlook Add-Ins? Tadwick Add-ins for Outlook 6 July 31st 06 10:58 PM


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