• Problem with MSU files.

    Home » Forums » AskWoody support » Windows » Windows 7 » Questions: Windows 7 » Problem with MSU files.

    Author
    Topic
    #506961

    I have downloaded msu files from MS and am trying to run them. I double click on the file as directed and get this message –

    “Searching for updates on this computer.”

    All my system seems to be doing is chasing its own tail. What exactly am I missing here? Why would it look for updates when the msu file is the update? According to directions the msu update file is the installation file for the requested update and all you have to do is doubleclick on it. I’m on a 64-bit system and downloaded the appropriate update file but am getting nowhere fast.

    I’ve read the link to “Windows 7 Update Solution” and “Windows 7: Windows Update – Download Standalone MSU Installer File” and have followed the instructions. No help there.

    I’ve used msu files to update before without any problems. What’s changed or what should I be looking for? Any ideas or help?

    Thx,
    C

    Viewing 2 reply threads
    Author
    Replies
    • #1578039

      Try stopping the wuauserv (Windows Update) Service immediately before running the MSU file(s), open Task Manager (Ctrl+Alt+Esc) to the Services tab and right-click wuauserv > Stop Service.

      • #1578073

        Try stopping the wuauserv (Windows Update) Service immediately before running the MSU file(s)…

        Or disconnect from the Internet.

    • #1578072

      You may be interested in automating the msu installation process. See: http://ccmexec.com/2012/02/installing-multiple-windows-7-hotfixes-msu-with-sccm/

      A more comprehensive installer, for which I had a link that no longer works, is:

      Code:
      'Msgbox constants:
      '0 = vbOKonly
      '36 = vbYesNo + vbQuestion
      '64 = vbOKonly + vbInformation
      '65 = vbOKCancel + vbInformation
      If WScript.Arguments.Named.Exists("elevated") = False Then
        'Launch the script again as administrator
        CreateObject("Shell.Application").ShellExecute "wscript.exe", """" & WScript.ScriptFullName & """ /elevated", "", "runas", 1
        WScript.Quit
      Else
        'Change the working directory from the system32 folder back to the script’s folder.
        Set oShell = CreateObject("WScript.Shell")
        oShell.CurrentDirectory = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)
        MsgBox "Now running with elevated permissions",0,mytitle
      End If
      Dim objfso, objShell, folder, files, sFolder, folderidx, Iretval, return
      Set objfso = CreateObject("Scripting.FileSystemObject")
      Set objShell = CreateObject("Wscript.Shell")
      sFolder = left(WScript.ScriptFullName,(Len(WScript.ScriptFullName))-(len(WScript.ScriptName)))
      Set folder = objfso.GetFolder(sFolder)
      Set files = folder.Files
      ToDo = 0 ' there is nothing to do
      For each folderIdx In files
        If Ucase(Right(folderIdx.name,3)) = "MSU" then
          ToDo = ToDo + 1 ' there is something to do.
          wscript.echo "wusa.exe """ & sfolder & folderidx.name & """ /quiet /norestart"
          Rslt = objShell.Run ("wusa.exe """ & sfolder & folderidx.name & """ /quiet /norestart", 1, True)
          If (Rslt = 0) or (Rslt= 3010) then
            Msg = folderidx.name & " Success " & "[" & Rslt & "]"
          Else
            myprompt= folderidx.name & " Failed " & "[" & Rslt & "]"
          End If
          Rslt = MsgBox(myprompt, 65, mytitle)
          If (Rslt = 2) or (Rslt = 3) or (Rslt = 7) Then
            'Cancel/Abort/No was clicked
            wscript.quit(1)
          End If
        End If
      Next
      If (ToDo = 0) Then
        MsgBox "Nothing to do.", 64, mytitle
      Else
        MsgBox "Done.", 64, mytitle
        Rslt = MsgBox("Close all programs? Press Yes to restart or No to continue.", 36, mytitle)
        If (Rslt = 6) Then
          Set WSHShell = WScript.CreateObject("WScript.Shell")
          WshShell.Run "%SYSTEMROOT%system32shutdown.exe /r /t 0"
        End If
      End If

      Simply save the above in a text file named Installmsu.vbs, then double-click to run.

      Cheers,
      Paul Edstein
      [Fmr MS MVP - Word]

    • #1578076

      What are msu files? I remember msi files 🙂

      "Take care of thy backups and thy restores shall take care of thee." Ben Franklin, revisted

      • #1578077

        What are msu files? I remember msi files 🙂

        msu = Microsoft Standalone Update

        Hope this helps…

        • #1578081

          msu = Microsoft Standalone Update
          Hope this helps…

          I should have remembered that one 🙂

          "Take care of thy backups and thy restores shall take care of thee." Ben Franklin, revisted

    Viewing 2 reply threads
    Reply To: Problem with MSU files.

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: