utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.46k stars 1.32k forks source link

Can't install Windows 11 (22000.1098) arm64. Failed to extract .cab file #4997

Open corbands opened 1 year ago

corbands commented 1 year ago

Describe the issue
Hello! Thank you for supporting this great product

But I faced with issues when installing Windows 11 (I tried to install Windows 11 (22000.1098) arm64 version).

I launched bash uup_download_macos.sh It downloaded all needed files but then I got error with extracting:

Status Legend:
(OK):download completed.

UUP Converter v0.7.2
Note: This script does not and cannot support the integration of updates.
Use the Windows version of the converter to integrate updates.

CAB -> ESD: Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-arm64
Failed to extract Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-arm64.cab

Configuration

Crash log
no

Debug log
no

Upload VM
no

jacobleft commented 1 year ago

I have a similar issue:

Status Legend:
(OK):download completed.

UUP Converter v0.7.2
Note: This script does not and cannot support the integration of updates.
Use the Windows version of the converter to integrate updates.

CAB -> ESD: Microsoft-Windows-Notepad-System-FoD-Package-amd64
Failed to extract Microsoft-Windows-Notepad-System-FoD-Package-amd64.cab

Configuration

cawhite6 commented 1 year ago

Same - various versions of Win10/11 and download packages tried. Same ending error

Status Legend: (OK):download completed.

UUP Converter v0.7.2 Note: This script does not and cannot support the integration of updates. Use the Windows version of the converter to integrate updates.

CAB -> ESD: Microsoft-Windows-Notepad-System-FoD-Package-amd64 Failed to extract Microsoft-Windows-Notepad-System-FoD-Package-amd64.cab

macOS - Monterey MBP M1 Pro

hk-none commented 1 year ago

Same problem on MacOS 12.6 (21G115) | MBP M1 Pro

For Windows 10 21H2

Status Legend:
(OK):download completed.

UUP Converter v0.7.2
Note: This script does not and cannot support the integration of updates.
Use the Windows version of the converter to integrate updates.

CAB -> ESD: microsoft-windows-languagefeatures-speech-en-us-package-arm64
Failed to extract microsoft-windows-languagefeatures-speech-en-us-package-arm64.cab

For Windows 11 21H2

Status Legend:
(OK):download completed.

UUP Converter v0.7.2
Note: This script does not and cannot support the integration of updates.
Use the Windows version of the converter to integrate updates.

CAB -> ESD: Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-arm64
Failed to extract Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-arm64.cab

@corbands Maybe file an issue at the official repo uup_dump/converter

Anam9 commented 1 year ago

Same error log. MacOS 12.6, M1 chip. Multiple Windows 10 download packages.

mjwu4miles commented 1 year ago

Same issue here, whatever version of windows 11 I try ( 22000 or 22621 )

macOS Version: Ventura 13.1 MBA pro M1 chip

UUP Converter v0.7.2 Note: This script does not and cannot support the integration of updates. Use the Windows version of the converter to integrate updates.

CAB -> ESD: Microsoft-Windows-WMIC-FoD-Package-arm64 Failed to extract Microsoft-Windows-WMIC-FoD-Package-arm64.cab

ciiiii commented 1 year ago

Same issue, any solutions?

Bartel-C8 commented 1 year ago

Had the same issue, traced it back that cabextract is somehow not able to extract it in the temporary folder, with the -d switch.

https://github.com/uup-dump/converter/blob/590a19f6de78b0125eb37d1cd944d47115d6d094/convert.sh#L426

I resolved that (by cd'ing into the temp directory), but then it failed at a later stage...

Must be cabextract related as it has a new version since 05/02/2023? https://www.cabextract.org.uk/ So maybe downstep that package?

alroldan commented 1 year ago

I have had the same problem. Downgrading the cabextract version to 1.9 works.

ekindseth commented 1 year ago

I have had the same problem. Downgrading the cabextract version to 1.9 works.

can you drop a command line? i am using brew. Thanks

cawhite6 commented 1 year ago

I have had the same problem. Downgrading the cabextract version to 1.9 works.

can you drop a command line? i am using brew. Thanks

If you're using latest brew you can't install from github direct to downgrade - have to use brew extract to local 'tap'. I used this resource -

https://cmichel.io/how-to-install-an-old-package-version-with-brew/

My cli here worked, then I could use uup-macosinstaller for Win ISO.

brew tap-new $USER/local-cabextract brew extract --version=1.9.1 cabextract $USER/local-cabextract brew install cabextract@1.9.1

mjwu4miles commented 1 year ago

Dears, Thanks to [alroldan] & cawhite6. I downgraded to 1.9.1, & it works.

steeeeev0 commented 1 year ago

I already had cabextract installed based on earlier steps in the instructions provided and needed to remove it:

brew remove cabextract

I had already followed the steps @cawhite6 has posted but got an error that 1.9.1 was already installed but not linked. I fixed that by following the suggested command:

brew link cabextract@1.9.1

Hope this helps anyone else.

ammar-faifi commented 1 year ago

It was fixed by the convert.sh https://github.com/uup-dump/converter/issues/39#event-8503350459

WeGoToMars commented 1 year ago

Can confirm that @ammar-faifi solution works, just add -k to extractcab in convert.sh at line 426

DaveFlashNL commented 1 year ago

hmm, tried that, but when it resumes the download process, it just edits the file back to -d and fails at extracting one of the cabs again...

update see the fix from @ammar-faifi .

Doublefire-Chen commented 1 year ago

I have had the same problem. Downgrading the cabextract version to 1.9 works.

can you drop a command line? i am using brew. Thanks

If you're using latest brew you can't install from github direct to downgrade - have to use brew extract to local 'tap'. I used this resource -

https://cmichel.io/how-to-install-an-old-package-version-with-brew/

My cli here worked, then I could use uup-macosinstaller for Win ISO.

brew tap-new $USER/local-cabextract brew extract --version=1.9.1 cabextract $USER/local-cabextract brew install cabextract@1.9.1

It works for me, thanks to alroldan, cawhite6 & steeeeev0

TalHarel1998 commented 1 year ago

@cawhite6's solution worked for me. I am using: Apple M1 Pro

peterp007 commented 1 year ago

Just came here to say that cabextract 1.11, added to macports tree 2 days ago, fixed the issue for me.

Stooovie commented 1 year ago

Lucky you, for me the script stops at

Status Legend: (OK):download completed.

No ISO gets created, no error. Dependencies are installed. M1 Pro MBP on Ventura 13.4.1.