471,319 Members | 1,585 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Uninstall event capture?

Hi, I have a piece of software which I install via the VS.NET 2003 setup
wizard.

What I need to do is when someone unistalls the software from a machine is
remove some data from a database pertaining to the machine the software was
installed on.

Is there an "uninstall event" or something similiar which I can use to
remove this data from the database when the software is unistalled??

Thanks
Mark
Jul 21 '05 #1
2 1520
Add a custom type derived from System.Configuration.Install.Installer to
your project.

Override the Uninstall() method.

I *think* it will be called automatically by the Windows Installer
uninstall process, but you will want to verify. If it is not called
automatically, you may have to add it as a custom action in your setup
project.
Mark wrote:
Hi, I have a piece of software which I install via the VS.NET 2003 setup
wizard.

What I need to do is when someone unistalls the software from a machine is
remove some data from a database pertaining to the machine the software was
installed on.

Is there an "uninstall event" or something similiar which I can use to
remove this data from the database when the software is unistalled??

Thanks
Mark

Jul 21 '05 #2
Thanks Joshua
"Joshua Flanagan" <jo**@msnews.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Add a custom type derived from System.Configuration.Install.Installer to
your project.

Override the Uninstall() method.

I *think* it will be called automatically by the Windows Installer
uninstall process, but you will want to verify. If it is not called
automatically, you may have to add it as a custom action in your setup
project.
Mark wrote:
Hi, I have a piece of software which I install via the VS.NET 2003 setup
wizard.

What I need to do is when someone unistalls the software from a machine is remove some data from a database pertaining to the machine the software was installed on.

Is there an "uninstall event" or something similiar which I can use to
remove this data from the database when the software is unistalled??

Thanks
Mark

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by VK | last post: by
2 posts views Thread by jva02 | last post: by
3 posts views Thread by Logan Mckinley | last post: by
2 posts views Thread by Mark | last post: by
7 posts views Thread by RobKinney1 | last post: by
5 posts views Thread by jimmy | last post: by
reply views Thread by rosydwin | 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.