![]() |
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
|
|||
|
|||
![]()
Hello,
We have an outlook add-in included in our application, it is added to outlook and when it is clicked by user can navigate to our application. To install this add-in, we use the following link http://msdn2.microsoft.com/en-gb/lib...07(VS.80).aspx to add different keys at the registry. At this point we upgrade the version of our application and everything looks fine on registry but the add-in is not installed. Basically my question is about some tool to trace the load process of the add-in to check what is the error. Some help will be appreciate. -- --RB |
Ads |
#2
|
|||
|
|||
![]()
rbarrios73 wrote:
Hello, We have an outlook add-in included in our application, it is added to outlook and when it is clicked by user can navigate to our application. To install this add-in, we use the following link http://msdn2.microsoft.com/en-gb/lib...07(VS.80).aspx to add different keys at the registry. At this point we upgrade the version of our application and everything looks fine on registry but the add-in is not installed. Basically my question is about some tool to trace the load process of the add-in to check what is the error. Some help will be appreciate. Hi! It might be a security issue. You can set the environment variable VSTO_SUPPRESSDISPLAYALERTS to the value 0 on the computer where VSTO 2005 is running. Then you should see an error message if outlook is not able to load the plugin. If the error message contains something about permissions, your plugin probably has no rights to run the plugin code. Yours, Steffen |
#3
|
|||
|
|||
![]()
If that doesn't help then post back with the Outlook versions you're
supporting, the version of VSTO you're using, what the upgrade is from and any other relevant information. Also post what changes you made when you upgraded. -- 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 "Steffen Heinzl" wrote in message ... rbarrios73 wrote: Hello, We have an outlook add-in included in our application, it is added to outlook and when it is clicked by user can navigate to our application. To install this add-in, we use the following link http://msdn2.microsoft.com/en-gb/lib...07(VS.80).aspx to add different keys at the registry. At this point we upgrade the version of our application and everything looks fine on registry but the add-in is not installed. Basically my question is about some tool to trace the load process of the add-in to check what is the error. Some help will be appreciate. Hi! It might be a security issue. You can set the environment variable VSTO_SUPPRESSDISPLAYALERTS to the value 0 on the computer where VSTO 2005 is running. Then you should see an error message if outlook is not able to load the plugin. If the error message contains something about permissions, your plugin probably has no rights to run the plugin code. Yours, Steffen |
#4
|
|||
|
|||
![]()
It doesn't work.
The version of outlook is 2003 and the VSTO is 2003 too. -- --RB "Ken Slovak - [MVP - Outlook]" wrote: If that doesn't help then post back with the Outlook versions you're supporting, the version of VSTO you're using, what the upgrade is from and any other relevant information. Also post what changes you made when you upgraded. -- 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 "Steffen Heinzl" wrote in message ... rbarrios73 wrote: Hello, We have an outlook add-in included in our application, it is added to outlook and when it is clicked by user can navigate to our application. To install this add-in, we use the following link http://msdn2.microsoft.com/en-gb/lib...07(VS.80).aspx to add different keys at the registry. At this point we upgrade the version of our application and everything looks fine on registry but the add-in is not installed. Basically my question is about some tool to trace the load process of the add-in to check what is the error. Some help will be appreciate. Hi! It might be a security issue. You can set the environment variable VSTO_SUPPRESSDISPLAYALERTS to the value 0 on the computer where VSTO 2005 is running. Then you should see an error message if outlook is not able to load the plugin. If the error message contains something about permissions, your plugin probably has no rights to run the plugin code. Yours, Steffen |
#5
|
|||
|
|||
![]()
Did you set security for the deployed addin?
Does it work when run in debug mode on the development computer? What did you upgrade from where it was working? Please also supply the other information that was requested so we don't have to guess or play 20 questions. -- 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 "rbarrios73" wrote in message ... It doesn't work. The version of outlook is 2003 and the VSTO is 2003 too. -- --RB |
#6
|
|||
|
|||
![]()
Did you set security for the deployed addin?
No, I didn't Does it work when run in debug mode on the development computer? Yes, it does What did you upgrade from where it was working? We upgraded our application, but the outlook addin didn't change and the installer neither. For more information: The outlook add in is compiled and the installer write several keys at registry following the steps at link: http://msdn2.microsoft.com/en-gb/lib...07(VS.80).aspx When the outlook is launched the outlook add in is not loaded and the property LoadBehaivour is changed from 3 to 2 I don't knowexactly what is the error, I suppose is something wrong on registry but I am not sure. Thanks, -- --RB "Ken Slovak - [MVP - Outlook]" wrote: Did you set security for the deployed addin? Does it work when run in debug mode on the development computer? What did you upgrade from where it was working? Please also supply the other information that was requested so we don't have to guess or play 20 questions. -- 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 "rbarrios73" wrote in message ... It doesn't work. The version of outlook is 2003 and the VSTO is 2003 too. -- --RB |
#7
|
|||
|
|||
![]()
The problem is security. A VSTO addin requires full trust for the
installation folder. That's automatically done when you run in debug mode. In deployments you need to do that using custom actions and SetSecurity project you add to your addin project. See the deployment walkthrough (2 part) starting at http://msdn.microsoft.com/library/de...erOverview.asp -- 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 "rbarrios73" wrote in message ... Did you set security for the deployed addin? No, I didn't Does it work when run in debug mode on the development computer? Yes, it does What did you upgrade from where it was working? We upgraded our application, but the outlook addin didn't change and the installer neither. For more information: The outlook add in is compiled and the installer write several keys at registry following the steps at link: http://msdn2.microsoft.com/en-gb/lib...07(VS.80).aspx When the outlook is launched the outlook add in is not loaded and the property LoadBehaivour is changed from 3 to 2 I don't knowexactly what is the error, I suppose is something wrong on registry but I am not sure. Thanks, -- --RB |
#8
|
|||
|
|||
![]()
It is corect, but everything looks fine in my computer with full trust but
it doesn't work yet. Basically, I am adding the following keys at the registry and doing some other operations and when the outlook try to load the addin the loadbehaivour property is changed from 3 to 2 and the addin is disabled. After that although I changed the property it is no worked. Keys and code : gacutil.exe /silent /i "$INSTDIR\Microsoft.Office.Interop.Outlook.dll " copy "..\..\..\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies\extensibility.dl l" copy ...\..\..\..\Projects\${ROOT}\OutlookAddIn\bin\Rel ease\OutlookAddIn.dll regasm.exe /nologo /silent "$INSTDIR\OutlookAddIn.dll" /tlb:"$INSTDIR\OutlookAddIn.tlb" /codebase' #create Outlookaddin keys WriteRegStr HKLM "SOFTWARE\Microsoft\Office\Outlook\Addins\OutlookA ddIn.Connect" "Description" "This Outlook Add-In will provide access to Relationship Manager functionality" WriteRegDWORD HKLM "SOFTWARE\Microsoft\Office\Outlook\Addins\OutlookA ddIn.Connect" "LoadBehavior" 3 WriteRegStr HKLM "SOFTWARE\Microsoft\Office\Outlook\Addins\OutlookA ddIn.Connect" "FriendlyName" "Relationship Manager Add-In" WriteRegStr HKLM "SOFTWARE\Classes\OutlookAddIn.Connect" "" "FTI.Investran.OutlookAddIn.Connect" WriteRegStr HKLM "SOFTWARE\Classes\OutlookAddIn.Connect\CLSID" "" "{26CFC875-F091-43B2-8ACB-E24FBE77FAD0}" All this operation are working fine. But maybe I need to do another thing. I hope any other idea. Thanks, -- --RB "Ken Slovak - [MVP - Outlook]" wrote: The problem is security. A VSTO addin requires full trust for the installation folder. That's automatically done when you run in debug mode. In deployments you need to do that using custom actions and SetSecurity project you add to your addin project. See the deployment walkthrough (2 part) starting at http://msdn.microsoft.com/library/de...erOverview.asp -- 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 "rbarrios73" wrote in message ... Did you set security for the deployed addin? No, I didn't Does it work when run in debug mode on the development computer? Yes, it does What did you upgrade from where it was working? We upgraded our application, but the outlook addin didn't change and the installer neither. For more information: The outlook add in is compiled and the installer write several keys at registry following the steps at link: http://msdn2.microsoft.com/en-gb/lib...07(VS.80).aspx When the outlook is launched the outlook add in is not loaded and the property LoadBehaivour is changed from 3 to 2 I don't knowexactly what is the error, I suppose is something wrong on registry but I am not sure. Thanks, -- --RB |
#9
|
|||
|
|||
![]()
Did you read those walkthroughs I pointed you to? I mentioned that you have
to include the SetSecurity project and set the various custom actions. You also have to sign your code and take care of the various other things mentioned. -- 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 "rbarrios73" wrote in message ... It is corect, but everything looks fine in my computer with full trust but it doesn't work yet. Basically, I am adding the following keys at the registry and doing some other operations and when the outlook try to load the addin the loadbehaivour property is changed from 3 to 2 and the addin is disabled. After that although I changed the property it is no worked. Keys and code : gacutil.exe /silent /i "$INSTDIR\Microsoft.Office.Interop.Outlook.dll " copy "..\..\..\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies\extensibility.dl l" copy ..\..\..\..\Projects\${ROOT}\OutlookAddIn\bin\Rele ase\OutlookAddIn.dll regasm.exe /nologo /silent "$INSTDIR\OutlookAddIn.dll" /tlb:"$INSTDIR\OutlookAddIn.tlb" /codebase' #create Outlookaddin keys WriteRegStr HKLM "SOFTWARE\Microsoft\Office\Outlook\Addins\OutlookA ddIn.Connect" "Description" "This Outlook Add-In will provide access to Relationship Manager functionality" WriteRegDWORD HKLM "SOFTWARE\Microsoft\Office\Outlook\Addins\OutlookA ddIn.Connect" "LoadBehavior" 3 WriteRegStr HKLM "SOFTWARE\Microsoft\Office\Outlook\Addins\OutlookA ddIn.Connect" "FriendlyName" "Relationship Manager Add-In" WriteRegStr HKLM "SOFTWARE\Classes\OutlookAddIn.Connect" "" "FTI.Investran.OutlookAddIn.Connect" WriteRegStr HKLM "SOFTWARE\Classes\OutlookAddIn.Connect\CLSID" "" "{26CFC875-F091-43B2-8ACB-E24FBE77FAD0}" All this operation are working fine. But maybe I need to do another thing. I hope any other idea. Thanks, -- --RB |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Add-In to add a CC address to outgoing email | Kevin Tambascio | Add-ins for Outlook | 2 | November 11th 06 10:24 PM |
How do remove a COM Add-In that is not listed in the Add-In box? | RI Kid | Outlook - Installation | 3 | September 28th 06 09:02 PM |
How do i add automatically add internet websites viewed to MS Out. | Michael Adolph | Outlook - Installation | 0 | September 13th 06 05:11 PM |
How to add dynamically add controls in Outlook 2003 | Rahul | Outlook and VBA | 5 | May 8th 06 02:38 PM |
How to add dynamically add controls in Outlook 2003 | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 4 | May 8th 06 02:38 PM |