Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to programmatically uninstall Internet Explorer. The constraints put on this task by the client and my supervisor mean I will have to do so using C++ or C.

Overall my question is, how can I uninstall Internet Explorer using C++ or C?

The program should uninstall any version of Internet Explorer, from early versions to the most recent ones.

My own research turned up no results, so I'd like some input on how to approach this task.
Posted
Comments
Philippe Mori 16-May-13 18:39pm    
It is up to the user to deactivate it if he does not want to use it. This is an end user decision and should be done by the end user (or in a company by the administrator). You should never write a software that mess with the system. And if the system is not otherwise protected, it is almost useless to do so as anyone could reactivate it or download it again. By the way, it look very suspicious.

You need to find the registry keys for the product in the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall registry, and run the uninstall script in the appropriate key value. There is a section in MSDN on how to install (and uninstall) at http://msdn.microsoft.com/en-us/library/ms954376.aspx[^].
 
Share this answer
 
Hi,

try to look at this thread here.

Hope this helps.

Best regards.
J.K.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900