我的开源: UnInstaller for Windows(VBScript)
来源:互联网 发布:柯蓝 知乎 编辑:程序博客网 时间:2024/05/17 23:17
简介
要卸载一个安装的软件,需要知道它的卸载信息,大多数软件在安装时都会在Registry中注册卸载信息。一般情况,对于使用MSI方式安装的软件,都使用一个Key来记录,并可使用下面命令卸载,可是这个key不好记忆,也因不同版本而不同,很不容易管理;另外使用msiexec卸载软件,需要一个一个地进行,不能同时运行;而且使用Windows的卸载界面不适合管理多电脑环境。
msiexec /x {key}
使用软件的名称来卸载软件,更加直观和方便,这就是本脚本的初衷。
本脚本适用于Windows XP, Vista, 7,x86和x64版本
功能:
本脚本实现以下一些功能:
- 列表:列出所有已安装的程序信息,信息包括:{key},软件名称,安装日期,主版本,次版本,估计大小,卸载Version命令,发布者,显示版本,和安装路径。并且可以列出指定名称/版本等程序信息的程序:通过给定的软件名称,版本等过滤选项,显示该软件的程序信息。
- 列卸载信息:列出指定名称/版本等信息的程序卸载信息,通过给定的软件名称,版本等过滤选项,显示软件名称和卸载命令。
- 卸载:根据指定名称/版本等信息卸载程序:通过给定的软件名称,版本等过滤选项,卸载该(多个)软件。
过滤选项:
目前支持对软件名称(Display Name),主版本(Major Version),次版本(Minor Version),显示版本(Display Version)作为过滤选项,用户可以通过制定这些过滤选项的一个或者多个的组合,来找到所要的软件信息。
卸载选项:
客户可以指定卸载程序的选项,以适合自己的情况。比如: MSI的安静卸载选项可能使用:
/quiet /norestart或者/qr /norestart
对于其它卸载程序,可能使用/s等。
下载:
本脚本使用GNU GPL v2协议方式共享,在Google项目里下载源码。
软件说明信息:
' ---------------------------------------------------------------------------' Name: Uninstaller for Windows'' Version 0.1' Support Windows Xp, Vista, 7 (x86 or x64)'' History:' Created: May 14, 2012' Updates: June 20, 2012: Initial'' Description: ' This script list/test/uninstall a program. User can provide commands/options' to specify program to be operated.' For help, run: cscript Uninstaller.vbs /h'' Copyright (c) 2012, Tony Liu'' This program is free software; you can redistribute it and/or' modify it under the terms of the GNU General Public License' as published by the Free Software Foundation; either version 2' of the License, or (at your option) any later version.'' This program is distributed in the hope that it will be useful,' but WITHOUT ANY WARRANTY; without even the implied warranty of' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the' GNU General Public License for more details.'' You should have received a copy of the GNU General Public License' along with this program; if not, write to the Free Software' Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.'' Contact: Tonyliu2ca@gmail.com'
Tony Liu
June 2012
- 我的开源: UnInstaller for Windows(VBScript)
- 我的开源: UnInstaller for Windows(VBScript)更新
- 我写的Javascript/VBScript函数,
- 查看windows脚本版本的vbscript代码
- When I use ExecWait uninstaller.exe it doesn't wait for the uninstaller
- Cannot find utCompiledCode record for this version of the uninstaller
- 晕,我的VBSCRIPT语法还没过关
- 用VBScript实现对Windows注册表的修改
- 用VBScript实现对Windows注册表的修改
- [4月18日的脚本] 更新Windows 8 (VBScript)
- windows下简单的vbscript自动发送邮件--带附件
- 使用VBscript变下的Windows系统下载器脚本
- 我的JavaScript for Visual Studio插件开源了
- Win10 必备的卸载利器 IObit Uninstaller 6
- Vbscript: Check Windows Service State
- Windows下的for
- 8,10,16,36,62进制之间的转换for vb/vbscript
- VBscript 类的设计
- 黑马程序员-反射知识总结
- SQL Server 2005修改实例名的方法
- 如何选择sql server 2005的网络协议
- 分享Silverlight/Windows8/WPF/WP7/HTML5周学习导读(6月18日-6月24日)
- How to test a whiteboard? 如何测试一个白板
- 我的开源: UnInstaller for Windows(VBScript)
- Datatable的Select()方法简介
- 讲故事的能力
- c#中的MD5加密字符串和加密文件
- 浅谈简约四策略(三)
- mov指令的操作数的取值范围到底是多少
- 【转】ARM获得PC指针为何PC=PC+8[上](转)
- 【转】ARM获得PC指针为何PC=PC+8[下](转)
- 第一天工作