outlook addin setup

N

Neetu

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

Ken Slovak - [MVP - Outlook]

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

Neetu

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/2004/04/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.
 
K

Ken Slovak - [MVP - Outlook]

Have you tried creating a custom action that calls a script that runs
regsvr32 on that dll?
 
N

Neetu

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

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top