Windows 11 Hotfix Repository

Discussion in 'Windows 11' started by Tito, Jul 1, 2021.

Tags:
  1. BetaWorld

    BetaWorld MDL Junior Member

    Jan 9, 2015
    63
    160
    0
    PSFExtractor worked fine for extract files, however CABARC didn't work with long filenames. If you want to repack CAB then you should put the files in a folder with shorter path, eg. D:\test.

    Currently all tools except Dism++ rely on PSFExtractor to extract CAB+PSF. It wasn't designed to handle baseless PSFs, only express. Baseless CAB/PSFs aren't necessary for installing updates.
     
  2. BetaWorld

    BetaWorld MDL Junior Member

    Jan 9, 2015
    63
    160
    0
    #282 BetaWorld, Oct 16, 2021
    Last edited: Oct 16, 2021
    Or manually repack CAB+PSF:
    1. Rename CAB and PSF file with the same name, eg. Windows10.0-KB5006746-x64.cab and Windows10.0-KB5006746-x64.psf. Put them in a folder with shorter path name, eg. D:\test. Otherwise CABARC will fail.
    2. Run PSFExtractor.exe <filename>.cab (or simply drag the CAB file onto PSFExtractor.exe). PSFExtractor.exe is included with UUP converter, W10UI, etc. Make sure PSFExtractor.exe has a version number >=1.0.7.0.
    3. Now you have a folder with the same name. (optional) Delete express.psf.cix.xml and historycix.cab. Run cmd or PowerShell from that folder (or cd to the folder) and execute
      Code:
      PATH\TO\cabarc.exe -r -p -m LZX:21 n ..\<new filename>.cab *
      CABARC is Microsoft Cabinet Tool and is included in Cabinet SDK and IEAK, etc.
    4. Both the folder and the new CAB will work with dism.
    Note that the method will only work with less than 65535 files as it's the limit of CAB format. Microsoft themself pack multiple CABs inside another CAB when the number of files exceeds limit. However we can't do that.
     
  3. d5aqoëp

    d5aqoëp MDL Addicted

    Jan 19, 2017
    550
    407
    30
    Has anyone’s store got borked on this preview update?
     
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    12,890
    62,310
    340
    Yes
    both cab/psf must have the same file name, or keep the original hashed UUP name (without adding _282)
     
  5. d5aqoëp

    d5aqoëp MDL Addicted

    Jan 19, 2017
    550
    407
    30
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,250
    66,435
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    12,890
    62,310
    340
    KB5006670 is big > 2 GB update, you must use psfx2esd_CLI to convert to esd file
     
  8. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    4,910
    5,078
    150
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,250
    66,435
    450
    Of course it can:)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. adric

    adric MDL Addicted

    Jul 30, 2009
    920
    693
    30
    Okay, I remember seeing something about not using 22000.1 for something specific in one of the MDL threads and forgot what that applied to.
     
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,250
    66,435
    450
    We always use a pristine .1 ISO for offline updates integration.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,250
    66,435
    450
    More often than my wife does lately;):D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. tavrez

    tavrez MDL Senior Member

    Sep 28, 2015
    479
    314
    10
    #296 tavrez, Oct 20, 2021
    Last edited: Oct 20, 2021
    A question:
    Win 11 Updates in .msu format contain both .cab and .psf files in them and we can integrate them using dism command, can we create a cab file like those .msi files and integrate Win 11 updates? I mean instead of using PSFX_repack, we just create a cab and put .psf and .cab into it(plus some other config maybe)
     
  14. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    38,250
    66,435
    450
    Afaik, that is what repack_psfx is made for, if it was that simple it wouldn't be needed.

    Why not just use W10UI?

    ps, it's .MSU
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. tavrez

    tavrez MDL Senior Member

    Sep 28, 2015
    479
    314
    10
    #298 tavrez, Oct 20, 2021
    Last edited: Oct 21, 2021
    Typo, thanks.
    I just wanted to suggest a faster solution for it, W10UI is perfect, but what if it can be faster using this way? :D
    It was created before we saw a .msu, maybe now we know more?
    It looks like onepackage.AggregatedMetadata.cab have some good information inside of it to make this achieveable, if you like and have time, extract cab, psf, ssu cab and onepackage.AggregatedMetadata.cab from msu and repack them in another cab, and see if you can install update with dism :D
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    12,890
    62,310
    340