473,614 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1602
Add a custom type derived from System.Configur ation.Install.I nstaller 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.co m> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Add a custom type derived from System.Configur ation.Install.I nstaller 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
5726
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 deepest visible element to the top. By carefully studying fromElement and toElement properties, one can handle events on any point of their way up. NN/FF implements a "Russian hills" style: mouse events go first up->down (window->deepest...
2
5017
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 object: Private Declare Sub Sleep Lib "kernel32" (ByVal dwmilliseconds As Long)
3
9976
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 the mouse is not over my program. One idea i had was make a child form that was transparent and use the MouseMove event to keep that transparent window under the mouse but the transparent window did not catch the MouseMove event. I also tried...
4
5514
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 do this? Thanks
2
268
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 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??
7
3636
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 course, I can capture the event Click when someone clicks on the actual control, but not when they click off of it. Right now I am using the event handler myCustomControl.LostFocus, but that requires someone to click on another button or text...
8
2572
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
34359
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 helps to recognise whether the close button is clicked( also differentiates whethet refresh was clicked). The problem arises whenever i try to close the window by resizing it or by right clicking at the bottom of the page and then closing it. Can...
9
2430
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 ny vb dll file in my web page from javascript............if u have any solution plz post it as early as possible. my code is as follows <html> <head> <title></title>
0
8182
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8579
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8433
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6088
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5540
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4052
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4127
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1425
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.