![]() |
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
|
|||
|
|||
![]()
We are using VS.NET setup project to create add-in setup project for outlook
add-in created in VSTO outlook 2007 c#. we added a strong key to project . Setup project created successfully. and deployed without any issue. however when we restarted outlook , our add-in doesnot loaded. we checked tools-trust center- add-in. option in menu bar of outlook. there is no entry for our add-in. we searched register for entry for our add-in . but there is no entry for our register. is there any steps we need to follow for setip project created in VSTO. |
Ads |
#2
|
|||
|
|||
![]()
If there is no registry entry for Outlook at
HKCU\Software\Office\Outlook\Addins\ for your addin or in the equivalent HKLM registry entry then that's the problem right there. Your addin must be registered for Outlook to find and start it. Did you follow the steps in the deployment walkthrough where it tells how to set up the registry? You need values under your addin entry for LoadBehavior, CommandLineSafe, Description and FriendlyName. -- 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 "Neetu" wrote in message ... We are using VS.NET setup project to create add-in setup project for outlook add-in created in VSTO outlook 2007 c#. we added a strong key to project . Setup project created successfully. and deployed without any issue. however when we restarted outlook , our add-in doesnot loaded. we checked tools-trust center- add-in. option in menu bar of outlook. there is no entry for our add-in. we searched register for entry for our add-in . but there is no entry for our register. is there any steps we need to follow for setip project created in VSTO. |
#3
|
|||
|
|||
![]()
Hello Ken,
Thanks For Reply. we are able to create a setup project using VS.net project setup type. we have create another class library project for caspol ( giving full permission to access).In setup project we are putting a .net DLL into GAC using "Add sepcial folder" option. This DLL is beign used inside out addin project. we have a COM dll used by .NET DLL which need to register at client machine. we add File for setup project and changed property of it as Register value to vsdraCOM however it is not registered inside register. we have gone through number of tutorials for registering a com dll into client machine via setup project, however we are not able to do same inside add-in. eg http://blogs.msdn.com/omars/archive/...28/122321.aspx our setup project work fine if we register COm DLL using command line regsvr32 path of COMDLL. Please suggest some solution if there is any fix. "Ken Slovak - [MVP - Outlook]" wrote: If there is no registry entry for Outlook at HKCU\Software\Office\Outlook\Addins\ for your addin or in the equivalent HKLM registry entry then that's the problem right there. Your addin must be registered for Outlook to find and start it. Did you follow the steps in the deployment walkthrough where it tells how to set up the registry? You need values under your addin entry for LoadBehavior, CommandLineSafe, Description and FriendlyName. -- 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 "Neetu" wrote in message ... We are using VS.NET setup project to create add-in setup project for outlook add-in created in VSTO outlook 2007 c#. we added a strong key to project . Setup project created successfully. and deployed without any issue. however when we restarted outlook , our add-in doesnot loaded. we checked tools-trust center- add-in. option in menu bar of outlook. there is no entry for our add-in. we searched register for entry for our add-in . but there is no entry for our register. is there any steps we need to follow for setip project created in VSTO. |
#4
|
|||
|
|||
![]()
Have you tried creating a custom action that calls a script that runs
regsvr32 on that dll? -- 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 "Neetu" wrote in message ... Hello Ken, Thanks For Reply. we are able to create a setup project using VS.net project setup type. we have create another class library project for caspol ( giving full permission to access).In setup project we are putting a .net DLL into GAC using "Add sepcial folder" option. This DLL is beign used inside out addin project. we have a COM dll used by .NET DLL which need to register at client machine. we add File for setup project and changed property of it as Register value to vsdraCOM however it is not registered inside register. we have gone through number of tutorials for registering a com dll into client machine via setup project, however we are not able to do same inside add-in. eg http://blogs.msdn.com/omars/archive/...28/122321.aspx our setup project work fine if we register COm DLL using command line regsvr32 path of COMDLL. Please suggest some solution if there is any fix. |
#5
|
|||
|
|||
![]() Hello Ken, we didn't tried for script file to register com dll. Acutally we are not able to find a way to add acript file and give the full path of com dll for regsvr32 command. "Ken Slovak - [MVP - Outlook]" wrote: Have you tried creating a custom action that calls a script that runs regsvr32 on that dll? -- 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 "Neetu" wrote in message ... Hello Ken, Thanks For Reply. we are able to create a setup project using VS.net project setup type. we have create another class library project for caspol ( giving full permission to access).In setup project we are putting a .net DLL into GAC using "Add sepcial folder" option. This DLL is beign used inside out addin project. we have a COM dll used by .NET DLL which need to register at client machine. we add File for setup project and changed property of it as Register value to vsdraCOM however it is not registered inside register. we have gone through number of tutorials for registering a com dll into client machine via setup project, however we are not able to do same inside add-in. eg http://blogs.msdn.com/omars/archive/...28/122321.aspx our setup project work fine if we register COm DLL using command line regsvr32 path of COMDLL. Please suggest some solution if there is any fix. |
#6
|
|||
|
|||
![]()
Well, if that dll needs registration you will have to find a way to provide
the path to a script to register it, or get it to be self-registering, or write code in your application to check for registration of the dll in the registry and if it's not there then call out to a script or shell command to register it, or find some other way. Or you can use to use LoadLibrary and call into the dll without registration. -- 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 "Neetu" wrote in message ... Hello Ken, we didn't tried for script file to register com dll. Acutally we are not able to find a way to add acript file and give the full path of com dll for regsvr32 command. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
outlook addin setup problem - created using vsto | suman | Outlook - Using Forms | 1 | July 16th 07 10:11 PM |
Outlook Addin | Martin | Outlook and VBA | 1 | May 17th 07 02:29 PM |
Outlook Maps Addin | Walter Blanchard | Add-ins for Outlook | 0 | April 7th 07 06:16 PM |
A different problem with Outlook Addin | Ram | Add-ins for Outlook | 1 | April 24th 06 02:31 PM |
Outlook addin help | Melbin | Outlook - Using Forms | 0 | January 24th 06 12:12 PM |