473,387 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Uninstall Outlook Add-In

I've built a custom add-in for outlook that works just fine. It places a
toobar button on the standard toolbar. I created the program in reference to
http://msdn.microsoft.com/library/de...ol03csharp.asp

When I unistall the add-in the toolbar button is still visible upon next
start of outlook and needs to be deleted manually.

How can this be done automatically when uninstalling the add-in? Can the
setup-project in VS be modified?

Thanks, Dave
Jan 2 '06 #1
2 2263
David,

I don't think that it can be done automatically when the add-in is
uninstalled.

However, if I recall correctly, there is a flag on the command bar class
indicating whether or not it should be persisted (saved) between sessions.
I would set this to false, and then just recreate the toolbar each time the
session is opened.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"David Meier" <Da********@discussions.microsoft.com> wrote in message
news:0E**********************************@microsof t.com...
I've built a custom add-in for outlook that works just fine. It places a
toobar button on the standard toolbar. I created the program in reference
to
http://msdn.microsoft.com/library/de...ol03csharp.asp

When I unistall the add-in the toolbar button is still visible upon next
start of outlook and needs to be deleted manually.

How can this be done automatically when uninstalling the add-in? Can the
setup-project in VS be modified?

Thanks, Dave

Jan 2 '06 #2
Thank you Nicholas. Setting the temporary flag to true works as intended.

Dave.

"Nicholas Paldino [.NET/C# MVP]" wrote:
David,

I don't think that it can be done automatically when the add-in is
uninstalled.

However, if I recall correctly, there is a flag on the command bar class
indicating whether or not it should be persisted (saved) between sessions.
I would set this to false, and then just recreate the toolbar each time the
session is opened.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"David Meier" <Da********@discussions.microsoft.com> wrote in message
news:0E**********************************@microsof t.com...
I've built a custom add-in for outlook that works just fine. It places a
toobar button on the standard toolbar. I created the program in reference
to
http://msdn.microsoft.com/library/de...ol03csharp.asp

When I unistall the add-in the toolbar button is still visible upon next
start of outlook and needs to be deleted manually.

How can this be done automatically when uninstalling the add-in? Can the
setup-project in VS be modified?

Thanks, Dave


Jan 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rick Muller | last post by:
I've been trying to figure out whether there are any plans to add an "uninstall" feature to the Python distutils. Googling has found several people posting the same question, but, to the best of my...
0
by: Marcel Stör | last post by:
Hi all, I'm trying to add a user property to an Outlook contact item. VisualStudio tells me that the method signature was like this: UserProperties.Add(string Name,Outlook.OlUserPropertyType...
1
by: Jonathan Pinto | last post by:
I was wondering if it would be possible to snapshot an access report to Outlook, and have fields come in the To: and Cc: fields, and also the subject field of the email as well. Right now, I am...
2
by: Pengyu Hong | last post by:
How to build an uninstall program for an installation program I created? Thanks a lot, Pengyu.
4
by: Nicole | last post by:
I found this code below to use to send emails using VB with Outlook. However, it gives these errors. 'Send' is ambiguous across the inherited interfaces 'Outlook._MailItem' and...
4
by: Ray | last post by:
Dear all, Now, I have to go to the control panel to remove the installed deployment manually. Is there any method to generate an uninstall exe for the user to remove the deployment? Thanks a lot,...
0
by: androidsun | last post by:
I am getting an error message when launching VS2003. It says "MS Development Environment has not been installed for the current user. Please run setup to install the application." I used...
3
by: mwolowski | last post by:
Hello, I'd like to add tasks, appointments, etc using c# to outlook For example i added reference using OutLook = Microsoft.Office.Interop.Outlook; and the code: 1. ---------------------...
4
by: Andy | last post by:
Hi, I have a C# application and I'd like it to use Outlook 2003 to send messages. I don't want to send them programmaticlly though; I just want to open the New Messge window, set the...
0
by: DianaC | last post by:
Hi. I have to generate and send emails from C#.net 2.0 and have to use outlook. I am using Redemption to bypass the outlook security checks, but have the same problem when using CDO. I create an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.