Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > What language is this update?

Reply
Thread Tools Display Modes

What language is this update?

 
 
Dorel Sturm
Guest
Posts: n/a

 
      05-09-2006
Hi there,

I'm using the WUA APIs to search for available upates. The code I use is

Set us = CreateObject("Microsoft.Update.Session")
Set Updates = CreateObject("Microsoft.Update.UpdateColl")
Set Download = us.CreateUpdateDownloader()
Set usearch = us.CreateUpdateSearcher()
Set usresult = usearch.Search("Type='Software' )

Set ourUpdate = usresult.Updates.Item(0)
ourUpdate.AcceptEula
Updates.Add (ourUpdate)

Download.Updates = Updates
Set result = Download.Download()

and it's workig wery well. I get the packages needed to be installed, I can
download them and install them.

My questions are:
- how can I see if a package is language dependent or not. E.g. when the
package for let's say update KB123456 is to be downloaded/installed it will
download/install the english version if I do this from an English version of
Windows XP and it will download/install the german version of the upate if I
do this from the german version of Windows XP. The upate ID (in the IUpdate
COM interface) is the same for both updates however the content downloaded
is different. IUpdate.Languages does not tell me so much...

- when the update is downloaded I can get the whole content of the files
downloaded. I saw that for each update a directory (or a file) with a funny
name is created. Is this file name (directory name) unique for each update
and each language? E.g. for XP SP2 English the directory downloaded has a
different name than the one for XP SP2 German (but the update IDs in IUpdate
are the same!).

In other words I want to collect all the files downloaded for each update
(from the ...\SoftwareDistribution\Download directory) and distinguish them
for each update (here I can use the Update ID) and language (no idea how to
do it here).

Thanks for you support.

--
--------------------------------------------------------------------------
Dorel Sturm
Germany


 
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 update in different language Philip Windows Update 5 04-19-2006 06:39 PM
windows update language chriske911 Windows Update 1 04-12-2005 09:01 PM
why every time windows update it shows me the language is different, I could not update ellen Windows Update 1 05-08-2004 10:51 AM
Update KB 835732 "setup cannot update your Windows XP files because the language installed on your system is different from the update language" Anna Windows Update 1 05-03-2004 04:53 PM
Windows Update Language Bill Windows Update 1 11-01-2003 02:42 AM



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