Sometimes you have the need for removing software from the command-line… for instance from a batch file or locin script.
The easiest way is using msiexec.exe.
Example (removing McAfee Virusscan 7.1):
msiexec.exe /x C:Program FilesNetwork AssociatesVirusScanRepairCachevse710.msi /q
This uses the msi packet to delete the software
msiexec.exe /x {59224777-298D-4E9C-9AEB-4A91BDA01B27} /q
and this uses the guid.
The GUID can be found using regedit at:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
Leave a Reply