By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,982 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,982 IT Pros & Developers. It's quick & easy.

Uninstall Outlook Add-In

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.