Integrating cumulative updates into the image


  1. Posts : 102
    Windows 10 Pro
       #1

    Integrating cumulative updates into the image


    I have v1803 image, the most recent 17134.112 version.
    I am trying to integrate the latest monthly cumulative update into the image, just like I was used to on Windows 7. With Win7, there were prerequisite updates that had to be applied first, but nothing is mentioned for the cumulative updates for Win 10, so I presume there are none.
    It keeps failing though, and I can't figure out why.

    This is the cmd output:
    Code:
    Processing 1 of 1 - Adding package d:\install\OS\Win10 updates\windows10.0-kb4346783-x64_145555faf4e3e494c20f22508f9c28fe12af387a.msu
    [==========================100.0%==========================]
    d:\install\OS\Win10 updates\windows10.0-kb4346783-x64_145555faf4e3e494c20f22508f9c28fe12af387a.msu: An error occurred applying the Unattend.xml file from the .msu package.
    For more information, review the log file.
     Error: 0x800710fe
    
    Error: 4350
    
    This file is currently not available for use on this computer.

    Looking through the DISM log, I can find stuff like this:
    Extraction of file: update.ses failed because it is not present in the container (\\?\C:\TEMP\EF0AB51F-FF7A-4FA8-9C1E-32C6435F0BBB\Windows10.0-KB4346783-x64.CAB).
    and possibly
    Exec: Processing complete. Session: 4048_14798171, Package: Package_for_RollupFix~31bf3856ad364e35~amd64~~17134.254.1.2, Identifier: KB4346783 [HRESULT = 0x800710fe - ERROR_FILE_OFFLINE]


    Googling the error messages brings no help at all.
    Is there anyone else who does this sort of stuff who could help me out troubleshoot this?
      My Computer


  2. Posts : 56,825
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #2

    Pardon my asking, but why aren't you using the Windows Update process?


    Misunderstood.... I see now you're trying update ISO, not OS. Sorry.....
    Last edited by f14tomcat; 08 Sep 2018 at 15:54.
      My Computers


  3. Posts : 14,019
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #3

    I didn't find much help early on with Win10 to do the same as used to be possible with Slipstream on earlier versions of Windows so I go to the Updates and Security page, scroll down on the right and click the Learn more which takes me to a page where I can download the updates to save for doing the Offline install, helps lots with slower 'net connections.
      My Computers


  4. Posts : 5,452
    Windows 11 Home
       #4

    You can try NTLite, free version allows to integrate updates/drivers easily, plus some extras.

    Is it worth doing it anyway, when the new ISO is released like every 3-6 months?
      My Computer


  5. Posts : 102
    Windows 10 Pro
    Thread Starter
       #5

    Ha, I managed to figure it out - purely accidentally.
    It turned out there IS a prerequisite to integrating this - it's called "servicing stack" and these KBs are released more or less along with the cumulative updates (sometimes like once per two CUs).
    Of course, this is not explained anywhere (the connection and dependency).

    The another catch is that when you try to integrate all this, you have to do it twice. WTF.
    So you have to mount the image, do whatever customizations you have prepared, then integrate the servicing stack, THEN unmount and save the image, AND THEN mount it again and finally integrate the large update.

    This is almost as annoying as booting into safe mode in Windows 10 compared to Windows 7.
    just-pure-WTF
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
       #6

    I've never had any issues in updating Windows install images. I use PowerShell for it, as told in tutorial: PowerShell Scripting - Update Windows 10 USB install media | Windows 10 Tutorials

    Just download latest cumulative update and critical updates since that, and run the PS script.

    Kari
      My Computer


  7. Posts : 102
    Windows 10 Pro
    Thread Starter
       #7

    I prefer five lines of batch file rather than 500 of Powershell.
      My Computer


  8. Posts : 5,478
    2004
       #8

    Octopuss said:
    I prefer five lines of batch file rather than 500 of Powershell.
    You are being disingenuous. There are only 3 lines of powershell that perform the operation - from @Kari's link :

    Code:
    Mount-WindowsImage -ImagePath $WimFolder\Sources\install.wim -Index $Index -Path $Mount
    Add-WindowsPackage -Path $Mount -PackagePath $File.FullName
    Dismount-WindowsImage -Path $Mount -Save
    The rest is error checking, checking for existance of files/directories, prompting the user and so on. This is normal (or should be) in any script unless you want to hard code everything and assume it will work/everything exists without checking before and after.

    Why don't you download from the catalogue and see if mount/apply/dismount works (either with powershell or dism - they are the same as powershell is just a wrapper).

    My guess is you didn't download the file so only have the delta which would explain your "missing file" error.
      My Computer


  9. Posts : 102
    Windows 10 Pro
    Thread Starter
       #9

    Did you even read my post where I explain how I figured it out? I guess not.
    It's working perfectly now.
      My Computer


  10. Posts : 1,938
    Windows 7 Home Premium x64
       #10

    sorry to bring this old thread back but using abbodi1406's W10UI batch script from here would be a lot easier when slipstreaming win10 updates onto usb install media, especially if that install media contains multiple editions that contain both home & pro.

    I'd been quite busy creating updated/slipstreamed install media using his w10ui scripts
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:01.
Find Us




Windows 10 Forums