以编程方式卸载Internet Explorer [英] Programmatically uninstall Internet Explorer

查看:94
本文介绍了以编程方式卸载Internet Explorer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试以编程方式卸载Internet Explorer。客户和我的主管对此任务的约束意味着我将不得不使用C ++或C.



总的来说我的问题是,如何卸载Internet资源管理器使用C ++或C?



程序应该卸载任何版本的Internet Explorer,从早期版本到最新版本。



我自己的研究结果没有结果,所以我想了解如何处理这项任务。

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.

推荐答案

您需要在 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall 或<$中找到该产品的注册表项。 c $ c> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall 注册表,并在相应的键值中运行卸载脚本。 MSDN中有一节介绍如何在 http://msdn.microsoft.com安装(和卸载) /en-us/library/ms954376.aspx [ ^ ]。
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[^].






试着看看这个帖子这里



希望这会有所帮助。



祝你好运。

JK
Hi,

try to look at this thread here.

Hope this helps.

Best regards.
J.K.


这篇关于以编程方式卸载Internet Explorer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆