Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > WUA API Update DownloadContents collection empty for software updates

Reply
Thread Tools Display Modes

WUA API Update DownloadContents collection empty for software updates

 
 
spill
Guest
Posts: n/a

 
      06-30-2006
Hello,

Using WUA API in C++, I am trying to retrieve the download location for
each update using the DownloadContents collection property. This works
great for driver updates: they tend to have one UpdateDownloadContent
object, which contains a DownloadUrl property. However, software
updates return an empty DownloadContents collection.

Does anybody know why this might be? Is there another way to retrieve
the update download location?

Thanks so much,
Jill

 
Reply With Quote
 
 
 
 
Oscar Lee \(MS\)
Guest
Posts: n/a

 
      06-30-2006
Hi

It may be that you have to look at the update's child updates to get the
download content, since updates are bundled and the actual bundle won't have
download content.
Try to use Update.BundledUpdates to access the child updates and then
retrieve the download content.

--
Oscar Lee (MSFT)
Microsoft Corporation
WSUS

(Communication using the newsgroup is preferred. Thanks!)

=====================
This posting is provided "AS IS" with no warranties, and confers no rights.
=====================
"spill" <> wrote in message
news: oups.com...
> Hello,
>
> Using WUA API in C++, I am trying to retrieve the download location for
> each update using the DownloadContents collection property. This works
> great for driver updates: they tend to have one UpdateDownloadContent
> object, which contains a DownloadUrl property. However, software
> updates return an empty DownloadContents collection.
>
> Does anybody know why this might be? Is there another way to retrieve
> the update download location?
>
> Thanks so much,
> Jill
>



 
Reply With Quote
 
spill
Guest
Posts: n/a

 
      06-30-2006
That did the trick Oscar, thanks!!

Oscar Lee (MS) wrote:
> Hi
>
> It may be that you have to look at the update's child updates to get the
> download content, since updates are bundled and the actual bundle won't have
> download content.
> Try to use Update.BundledUpdates to access the child updates and then
> retrieve the download content.
>
> --
> Oscar Lee (MSFT)
> Microsoft Corporation
> WSUS
>
> (Communication using the newsgroup is preferred. Thanks!)
>
> =====================
> This posting is provided "AS IS" with no warranties, and confers no rights.
> =====================
> "spill" <> wrote in message
> news: oups.com...
> > Hello,
> >
> > Using WUA API in C++, I am trying to retrieve the download location for
> > each update using the DownloadContents collection property. This works
> > great for driver updates: they tend to have one UpdateDownloadContent
> > object, which contains a DownloadUrl property. However, software
> > updates return an empty DownloadContents collection.
> >
> > Does anybody know why this might be? Is there another way to retrieve
> > the update download location?
> >
> > Thanks so much,
> > Jill
> >


 
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
Adobe.CS3.Master.Collection 4DVD, Adobe.Premiere.Pro.CS3 1DVD, QuarkXPress.7.3.Passport 1CD, software for depth of market DOM, other 2007/August/17 new programs ola Windows Vista General Discussion 1 08-18-2007 03:39 PM
Adobe.CS3.Master.Collection 4DVD, Adobe.Premiere.Pro.CS3 1DVD, QuarkXPress.7.3.Passport 1CD, software for depth of market DOM, other 2007/August/17 new programs ola@mail.gr Windows Vista Networking 0 08-18-2007 07:32 AM
New LightScribe Software & Diagnostic Software Updates Cal Bear '66 Windows Vista Hardware 3 07-16-2007 02:06 AM
Windows Updates does not confirm latest update software UllrichFischer Windows Update 1 01-13-2006 08:27 PM
updates fail to install after latest update software is installed faustilio Windows Update 0 07-22-2005 06:22 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