![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I am developing a Outlook Addin using SharedAddin project type in VS 2005(C#).
My Addin works fine in all our development machines.When I tired to create an installer file and installs in any target machine, my installer file installs with out any error but my addin doesnt get loaded in outlook.. Please Help me in this issue Thanks, Bala -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200702/1 |
#2
|
|||
|
|||
![]()
What version of Outlook are you targeting? Please provide all relevant
information in your posts. Office 2003 does not install the needed PIA's, that's optional. Make sure they are there. You also need to install Extensibility.dll unless you are targeting Outlook 2007. You need to set the security of your assembly after signing the code with a strong naming so it will run on the target system and make sure your users have the correct Framework version. You also need to investigate if you need to install KB 908002 (http://support.microsoft.com/kb/908002). Check on that too. One other thing. If you aren't using a shim you should do so to ensure that your addin has its own AppDomain. If not and any other non-shimmed addin has a problem it will end up causing all shared addins in that AppDomain namespace to also be disabled. -- 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 "BalajiGopalakrishnan via OfficeKB.com" u31420@uwe wrote in message news:6d6f203bcbd30@uwe... I am developing a Outlook Addin using SharedAddin project type in VS 2005(C#). My Addin works fine in all our development machines.When I tired to create an installer file and installs in any target machine, my installer file installs with out any error but my addin doesnt get loaded in outlook.. Please Help me in this issue Thanks, Bala -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200702/1 |
#3
|
|||
|
|||
![]()
Hi Ken,
First of all my heartly thanks for replying my message. I am using Microsoft Outlook 2003 (11.5608.5606) in XP(Professional) operating system. The project is developed using Visual Studio 2005(Shared Add-in Type -- C#).The following references are included in the project. · Microsoft Office 11.0 object library (TypeLib version 2.3) · Microsoft Outlook 11.0 object library (TypeLib version 9.2) In OnStartupComplete event we have written the code for creating the toolbar and toolbar buttons. In OnBeginShutdown event we have written the code to just to delete the toolbar buttons. I have added one of the prerequisites as Office 2003 PIA while creating the setup itself.I have created the assembly and also I have signed it, but after creating how to set the security for it? I have checked with installing KB 908002 ( http://support.microsoft.com/kb/908002), but in vain. Also just before replying your thread, I tried using Shim solution( http://msdn2.microsoft.com/en-us/lib...fice.10).aspx), I have also incorporated each and every step explained in this site, but still in vain. I dont know where I am making the mistake.Please help me. Thanks & Regards, Bala. Ken Slovak - [MVP - Outlook] wrote: What version of Outlook are you targeting? Please provide all relevant information in your posts. Office 2003 does not install the needed PIA's, that's optional. Make sure they are there. You also need to install Extensibility.dll unless you are targeting Outlook 2007. You need to set the security of your assembly after signing the code with a strong naming so it will run on the target system and make sure your users have the correct Framework version. You also need to investigate if you need to install KB 908002 (http://support.microsoft.com/kb/908002). Check on that too. One other thing. If you aren't using a shim you should do so to ensure that your addin has its own AppDomain. If not and any other non-shimmed addin has a problem it will end up causing all shared addins in that AppDomain namespace to also be disabled. I am developing a Outlook Addin using SharedAddin project type in VS 2005(C#). [quoted text clipped - 8 lines] Thanks, Bala -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200702/1 |
#4
|
|||
|
|||
![]()
You need to do more than just reference the Outlook and Office PIA's you
need to ensure that they are on the target systems or prevent your addin from even installing. Same for the Framework version and that KB article. For that you need to set pre-requisites. That KB article has very specific instructions on how to download the redistributable for the KB fix and how to add it as a pre-requisite for your installer. I just followed the instructions there when I create my own set of packages to install and set of pre-requisites. Make sure you are distributing all that stuff and checking the pre-requisites. Also read the deployments walkthroughs on setting security, they are pretty thorough. If you follow the instructions you should be just fine. -- 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 "BalajiGopalakrishnan via OfficeKB.com" u31420@uwe wrote in message news:6d7fac0826a85@uwe... Hi Ken, First of all my heartly thanks for replying my message. I am using Microsoft Outlook 2003 (11.5608.5606) in XP(Professional) operating system. The project is developed using Visual Studio 2005(Shared Add-in Type -- C#).The following references are included in the project. · Microsoft Office 11.0 object library (TypeLib version 2.3) · Microsoft Outlook 11.0 object library (TypeLib version 9.2) In OnStartupComplete event we have written the code for creating the toolbar and toolbar buttons. In OnBeginShutdown event we have written the code to just to delete the toolbar buttons. I have added one of the prerequisites as Office 2003 PIA while creating the setup itself.I have created the assembly and also I have signed it, but after creating how to set the security for it? I have checked with installing KB 908002 ( http://support.microsoft.com/kb/908002), but in vain. Also just before replying your thread, I tried using Shim solution( http://msdn2.microsoft.com/en-us/lib...fice.10).aspx), I have also incorporated each and every step explained in this site, but still in vain. I dont know where I am making the mistake.Please help me. Thanks & Regards, Bala. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
C#.NET Outlook add-in and Visual Studio 2005 | Michael | Add-ins for Outlook | 4 | November 2nd 06 07:10 PM |
vs 2005 - adding toolbar in office 2003 | [email protected] | Add-ins for Outlook | 8 | September 25th 06 10:27 PM |
How can Journal be used if Project is not installed, or on the net | Rusty | Outlook - General Queries | 3 | May 31st 06 04:10 PM |
combobox change event in .net 2005 | mcp_virtue | Outlook and VBA | 0 | May 9th 06 05:56 PM |
CommandbarComboBox-Event in COM Add-In (VB .net 2005) | mcp_virtue | Outlook and VBA | 0 | February 12th 06 09:00 PM |