有没有卸载程序批处理窗口? [英] Is there Uninstall a program batch for windows?

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

问题描述

我有几个项目我想从我的计算机上卸载(Windows 7的64位)。

I have several programs I want to uninstall from my computer (Windows 7 64bit).

有一批\\脚本,可以帮助我做到这一点?或者我需要一个从控制面板做到这一点呢?

Is there a batch\script that can help me do it? or I need to do it one by one from Control Panel?

如果没有为Windows 7,有没有这样的事情在XP?

If there isn't for Windows 7, is there something like this in XP?

谢谢,
多尔。

thanks, Dor.

推荐答案

有是不是一个真正的卸载命令一种在cmd中,我所知道的事情。不过,您可以查询此的注册表项

There isn't really an uninstall command kind of thing in cmd that I know of. You could however query this reg key

HKEY_LOCAL_MACHINE \\ SOFTWARE \\微软\\的Windows \\ CurrentVersion \\卸载

(可能还需要检查 HKEY_LOCAL_MACHINE \\ SOFTWARE \\ Wow6432Node \\微软\\的Windows \\ CurrentVersion \\卸载如果你是一个64位计算机上)

(might also need to check HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall if you're on a 64-bit machine)

要找到您要卸载的程序。每个人都会有一个 UninstallString 值会告诉你的路径,程序卸载程序文件,然后你可以通过调用它的完整路径和文件名执行。

to find the program you want to uninstall. Each one will have an UninstallString value which will tell you the path to the programs uninstaller file which you can then execute by calling it's full path and filename.

如果卸载程序恰好是一个MSI可以使用

If the uninstaller happens to be an msi you can use

MSIEXEC /卸载/ X 静默卸载它。这是关于你一样可以用批量我觉得做的。

msiexec /uninstall /x to silently uninstall it. This is about as much as you can do with batch I think.

希望这有助于!

这篇关于有没有卸载程序批处理窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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