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 / April 2008

Tip: Looking for answers? Try searching our database.

How To Remove An Outlook Add-in

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JRomeo - 25 Apr 2008 18:36 GMT
Hi:

I'm about to deploy an Outlook 2003 add-in, developed using VSTO SE, and I'm
currently developing a rollback plan. Are there any resources available that
show how to cleanly remove an add-in? The add-in adds a control to the
standard toolbar of selected Inspectors along with an event handler used for
when the control is clicked. Thanks.

Jerry

Signature

Tip: Never eat yellow snow.

Ken Slovak - [MVP - Outlook] - 25 Apr 2008 20:10 GMT
Rollback from what, the installation? Deleting the toolbar you create when
the Inspector or Explorer closes plus declaring it as temporary when you
create it is the usual best practice. The usual setting of all objects to
null (Nothing) when the procedure where they are used should be done, as
should removing any event handler in the Close event. Beyond that I usually
get rid of my global or connect class Outlook objects in my Teardown()
method, called from Shutdown() or Explorer.Close() when the last Explorer
closes and there are no Inspectors, by calling Marshal.ReleaseComObject() on
each and then calling GC.Collect() followed by GC.WaitForPendingFinalizers.

Any files added during installation or registry entries added during
installation will be removed by uninstalling. Anything added on the fly
should be removed using custom actions.

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

> Hi:
>
[quoted text clipped - 8 lines]
>
> Jerry
 
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.