473,388 Members | 1,064 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,388 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 1588
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: VK | last post by:
My original idea of two trains, however pictural it was, appeared to be wrong. The truth seems to be even more chaotic. IE implements its standard down-up model: any mouse event goes from the...
2
by: jva02 | last post by:
Hi, I'm confused why I can capture an event fired by an ActiveX object when it's loaded via an <object> tag, but not when loaded using "new ActiveXObject". Here's a basic example: vb ActiveX...
3
by: Logan Mckinley | last post by:
I need to be able to detect mouse movement even when it is not over my application. I can get the mouse cords using MousePosition but I am not sure if there is an event that hits my program when...
4
by: feng | last post by:
Hi, In our asp.net app, we need to capture the event when user close the browser window by clicking on the "x" button. But it doesn't seem to be as easy as it sound. Can someone show me how to...
2
by: Mark | last post by:
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...
7
by: RobKinney1 | last post by:
The subject line sounds a little funny, let me quickly explain: I have created a custom control using ComboBox. But inside my class, I need to know when the user does NOT click my control. Of...
8
by: Ken Sturgeon | last post by:
I have a button inside a panel control. Apparently I can't expect VB to respond to the button's _Click event. How do I capture the click event? Thanks Ken
5
by: jimmy | last post by:
Hi all, I want to capture the event when the browser's close button is clicked in an html page. I tried using the event.ClientX and event.ClientY property in the body unload event, and this...
9
by: Hirru | last post by:
Hi................., i want to capture event from vb dll file in javascript,actually i can already access all the function of that dll from javascript but i don know how to capture event raised by...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.