Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   outlook addin setup (http://www.outlookbanter.com/add-ins-outlook/71209-outlook-addin-setup.html)

Neetu April 30th 08 02:27 PM

outlook addin setup
 
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.

Ken Slovak - [MVP - Outlook] April 30th 08 03:00 PM

outlook addin setup
 
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.



Neetu May 5th 08 11:01 AM

outlook addin setup
 
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.




Ken Slovak - [MVP - Outlook] May 5th 08 03:28 PM

outlook addin setup
 
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.



Neetu May 7th 08 05:11 AM

outlook addin setup
 

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.




Ken Slovak - [MVP - Outlook] May 7th 08 02:08 PM

outlook addin setup
 
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.




All times are GMT +1. The time now is 12:25 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com