Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / May 2008

Tip: Looking for answers? Try searching our database.

outlook addin setup

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Neetu - 30 Apr 2008 14:27 GMT
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] - 30 Apr 2008 15:00 GMT
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.

Signature

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

> We are using VS.NET setup project to create add-in setup project for
> outlook
[quoted text clipped - 8 lines]
> our register.
> is there any steps we need to follow for setip project created in VSTO.
Neetu - 05 May 2008 11:01 GMT
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.

> If there is no registry entry for Outlook at
> HKCU\Software\Office\Outlook\Addins\ for your addin or in the equivalent
[quoted text clipped - 17 lines]
> > our register.
> > is there any steps we need to follow for setip project created in VSTO.
Ken Slovak - [MVP - Outlook] - 05 May 2008 15:28 GMT
Have you tried creating a custom action that calls a script that runs
regsvr32 on that dll?

Signature

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

> Hello Ken,
>
[quoted text clipped - 24 lines]
>
> Please suggest some solution if there is any fix.
Neetu - 07 May 2008 05:11 GMT
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.

> Have you tried creating a custom action that calls a script that runs
> regsvr32 on that dll?
[quoted text clipped - 27 lines]
> >
> > Please suggest some solution if there is any fix.
Ken Slovak - [MVP - Outlook] - 07 May 2008 14:08 GMT
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.

Signature

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

> Hello Ken,
>
[quoted text clipped - 3 lines]
> full
> path of com dll for regsvr32 command.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.