During Windows 11 installation:
Obviously install.wim
's only image inside is extracted in this "Copying Windows files" stage. Now, this install.wim
, I wish to replace with my own WIM file containing 2 images spanning 2 drives:
Program Files, Program Files (x86), Windows — inside C:
PerfLogs, ProgramData, Temp & Users — inside D:
(Yes I've tinkered with splitting these between 2 drives enough to know it works)
So, how do I make the setup iterate through this "Copying Windows files" twice? I don't have experience in cracking installers & such, but I know there should be command in a script:
dism apply-image /imagefile:install.wim /applydir:C:\ {/index:1 | /name:"Windows 11 Home"}
If so, then achieving this should be a relative cinch.
EDIT:
I may be on a false lead. I've somewhat hex searched an extracted Windows installation ISO & it seems the DISM commands are done with dynamic links rather than the command line shell. I don't know where to go from here.