/build/static/layout/Breadcrumb_cap_w.png

Uninstall Script for Opera and Safari

Hi;
becouse of the admin before me he wasnt blocked windows installer, for sure my users have another browsers.
and we dont want that in our firm
I was able to find script for firefox and chrome. and was sucessfully uninstall this two.
bu i cant find anything for Opera and Safari
Is there any or any one have script or powershell can do that for me?
Thanx alot from now on

0 Comments   [ + ] Show comments

Answers (6)

Posted by: mahendraKumar 12 years ago
Senior Yellow Belt
0
for Opera

On Error Resume Next

Set WshShell = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")

strProg = WshShell.ExpandEnvironmentStrings("%ProgramFiles%")
strProgData = wshShell.ExpandEnvironmentStrings("%ProgramData%")


wshShell.run Chr(34) & strProg & "\Opera\Opera.exe" & Chr(34) & " /silent /uninstall", 1, True

Wscript.Sleep 5000

If fso.FolderExists(strProg & "\Opera") Then
fso.DeleteFolder strProg & "\Opera", True
End If

If fso.FolderExists(strProgData & "\Microsoft\Windows\Start Menu\Programs\Opera") Then
fso.DeleteFolder strProgData & "\Microsoft\Windows\Start Menu\Programs\Opera"
End If
Posted by: article15 12 years ago
Yellow Belt
0
Ah thnx so much mate...ill try that as soon as possible, let you know.
any suggests for SAFARI ? thnx again guys.
Posted by: pjgeutjens 12 years ago
Red Belt
0
Safari, according to the package KB, is an MSI based install, so an MSIEXEC.EXE /X {ProductCode} /qn should do the trick.

PJ
Posted by: article15 12 years ago
Yellow Belt
0
thanks for reply i appraciate..
for to be honest i dont know this msi things good enough. and safari s setup is exe file not msi.
any suggests?
Posted by: anonymous_9363 12 years ago
Red Belt
0
Search the 'Uninstall' key in the registry for the word "Safari". Once you've found it, there should be a value called 'UninstallString'. Use that as your uninstalling command line, adding any other arguments you might want to it.
Posted by: article15 12 years ago
Yellow Belt
0
Thx alot guys...Ä°nformations was so useful.ive allready done it with ur helps...
appreciate...
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