473,382 Members | 1,390 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,382 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 1586
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.