Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > WUA Online property of UpdateSearcher interface

Reply
Thread Tools Display Modes

WUA Online property of UpdateSearcher interface

 
 
Dim
Guest
Posts: n/a

 
      03-20-2006
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
online problems: lag on online games and very slow download speeds James Brown Windows Vista General Discussion 6 05-29-2008 06:46 AM
Custom property interface for AVStream driver Michael Jones Windows Vista Drivers 1 04-24-2008 06:20 PM
Searching Online for Driver Update...Where Online? John Windows Vista General Discussion 2 07-28-2007 12:55 AM
Device interface(s) enumeration from within DM property page provider. SergeV Windows Vista Drivers 7 03-21-2007 05:01 AM
Percent Complete Property of IInstallation Interface Drew M Windows Update 0 07-18-2005 10:28 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59