myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Winzip Silent Uninstall

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Winzip Silent Uninstall Page: [1]
Login
Message << Older Topic   Newer Topic >>
Winzip Silent Uninstall - 8/7/2008 3:35:03 PM   
jmaclaurin

 

Posts: 877
Score: 18
Joined: 12/5/2002
From: Ottawa, Ont., Canada
Status: offline
Anyone know a silent version for this uninstall? Its for winzip 8 and 9. They are not MSI based.
 
C:\Program Files\WinZip\WINZIP32.EXE /uninstall
 
/uninstallx, /q, /s, etc...  does not work.
 
Any help is appreciated.
Post #: 1
RE: Winzip Silent Uninstall - 8/7/2008 5:32:46 PM   
turbokitty

 

Posts: 49
Score: 0
Joined: 6/12/2008
Status: offline
Search for "WinZip" here:
http://www.appdeploy.com/software/

Might be something there.

(in reply to jmaclaurin)
Post #: 2
RE: Winzip Silent Uninstall - 8/7/2008 5:37:41 PM   
rodtrent


Posts: 1920
Score: 39
Status: offline
Tried that already.  Nothing special.  Based on his cross-post to the SMS forum, he's tried everything listed at Appdeploy.com

(in reply to turbokitty)
Post #: 3
RE: Winzip Silent Uninstall - 8/7/2008 5:57:04 PM   
turbokitty

 

Posts: 49
Score: 0
Joined: 6/12/2008
Status: offline
In that case, use AutoIt.

(in reply to rodtrent)
Post #: 4
RE: Winzip Silent Uninstall - 8/8/2008 9:58:15 AM   
jmaclaurin

 

Posts: 877
Score: 18
Joined: 12/5/2002
From: Ottawa, Ont., Canada
Status: offline
I've read the posts at appdeploy and they all leave me with the same result. But, uninstallx appears to unregister it so I might be able to get away with deleting the files and reg keys.

Ewww, autoit... 9-)

I found this VB script that I am going to try. It appears to use the same idea.

' 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")
main()

sub main()
  'Let's find out where WinZip is installed
WZPath=regget("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
App Paths\winzip32.exe\")
  Set WshShell = WScript.CreateObject("WScript.Shell")
  WshShell.Run WZPath & " /uninstallx",0,TRUE
  FullWZPath = replace(WZPath, "PROGRA~1", "Program Files")
  DeleteAFolder(left(FullWZPath,(len(FullWZPath)-13)))
end sub

function regget(value)
on error resume next
Set regedit = CreateObject("WScript.Shell")
regget=regedit.RegRead(value)
end function
function DeleteAFolder(filespec)
Dim fso
on error resume next
Set fso = CreateObject("Scripting.FileSystemObject")
fso.DeleteFolder(filespec)
end function


< Message edited by jmaclaurin -- 8/8/2008 10:04:56 AM >

(in reply to turbokitty)
Post #: 5
RE: Winzip Silent Uninstall - 8/8/2008 12:39:07 PM   
turbokitty

 

Posts: 49
Score: 0
Joined: 6/12/2008
Status: offline
I've actually never had to use AutoIt, but I know people that swear by it.  The only trouble is that it must run with the user's credentials as it requires an interactive session. 
Manually scripting a homemade uninstall should be viewed as the very last option.  That would be ugly.

(in reply to jmaclaurin)
Post #: 6
RE: Winzip Silent Uninstall - 8/8/2008 2:54:03 PM   
djordan134

 

Posts: 1
Score: 0
Joined: 8/24/2005
From: Overland Park, Kansas
Status: offline
We used this batch file. Hope it helps

REM ***Delete all winzip shortcuts and program files
Del "C:\Documents and Settings\All Users\Start Menu\winzip*.*" /Q
Del "C:\Documents and Settings\All Users\Desktop\winzip*.*" /Q
Del "C:\Documents and Settings\All Users\Start Menu\Programs\winzip*.*" /Q
Del "C:\Documents and Settings\All Users\Start Menu\Programs\Winzip\*.*" /Q

Ren C:\Progra~1\Winzip\*.DLL *.bak
sleep.exe 10
move C:\Progra~1\Winzip\*.bak C:\Temp
sleep.exe 10
"C:\Program Files\Winzip\winzip32.exe" /uninstallx
Del "C:\Program Files\Winzip\*.*" /Q

RMDIR "C:\Program Files\Winzip"
EXIT /B 0

(in reply to turbokitty)
Post #: 7
RE: Winzip Silent Uninstall - 8/8/2008 2:59:40 PM   
chiners_68

 

Posts: 208
Score: 3
Joined: 10/31/2007
Status: offline
use this key in the registry. it stores all the add remove program information for every program in the list. find winzpi & in there you will fine the command to uninstall the program

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall


(in reply to djordan134)
Post #: 8
RE: Winzip Silent Uninstall - 8/15/2008 11:08:16 AM   
jmaclaurin

 

Posts: 877
Score: 18
Joined: 12/5/2002
From: Ottawa, Ont., Canada
Status: offline
Thanks all for your responses.

Here are the commands that I am using in my SMS Installer script. The script is attached.

%sys32%\msiexec.exe /x{7958029D-1D33-408E-BC1A-0B87C94E5633} /qn   *(change sid as needed)*

"C:\Program Files\WinZip\WINZIP32.EXE" /uninstallx  *(this unregisters the install, but does not remove the files)*
CMD.EXE /C rmdir /Q /S "C:\Program Files\WinZip"  *(this deletes the directory silently)*

Hope this helps.

Attachment (1)

(in reply to chiners_68)
Post #: 9
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Winzip Silent Uninstall Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.875