Wednesday, June 23, 2021

Script for an Unattended WinZip Uninstall

Here’s a small batch file from Steve Shockley that will allow you to perform an unattended uninstall of the WinZip application (in other words, no user prompts during the uninstall). The VBScript deploys an undocumented WinZip command via SMS to uninstall the application. Feedback is welcomed from the author.

Download the wzkill.vbs file.

SMS Scripts list.

The contents of the batch file are as follows:

' Uninstall WinZip
' This script uninstalls WinZip 8.0 cleanly with no user prompting
' Steve Shockley, 08Nov2001

On Error Resume Next
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")


sub main()

'Let's find out where WinZip is installed

App Pathswinzip32.exe")

Set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.Run WZPath & " /uninstallx",0,TRUE

FullWZPath = replace(WZPath, "PROGRA~1", "Program Files")


end sub

function regget(value)
  on error resume next
  Set regedit = CreateObject("WScript.Shell")
end function

function DeleteAFolder(filespec)
Dim fso
on error resume next
Set fso = CreateObject("Scripting.FileSystemObject")
end function

Disclaimer: We hope that the information in these pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided “as -is”, without any warranty, whether express or implied, of its accuracy, completeness, fitness for a particular purpose, title or non-infringement, and none of the third-party products or information mentioned in the work are authored, recommended, supported or guaranteed by me. We shall not be liable for any damages you may sustain by using this information, whether direct, indirect, special, incidental or consequential, even if it has been advised of the possibility of such damages.

Similar articles

Latest Articles

3 AI Implementations That...

I was on a joint educational call for the World Talent Economic Economic forum on mobile computing this week. We drifted to topics that...

Survey of Site Reliability...

NEW YORK — Site reliability engineers (SREs) are warning of a looming scalability ceiling and saying the adoption of AIOps isn’t happening at a...

Druva Integrates sfApex to...

SUNNYVALE, Calif. — A maker of software for cloud data protection and management is helping companies safeguard essential customer data that their sales and...

Best Data Science Tools...

Data science has transformed our world. The ability to extract insights from enormous sets of structured and unstructured data has revolutionized numerous fields —...