none
Create a batch file to install multiple *.msu files in running system

    Question

  • Is there any body who can create a batch file to install multiple  *.msu  files in running system (windows 8.1/windows 7sp1)?
    Thursday, April 3, 2014 12:10 PM

Answers

All replies

  • See the article below, basically you can use the WUSA command line to install your updates quietly.

    http://support.microsoft.com/kb/934307


    Be kind and Mark as Answer if I helped.


    Thursday, April 3, 2014 1:48 PM
  • A link to an answer is never an answer.
    Tuesday, February 6, 2018 10:07 PM
  • @echo off
    CLS
    TITLE WINDOWS UPDATE INSTALLER!
    echo.
    echo Getting Ready Windows Update
    echo Installing Windows Updates...
    SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
    FOR /R "%~dp0" %%A IN (*.MSU) DO (
            ECHO= Installing %%~nA
            >NUL TIMEOUT /t 3
            WUSA "%%A" /quiet /norestart)
    echo Done!
    Tuesday, February 6, 2018 10:07 PM
  • batch file worked,

    probably the following needs to be added -

    should it be run as admin?

    1. if the update doesn't install for any reason,

    2. or if the update is not applicable to our system for any reason,

    it doesn't give any feedback.

    so it is better to remove both /quiet /norestart and run this script so it is done with user interact and we know of the problem.

    or may be, Echo should be ON.

    Thanks.

    Rawat

    Friday, June 22, 2018 9:48 AM