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
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)
Please log in to answer
Posted by:
mahendraKumar
12 years ago
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
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
Posted by:
pjgeutjens
12 years ago
Posted by:
article15
12 years ago
Posted by:
anonymous_9363
12 years ago
Posted by:
article15
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.