Fix updateSession not being created

This commit is contained in:
Fierelier 2024-07-16 00:53:31 +02:00
parent d40a0dd6dc
commit 3c32c26082

View File

@ -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