TechUnRestricted / WinDiskWriter

🖥 Windows Bootable USB creator for macOS. 🛠 Patches Windows 11 to bypass TPM and Secure Boot requirements. 👾 UEFI & Legacy Support
GNU General Public License v3.0
1.02k stars 23 forks source link

No longer splitting .wim files with latest Win11 ISO #8

Open carsongoodwin32 opened 5 months ago

carsongoodwin32 commented 5 months ago

Hello, Recently downloaded a new Win11 iso from Microsoft and I get an error every time it tries to split the .wim for a FAT32 USB I tried splitting it manually and got this error:

[ERROR] Splitting of WIM containing solid resources is not supported. Export it in non-solid format first. ERROR: Exiting with error code 68: The requested operation is unsupported.

This is with the ISO downloaded directly from Microsoft

I was able to create an install USB by skipping the .wim, going in to terminal and doing something like

wimexport /Volumes/22631.2861.231204-0538/sources/install.wim all tmp-install.wim --compress=LZX:1

to export the .wim to non solid and then running the normal command to split that tmp-install.wim like

wimlib-imagex split tmp-install.wim /Volumes/WDW_Z7H7HKW/sources/install.swm 3800

Is there a way that this can be auto detected in the code? (catching the error and running the code path above, or detecting non solid .wim in the first place)

Thanks

TechUnRestricted commented 5 months ago

Hi @carsongoodwin32! Thank you very much for the report, I appreciate these additional details! 👍

I'll try to investigate this issue as soon as I'll get a free time. Stay tuned for the updates.

TechUnRestricted commented 5 months ago

image
I've tried the latest Windows 11 image and it works fine for me.
Can you provide a link for an image you've downloaded?

jsnipper80 commented 5 months ago

That image also worked for me yesterday - downloaded from Microsoft last week. Specifically "Win11_23H2_English_x64v2.iso"

TechUnRestricted commented 5 months ago

@jsnipper80 Thank you for the information. I glad it worked for you.

@carsongoodwin32 Anyway, if you provide me with an image that has a solid wim, I can fix for this issue. I'm familiar with the wimlib library source code, so it shouldn't be a difficult task for me. You can upload your .iso to Google Drive and then send me a link to my email: techunrestricted@gmail.com