need help installing multiple .msu in windows 8.1?

Discussion in 'Windows 8' started by Senjanov, Dec 16, 2013.

  1. Senjanov

    Senjanov MDL Member

    Jul 29, 2011
    217
    44
    10
    need help installing multiple .msu in windows 8.1? is same way installing .msu in windows 7.. before I install .msu file in windows 7 with batch command prompt. if I use same way like that, what happen?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. pbkurdekar

    pbkurdekar MDL Novice

    Jul 27, 2013
    4
    1
    0
    #2 pbkurdekar, Dec 16, 2013
    Last edited by a moderator: Apr 20, 2017
    try this ...........save file with .bat
    Code:
    @ECHO OFF
    SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
    PUSHD %~dp0
    FOR %%A IN (*-KB*.MSU) DO (
        CALL :SUB %%~nA
        ECHO= Installing KB!KB_NUM!
        >NUL TIMEOUT /t 3
        WUSA "%%~fA" /quiet /norestart)
    ECHO= == Press any key to restart ==
    >NUL PAUSE
    SHUTDOWN.EXE /r /t 0
    GOTO :EOF
    
    
    :SUB
    SET "KB_NUM=%*"
    FOR /F "DELIMS=-" %%B IN ("%KB_NUM:*-KB=%") DO SET "KB_NUM=%%B"
     
  3. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    895
    482
    30
    #4 KNARZ, Dec 16, 2013
    Last edited by a moderator: Apr 20, 2017
    Code:
    dism /online /add-package /packagepath:X:\update_folder_with_msu_or_cab_files
     
  4. Senjanov

    Senjanov MDL Member

    Jul 29, 2011
    217
    44
    10
    thank you all
    problem all solve :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...