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

Outlook Add-In



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 21st 06, 10:33 PM posted to microsoft.public.outlook.program_addins
rbarrios73
external usenet poster
 
Posts: 4
Default Outlook Add-In

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  
Old November 22nd 06, 12:21 PM posted to microsoft.public.outlook.program_addins
Steffen Heinzl
external usenet poster
 
Posts: 14
Default Outlook Add-In

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  
Old November 22nd 06, 02:47 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-In

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  
Old November 22nd 06, 03:52 PM posted to microsoft.public.outlook.program_addins
rbarrios73
external usenet poster
 
Posts: 4
Default Outlook Add-In

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  
Old November 22nd 06, 04:19 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-In

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  
Old November 22nd 06, 04:47 PM posted to microsoft.public.outlook.program_addins
rbarrios73
external usenet poster
 
Posts: 4
Default Outlook Add-In

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  
Old November 22nd 06, 06:35 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-In

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  
Old November 24th 06, 03:27 PM posted to microsoft.public.outlook.program_addins
rbarrios73
external usenet poster
 
Posts: 4
Default Outlook Add-In

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  
Old November 26th 06, 07:47 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Add-In

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


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