Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / VS Tools for Office / December 2006

Tip: Looking for answers? Try searching our database.

VSTO 2005 SE: Remove custom folders during the uninstall process...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pablo Alvarez - 27 Dec 2006 04:33 GMT
Hi all again,

  And now for the second question :) I think it's better to keep them on
different threads.
  I am trying to devise a method in which I can delete the folders I've
created in my plugin during the uninstall process. The problem I'm
experiencin right now is that, in order to access the folders to delete and
so on, Outlook must be running (quite obvious XD). How can I do this from
the uninstaller? Some registry entry? any kind of script to edit the pst
offline?

  Any tip would be greatly appreciated.

Cheers!
Pablo
Ken Slovak - [MVP - Outlook] - 27 Dec 2006 14:42 GMT
To access the PST file you must either use Outlook code or an alternative
API that allows logging into a PST file without using Outlook code. CDO 1.21
can do that but is not supported for .NET code, nor is Extended MAPI (C++ or
Delphi only anyway). You could use a .NET safe 3rd party library such as
Redemption (www.dimastr.com/redemption) but I'd probably just automate
Outlook using a custom action in the uninstaller.

Doing so may bring up prompts to log into Outlook if the user has set to
prompt on starting Outlook. A custom action script might also be blocked
from running by a script stopper, such as the ones in various anti-virus
products.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hi all again,
>
[quoted text clipped - 11 lines]
> Cheers!
> Pablo

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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.