Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > WUA on Japanese machine

Reply
Thread Tools Display Modes

WUA on Japanese machine

 
 
ComNet
Guest
Posts: n/a

 
      07-12-2006
Hi All,

I run the following script on japanese machines with WUA agent installed.
But It did not return me any updates. In Add-Remove program I can see updates
installed

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

Set updateSearcher = updateSession.CreateupdateSearcher()

'Search for all software updates, already installed and not installed
Set searchResult = updateSearcher.Search("Type='Software'")

Set updateToInstall = CreateObject("Microsoft.Update.UpdateColl")

'Cycle through search results to look for the update title
For i = 0 To searchResult.Updates.Count-1
Set update = searchResult.Updates.Item(i)
WScript.Echo "Update Name: " & update.Title

If update.IsInstalled = False Then
WScript.Echo vbCRLF & vbTab & "Missing."
Else
WScript.Echo vbCRLF & vbTab & "Installed."
End If

WScript.Echo vbCRLF
Next

Please let me what i am doing wrong or is there some problem with WUA agent.

Thanks,
Sumit
 
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
Japanese IME swinefeaster Windows Vista Installation 2 01-07-2008 05:17 PM
Sync between Vista machine and External Hard Drive and XP Machine bobd Windows Vista File Management 1 01-01-2008 03:55 PM
Importing Outlook 2003 Contacts and Mail from an XP machine to a new Vista machine Robert W. Rafferty Windows Vista Mail 2 09-01-2007 12:31 AM
Change Japanese UI to English UI for Windows Vista (Japanese versi bacflash Windows Vista General Discussion 8 06-24-2007 10:49 PM
how the vmware windows virtual machine connect the usb device from the host machine ? kaka Windows Vista Drivers 6 04-13-2006 05:38 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