Introduction
To uninstall an installed software, you need to know its uninstall information. Most software will register the uninstall information in the Registry during installation. Generally, software installed Using MSI uses a key for recording and can be uninstalled using the following command. However, this key is hard to remember and varies with different versions, it is not easy to manage. In addition, msiexec can be used to uninstall software one by one and cannot run at the same time. In addition, the Windows uninstall interface is not suitable for managing multi-computer environments.
msiexec /x {key}
Using the software name to uninstall the software is more intuitive and convenient, which is the original intention of this script.
This script is applicable to Windows XP, Vista, 7, x86, and x64 versions.
Function:
This script provides the following functions:
- List: Lists All installed programs, including: {key}, software name, installation date, main version, next version, estimated size, uninstall version command, publisher, the version and installation path are displayed. You can also list programs with the specified name/version and other program information: display the program information of the software by filtering options such as the given software name and version.
- Column uninstallation information: lists the program uninstallation information of the specified name/version, and displays the software name and uninstall command by filtering options such as the specified software name and version.
- Uninstall: Uninstall a program based on the specified name/version. Uninstall the software by filtering options such as the specified software name and version.
Filter options:
Currently, the software name (display name), main version (major version), minor version (minor version), and display version are supported as the filtering option, you can specify one or more combinations of these filtering options to find the desired software information.
Uninstall option:
You can specify the program uninstallation option to suit your situation. For example, the quiet uninstall option of MSI may be used:
/quiet /norestart
Or
/qr /norestart
For other uninstall programs,/s may be used.
Download:
This script is shared using the gnu gpl v2 protocol. Download the source code from the Google Project.
Software Description:
' ---------------------------------------------------------------------------' 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
Jun 2012