Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Windows Update Agent (WUA) API problem (Downloadurl) (VBScript)

Reply
Thread Tools Display Modes

Windows Update Agent (WUA) API problem (Downloadurl) (VBScript)

 
 
miika.mattila@gmail.com
Guest
Posts: n/a

 
      01-03-2006
Hi,

Is it possible to use IUpdate interface DownloadContents property in
VBScript?

In my case I like to use local cab file like this:

http://msdn.microsoft.com/library/en...es_offline.asp

Set UpdateService = UpdateServiceManager.AddScanPackageService("Offlin e
Sync Service", "c:\wsusscan.cab")

This works fine. But then I like also use the local files with fixes.
So I do not want that files are downloaded through the Internet like
here:

http://msdn.microsoft.com/library/de...ng_updates.asp

I didn't find any example where are used local cab and centralized
place to fixes...

In other words, is it possible to change DownloadUrl Property of
IUpdateDownloadContent

http://msdn.microsoft.com/library/en...ownloadurl.asp

so I can create own collection ("Microsoft.Update.UpdateColl") where
download url's are fixed to point to one server in my internal
network...

If this is not possible can someone help even echo this downloadurl
property? DownloadContents is a pointer so I do not know how to echo
that... E.g title can be just echo:
....
WScript.Echo I + 1 & "> adding: " & update.Title
updatesToInstall.Add(update)
....

Br,

Miika

 
Reply With Quote
 
 
 
 
Lawrence Garvin \(MVP\)
Guest
Posts: n/a

 
      01-03-2006
The WUA (and WSUS) does not support the importing of update content that
originates from outside of the Microsoft Update Catalog.


<> wrote in message
news: oups.com...
> Hi,
>
> Is it possible to use IUpdate interface DownloadContents property in
> VBScript?
>
> In my case I like to use local cab file like this:
>
> http://msdn.microsoft.com/library/en...es_offline.asp
>
> Set UpdateService = UpdateServiceManager.AddScanPackageService("Offlin e
> Sync Service", "c:\wsusscan.cab")
>
> This works fine. But then I like also use the local files with fixes.
> So I do not want that files are downloaded through the Internet like
> here:
>
> http://msdn.microsoft.com/library/de...ng_updates.asp
>
> I didn't find any example where are used local cab and centralized
> place to fixes...
>
> In other words, is it possible to change DownloadUrl Property of
> IUpdateDownloadContent
>
> http://msdn.microsoft.com/library/en...ownloadurl.asp
>
> so I can create own collection ("Microsoft.Update.UpdateColl") where
> download url's are fixed to point to one server in my internal
> network...
>
> If this is not possible can someone help even echo this downloadurl
> property? DownloadContents is a pointer so I do not know how to echo
> that... E.g title can be just echo:
> ...
> WScript.Echo I + 1 & "> adding: " & update.Title
> updatesToInstall.Add(update)
> ...
>
> Br,
>
> Miika
>



 
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
iTunes 7.1.1 update VBScript LarryW Windows Vista Security 12 06-12-2007 08:38 AM
Windows Update Agent : Reboot?? ITadmin Windows Update 1 10-04-2005 02:48 PM
Windows Update Agent API: ServerSelection ITadmin Windows Update 0 09-22-2005 10:06 PM
When did Microsoft begin using Windows Update Agent? Newsgroup visitor Windows Update 0 08-12-2005 01:31 PM
Windows Update Agent Error Zoe Windows Update 0 09-19-2004 04:21 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