Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Windows Updates Count on XP SP1

Reply
Thread Tools Display Modes

Windows Updates Count on XP SP1

 
 
Ramananda
Guest
Posts: n/a

 
      01-19-2007
Hi

I am using the IUpdateSearcher interface to search for the available updates
for my machine (Windows XP SP1). The total count of updates available
through
this interface is far less than the one seen on the update site ( I browsed
to the updates available other than SP2 for XP).
If I try the same interface on XP SP2 machine I get a consistent count on
the web and through this interface.

Could anyone tell me what I am doing wrong.
Microsoft has come up with a category called High Priority. What
sub-categories of updates belong to this category?

Thanks for your help,

Cheers
Ramananda


 
Reply With Quote
 
 
 
 
paulmd@efn.org
Guest
Posts: n/a

 
      01-19-2007

Ramananda wrote:
> Hi
>
> I am using the IUpdateSearcher interface to search for the available updates
> for my machine (Windows XP SP1). The total count of updates available
> through
> this interface is far less than the one seen on the update site ( I browsed
> to the updates available other than SP2 for XP).
> If I try the same interface on XP SP2 machine I get a consistent count on
> the web and through this interface.
>
> Could anyone tell me what I am doing wrong.
> Microsoft has come up with a category called High Priority. What
> sub-categories of updates belong to this category?
>
> Thanks for your help,
>
> Cheers
> Ramananda


You might try a programming forum. All I've got is this:

http://msdn2.microsoft.com/en-us/library/aa386515.aspx

 
Reply With Quote
 
Ramananda
Guest
Posts: n/a

 
      01-19-2007
Yeah, the programmatic approach, I have used the IUpdateSearcher interface.
But wanted to know if there is any difference in the result it gives for SP1
and SP2 or if Microsoft is following different logic on their web site to
count the number of total and high priority updates.

Cheers
Ramananda

<> wrote in message
news: ps.com...
>
> Ramananda wrote:
>> Hi
>>
>> I am using the IUpdateSearcher interface to search for the available
>> updates
>> for my machine (Windows XP SP1). The total count of updates available
>> through
>> this interface is far less than the one seen on the update site ( I
>> browsed
>> to the updates available other than SP2 for XP).
>> If I try the same interface on XP SP2 machine I get a consistent count on
>> the web and through this interface.
>>
>> Could anyone tell me what I am doing wrong.
>> Microsoft has come up with a category called High Priority. What
>> sub-categories of updates belong to this category?
>>
>> Thanks for your help,
>>
>> Cheers
>> Ramananda

>
> You might try a programming forum. All I've got is this:
>
> http://msdn2.microsoft.com/en-us/library/aa386515.aspx
>



 
Reply With Quote
 
Ramananda
Guest
Posts: n/a

 
      01-19-2007
Even the code below given by Microsoft gives different results than the one
shown on the update web site.

Set updateSession = CreateObject("Microsoft.Update.Session")
Set updateSearcher = updateSession.CreateupdateSearcher()

WScript.Echo "Searching for updates..." & vbCRLF

Set searchResult = _
updateSearcher.Search("IsInstalled=0")


WScript.Echo "List of applicable items on the machine:"

For I = 0 To searchResult.Updates.Count-1
Set update = searchResult.Updates.Item(I)
WScript.Echo I + 1 & "> " & update.Title
Next

If searchResult.Updates.Count = 0 Then
WScript.Echo "There are no applicable updates."
WScript.Quit
End If

Please let me know if anyone knows a workaround or solution for this.

Cheers
Ramananda
"Ramananda" <> wrote in message
news:OsE$...
> Hi
>
> I am using the IUpdateSearcher interface to search for the available
> updates
> for my machine (Windows XP SP1). The total count of updates available
> through
> this interface is far less than the one seen on the update site ( I
> browsed
> to the updates available other than SP2 for XP).
> If I try the same interface on XP SP2 machine I get a consistent count on
> the web and through this interface.
>
> Could anyone tell me what I am doing wrong.
> Microsoft has come up with a category called High Priority. What
> sub-categories of updates belong to this category?
>
> Thanks for your help,
>
> Cheers
> Ramananda
>



 
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
Windows Explorer folder file count Carey Windows Vista File Management 0 06-10-2008 05:18 PM
Will Windows Vista Succeed In 2008? Don't Count On It. Alias Windows Vista General Discussion 20 01-07-2008 04:40 PM
Windows Handle Count Adam Laforge Windows Vista General Discussion 5 10-20-2006 09:51 AM
Handle Count and Reference Count Bajamani Windows Vista Drivers 1 02-22-2005 03:39 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