after loading a partition tool to have a look at what it did it appears its left me with an unintialized drive, which im guessing is why windows doesnt recognise it?This doesn't touch any drivers. All we're doing is taking a brief detour to the script, and then calling setup.exe to resume like nothing happened.
nothing created on the disk, even removing the script and changing the setup.exe back im just getting your machine does not meet requirements so now im just totally confusedBoot w/o an unattended file. By the time you see Setup, the script has already (or should have) executed. Run diskpart from CMD and see if it created it correctly or not. A simple test is manually leave the disk cleaned. Then if it worked, the next time you boot it should have a non-empty partition table.
omg... it was that simple.... have just tested that and have the same outcome as you.. with the w10 boot etc both OS's work perfectly... didnt even think to try that as i thought the boot.wim only worked with same and older.... thank you so much for that... cant believe it was such a simple issue hahaI finally sat down, and ran both sets of merged ISO's through the install process.
1. Downloaded W10 22H2 clean ISO, and appended W11 22H2 to the install.wim
Only change made was to add Unattended mode (with Prompt edition selection).2. Downloaded W11 22H2 (May 2023) clean ISO, and appended W10 22H2 to the install.wim
- W10 correctly installed
- W11 correctly installed
Only changes made was enable BypassTPM for boot.wim, and Unattended mode (with Prompt edition).
- W10 install fails on first reboot, "Windows could not start the installation process."
- W11 correctly installed
W10's install stopped, with Panther\setuperr.log:
View attachment 10280
Panther\setupact.log:
View attachment 10281
So what happens if we roll back to an older W11 ISO, but keep the previous install.wim?
I tried all W11 releases from 21H2 (RTM) to 22H (May 2023), and none of them allow W10 images to start installing after the first reboot. Switching to the W10 21H2 install image does not make any difference. Something fundamental is preventing W10 images to install, when provisioned by W11's WinPE.
Unless a better explanation is provided, I would stick to W10 ISO as the base for building a merged W10/11 install ISO.
Either something is missing from the W10 ISO, or W11 ISO introduced a new problem that didn't exist in W10. On paper, every WinPE is supposed to successfully install Window releases of the same or earlier versions.
# Mount boot.wim image
$winsetup = "sources\winsetup.dll"
$b = [IO.File]::ReadAllBytes($winsetup)
$h = [BitConverter]::ToString($b) -replace '-'
$s = [BitConverter]::ToString([Text.Encoding]::Unicode.GetBytes('Module_Init_HWRequirements')) -replace '-'
$i = ($h.IndexOf($s)/2); $r = [Text.Encoding]::Unicode.GetBytes('Module_Init_GatherDiskInfo'); $l = $r.Length
if ($i -gt 1) {
for ($k=0; $k -lt $l; $k++) {
$b[$i+$k] = $r[$k]
}
[IO.File]::WriteAllBytes("sources\winsetup.dll",$b)
}