Fix updateSession not being created
This commit is contained in:
parent
d40a0dd6dc
commit
3c32c26082
@ -1,3 +1,4 @@
|
||||
Set updateSession = CreateObject("Microsoft.Update.Session")
|
||||
Set updateSearcher = updateSession.CreateUpdateSearcher()
|
||||
Set searchResult = updateSearcher.Search("Type='Software'")
|
||||
|
||||
@ -13,4 +14,4 @@ For I = 0 to searchResult.Updates.Count-1
|
||||
End If
|
||||
update.IsHidden = true
|
||||
End If
|
||||
Next
|
||||
Next
|
||||
|
Loading…
Reference in New Issue
Block a user