471,618 Members | 1,156 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 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 2206
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Rick Muller | last post: by
1 post views Thread by Jonathan Pinto | last post: by
2 posts views Thread by Pengyu Hong | last post: by
3 posts views Thread by mwolowski | last post: by
4 posts views Thread by Andy | last post: by
reply views Thread by leo001 | last post: by
1 post views Thread by ZEDKYRIE | last post: by

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.