Open bezik46 opened 5 days ago
Packages can certainly be added to an existing boot.wim but the version of the ADK must be right and it seems like newer versions of the ADK that "support" older versions isn't sufficient. I'll need to do more testing but when I use ADK 22621 with the ISO downloaded by the Media Creation Tool which is also 22621, everything works. I'm not able to find any official sources for 22631 so I haven't been able to test that yet.
It does seem like using the winpe.wim from the ADK could be a safer bet though, not because it's required but because it sidesteps the entire version compatibility issue. I was avoiding this because I didn't want any more dependency on the ADK than what was necessary but I'm going to start testing this. I'll leave this issue open so I can update it with what I find and any changes I make.
Edit: Not sure what this is about but the latest Windows 11 23H2 ISO has a version of 22621 for both boot.wim AND the install images even though 22621 is supposed to be 22H2
https://www.windows11forums.com/threads/windows-11-mvs-isos-april-released-22631-3447.2287/
It also did NOT work with ADK 10.1.25398.1 (September 2023)
Did not test ADK for Windows 11, version 22H2
en-us_windows_11_consumer_editions_version_23h2_updated_april_2024_x64_dvd_d986680b.iso = 22631.3447 Matching ADK/PE Addon from https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install
One CANNOT add ADK PE Addon packages to an existing boot.wim
That can only be done to winpe.wim So batch script needs to be adjusted accordingly & that wipe.wim file to be copied instead of the original boot.wim from iso
But the above file replacement also requires FULL sources folder from original boot.wim (in the source en-us_windows_11_consumer_editions_version_23h2_updated_april_2024_x64_dvd_d986680b.iso to be copy/replace the one in winpe.wim from ADK - without this replacement all sort of errors during install would happen - seems that ADK 10.1.26100.1 (May 2024) does not "play" nicely with 22631.3447 even the readme states: supports Windows 11, version 24H2 and all earlier supported versions of Windows 10 and 11
If the winpe.wim is not used then batch will fail:
and dism.log shows: