Hi
Friends in a winform I have a button called uninstall .Upon clicking on this button I want to uninstall certain software say for example winamp and also I want to know how to end a process say spool.exe that is running. We can do this by clicking remove in the add/remove programs of control panel and clicking the end process button in the task manager but I want to do it in my program say form1.cs button click event?
plz help
thanks
Loading
Roei BarPosted Sep 5, 2009, 5:19 AM
in order to kill a process here is a code snippet:
in order to uninstall a program you can either do that by msi like this :
or by registry information, like this for