/build/static/layout/Breadcrumb_cap_w.png

Winzip 11 Silent Uninstall

does anyone have a VBS Script for silent uninstall of winzip 11? i have tried running the Winzip32.exe /uninstallx but get the error Cannot uninstall - file c:\program files\winzip\winzip.chm is in use by another process. Also i have tried running the uninstall string in the registry that didn't work either. Any ideas would be helpful.

0 Comments   [ + ] Show comments

Answers (12)

Posted by: dunnpy 16 years ago
Red Belt
0
atsecurity,

It sounds like an aspect of Winzip is still open when you're calling the uninstall. The tray icon/helper springs to mind.
Have a look in Task Manager to see if you can see anything obvious.

It may just require a taskkill to close this down before running your uninstall.

As VBScab says "Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you."

Hope this helps,

Dunnpy
Posted by: atssecurity 16 years ago
Senior Yellow Belt
0
Nothing is running in the background no tray icon nothing. no services. this is a clean machine with nothing more then the OS on it. just a test machine where i test software. but it has been reloaded fresh everytime for a new test.
Posted by: anonymous_9363 16 years ago
Red Belt
0
ORIGINAL: atssecurity
Nothing is running in the background no tray icon nothing. no services. this is a clean machine with nothing more then the OS on it. just a test machine where i test software. but it has been reloaded fresh everytime for a new test.
Well, *something* is holding that file open or, at least, WI *thinks* that's the case. Run ProcMon while you uninstall and when you get prompted with the error, see what file activity has taken place.
Posted by: atssecurity 16 years ago
Senior Yellow Belt
0
File activity is showing nothing more than winzip going through the process of trying to remove itself. gets to that point and stops. i have all the options turned on. nothing is referring to winzip or that file that is out of the ordinary nor anything running that would prevent that file from running. i don't see how it would be running anyways as its nothing more then a help file.
Posted by: anonymous_9363 16 years ago
Red Belt
0
Another nice utility I keep on my pen drive is WhoLockMe. It shows who (user) and what (process) has a file open.
Posted by: AngelD 16 years ago
Red Belt
0
Sounds like it's something similar to as at http://itninja.com/question/summation-lg-gold-2.5.204
Posted by: atssecurity 16 years ago
Senior Yellow Belt
0
So as i am not the most savy person

Preventing the CA from being executed during a repair (ex. by adding a condition as NOT REINSTALL) or just preventing it from being executed at all; condition to resolve to false (ex. 1=0) or remove the CA from the InstallExecuteSequence table and the repair is a success.
This time any running winzip process will also be closed automatically to perform the repair without any files in-use.


how do you apply that to the uninstall command? is this a registry change or where does this get changed?
Posted by: anonymous_9363 16 years ago
Red Belt
0
ORIGINAL: atssecurity
how do you apply that to the uninstall command? is this a registry change or where does this get changed?
Use the condition "IF REMOVE ~= "ALL"
Posted by: atssecurity 16 years ago
Senior Yellow Belt
0
so this would be Winzip32.exe /uninstallx "IF REMOVE ~= "ALL"
Posted by: AngelD 16 years ago
Red Belt
0
First find out which process that is locking the winzip.chm file.
Run the uninstall string and when you get the error message fire up process explorer, hite CTRL-F and search for winzip.chm.
Posted by: sunny4u 16 years ago
Orange Belt
0
Hi...

Since i had the same problem previously ,with winzip11... the process which holds is EXPLORER.EXE it clearly shows in process monitor tool...

so use kill process Vb script ,this will kill the process and then it uninstalls and explorer.exe starts again... then it will be a clean uninstall of the winzip...

hope it gets the solution...

thanks... [:)]
Posted by: anonymous_9363 16 years ago
Red Belt
0
ORIGINAL: atssecurity
so this would be Winzip32.exe /uninstallx "IF REMOVE ~= "ALL"
Apologies, on two counts. One, that I missed this question somehow and two, I missed the fact that you're not using an MSI, but the executable. If you were using the MSI, you would add this condition to the Custom Action mentioned in the link which Kim posted.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ