What means the Online property of the UpdateSearcher interface.
I thought that this property means that WUA doesn't contact de WSUS
Server and only uses the local cached information but when I set this
property to false, WUA returns always 0 updates though there were some
new patches arrived and downloaded.
Is there anyway to install the downloaded patches without having to
connect to the WSUS Server?
What do i want to accomplish in my vbscript
:
I want to scan my local system to detect if there are patches needed to
install. (WSUS server connected), afterwards WUA will download the
patches from the WSUS Server (connected). When this all is ready the
system may be disconnected from the network and WUA will install the
downloaded patches. Is this possible?
the scanning and downloading part works but the offline update doesn't
work. It allways returns 0 updates. My searchquery contains only the
available patches like:
(UpdateID='80e147c1-8b56-4b2d-8c16-1d53501f33ba' and RevisionNumber=101
and DeploymentAction='Installation' and IsInstalled=0 and IsAssigned=1
and IsHidden=0 and AutoSelectOnWebSites=1)
I'm using the following script:
Set oUpdateSearcher = oUpdateSession.CreateupdateSearcher()
oUpdateSearcher.Online = False
Set oSearchResult = oUpdateSearcher.Search(sSearchSubString)
Thanks
Dimitri Meeuws
HP FlexDeploy Team