This can be used in many cases. Admins can push this out to clients if needed instead or running to every computer. The batch file uses the Windows installer utility. It is easy to create, however it takes some time to find the correct information needed…. Let's get started! A lot of Windows applications can be uninstalled using MsiExec. You need the uninstall string like dbeato mentioned, and assuming you're probably going to want to use it silently no GUI or user interaction the command would look like this:.
This is what you're looking for. A batch command to uninstall,upgrade or install an application. You don't need to know the path of the application. It's using UninstallString in the registry to remove the software which is a lot stable than wmic.
I found wmic can only uninstall a few applications e. Java successfully on Windows I would like to add that you can uninstall windows service with the help of Action1 much more easier. For more info on command line options for installutil.
I have found that it is always better to use a good install project that to use batch files for installing an app. Several projects at work were written in the days of Windows NT and early Windows XP and use simple batch files for installation. During those times, converting the batch file to an install packed is more trouble than a simple tweak.
Some of the most notable features of Bulk Crap Uninstaller:. The main feature of BCUninstaller is its ability to fully or nearly fully automate the process of uninstalling multiple applications.
0コメント