- Joined
- Apr 21, 2009
- Messages
- 3
- Reaction score
- 0
I am trying to use Motorola Software Update and when I get to the end of the download notepad pops up with this:
'check whether the specified hotfix exists in the target computer
strComputer = "."
Dim HotfixFound :HotfixFound = ""
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colQuickFixes = objWMIService.ExecQuery _
("Select * from Win32_QuickFixEngineering")
For Each objQuickFix in colQuickFixes
If objQuickFix.HotFixID = "KB941600" Then
HotfixFound = "HOTFIXFOUND=1"
Exit For
End If
Next
'install the msi and set the HOTFIXFOUND property
'the name of the customer Propery must only include upcaseletters.
Set oMSI = CreateObject("WindowsInstaller.Installer")
' set the UI level to full level
oMSI.UILevel = 5
' launch the installer and disable the error display during the vbs script execution
On Error Resume Next
oMSI.InstallProduct Wscript.Arguments(0), HotfixFound
On Error GoTo 0
' clean up used ObjectVars
Set oMSI = Nothing
I am not computer saavy. I have no idea what it means. Can someone help me with this? I'd greatly appreciate it.
'check whether the specified hotfix exists in the target computer
strComputer = "."
Dim HotfixFound :HotfixFound = ""
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colQuickFixes = objWMIService.ExecQuery _
("Select * from Win32_QuickFixEngineering")
For Each objQuickFix in colQuickFixes
If objQuickFix.HotFixID = "KB941600" Then
HotfixFound = "HOTFIXFOUND=1"
Exit For
End If
Next
'install the msi and set the HOTFIXFOUND property
'the name of the customer Propery must only include upcaseletters.
Set oMSI = CreateObject("WindowsInstaller.Installer")
' set the UI level to full level
oMSI.UILevel = 5
' launch the installer and disable the error display during the vbs script execution
On Error Resume Next
oMSI.InstallProduct Wscript.Arguments(0), HotfixFound
On Error GoTo 0
' clean up used ObjectVars
Set oMSI = Nothing
I am not computer saavy. I have no idea what it means. Can someone help me with this? I'd greatly appreciate it.