Thread: Outlook Add-In
View Single Post
  #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


Ads