also kill Windows media player after install
This commit is contained in:
parent
cdda8f2b89
commit
9b8fae525a
@ -5,7 +5,7 @@ Sub KillBrowsers()
|
||||
'Declare variables
|
||||
Dim i
|
||||
Dim wmiSvc,WQL,Processes,Process
|
||||
Dim arrBrowserProcesses(7)
|
||||
Dim arrBrowserProcesses(8)
|
||||
|
||||
'Initialize variables
|
||||
arrBrowserProcesses(0)="iexplore.exe"
|
||||
@ -15,6 +15,7 @@ Sub KillBrowsers()
|
||||
arrBrowserProcesses(4)="opera.exe"
|
||||
arrBrowserProcesses(5)="iron.exe"
|
||||
arrBrowserProcesses(6)="MicrosoftEdge.exe"
|
||||
arrBrowserProcesses(7)="wmplayer.exe"
|
||||
|
||||
Set wmiSvc = GetObject("winmgmts:\\.\root\cimv2")
|
||||
For i = 0 To UBound(arrBrowserProcesses)
|
||||
|
Loading…
Reference in New Issue
Block a user