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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
Answered 01/30/2012 by: mahendraKumar
Senior Yellow Belt

Please log in to comment
0
Ah thnx so much mate...ill try that as soon as possible, let you know.
any suggests for SAFARI ? thnx again guys.
Answered 01/30/2012 by: article15
Yellow Belt

Please log in to comment
0
Safari, according to the package KB, is an MSI based install, so an MSIEXEC.EXE /X {ProductCode} /qn should do the trick.

PJ
Answered 01/31/2012 by: pjgeutjens
Red Belt

Please log in to comment
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?
Answered 01/31/2012 by: article15
Yellow Belt

Please log in to comment
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.
Answered 01/31/2012 by: VBScab
Red Belt

Please log in to comment
0
Thx alot guys...Ä°nformations was so useful.ive allready done it with ur helps...
appreciate...
Answered 01/31/2012 by: article15
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity