Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving errors on 7-zip extract when running brigadier #94

Open
BeyondAntares opened this issue Jul 19, 2023 · 4 comments
Open

Receiving errors on 7-zip extract when running brigadier #94

BeyondAntares opened this issue Jul 19, 2023 · 4 comments

Comments

@BeyondAntares
Copy link

BeyondAntares commented Jul 19, 2023

Hi,
I've previously used Brigadier to install windows drivers for my Apple peripherals, however recently I'm experiencing the following errors during 7zip extraction.

C:\AppleDriver>brigadier.exe -m MacBookPro14,1
Using Mac model: MacBookPro14,1.

Model supported in package distribution file at https://swdist.apple.com/content/downloads/32/09/041-89042-A_XVZ2U8XKG2/06ub1qfep6wv3g8bb68smwt3ac25xyng83/041-89042.English.dist.

Distribution 041-89042 supports the following models: MacBookPro14,1, MacBookPro14,2.

Making directory C:\AppleDriver\BootCamp-041-89042..

Fetching Boot Camp product at URL http://swcdn.apple.com/content/downloads/32/09/041-89042-A_XVZ2U8XKG2/06ub1qfep6wv3g8bb68smwt3ac25xyng83/BootCampESD.pkg.

100.0% 409722880 / 409720220 bytes
Extracting...

Calling 7-Zip command: C:\Program Files\7-Zip\7z.exe e -oc:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik -y c:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik\BootCampESD.pkg


7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20

Scanning the drive for archives:
1 file, 409720220 bytes (391 MiB)

Extracting archive: c:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik\BootCampESD.pkg

**WARNINGS:
There are data after the end of archive**

--
Path = c:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik\BootCampESD.pkg
Type = Xar
WARNINGS:
There are data after the end of archive
Physical Size = 409716957
Tail Size = 3263
SubType = pkg
Headers Size = 4232
----
Path = Payload
Size = 409701218
Packed Size = 409701218
Modified = 2017-06-01 11:57:03.0000000
Created = 2017-06-01 11:57:31.0000000
Accessed = 2017-06-01 11:55:24.0000000
Mode = -rw-r--r--
User = root
Group = wheel
Method = octet-stream
--
Path = Payload
Type = bzip2

Everything is Ok

Archives with Warnings: 1

Warnings: 1
Size:       410978304
Compressed: 409720220
Calling 7-Zip command: C:\Program Files\7-Zip\7z.exe e -oc:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik -y c:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik\Payload~


7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20

Scanning the drive for archives:
1 file, 410978304 bytes (392 MiB)

Extracting archive: c:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik\Payload~

WARNINGS:
There are data after the end of archive

--
Path = c:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik\Payload~
Type = Cab
WARNINGS:
There are data after the end of archive
Offset = 2024978
Physical Size = 794777
Tail Size = 408158549
Method = MSZip
Blocks = 1
Volumes = 1
Volume Index = 0
ID = 0

ERROR: Data Error : Windows6.1-KB2685811-x64.cab
ERROR: Data Error : Windows6.1-KB2685811-x64-pkgProperties.txt
ERROR: Data Error : Windows6.1-KB2685811-x64.xml

Sub items Errors: 3

Archives with Errors: 1

Warnings: 1

Sub items Errors: 3
Command failure: C:\Program Files\7-Zip\7z.exe e -oc:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik -y c:\users\xxxx\appdata\local\temp\bootcamp-unpack_jwlyik\Payload~ exited 2.

C:\AppleDriver>

It appears 7-zip can no longer extract bootcamp. I tried an alternate method through here: https://support.apple.com/downloads/boot-camp but the drivers don't enable Magic Mouse scroll support.

Any help?

@danieltrillo
Copy link

HI there,

I encountered the same issue with 7Zip version 23.01. What I did (Windows 11, Mac Pro 6,1), is uninstall the 2023 version and re-installed the 2022 version of 7Zip and that seemed to work.

I personally prefer the alternative MSI installer, because it just seems to work better for me.

Hope that helps! :)
Daniel T.

@dualface
Copy link

dualface commented Sep 7, 2023

HI there,

I encountered the same issue with 7Zip version 23.01. What I did (Windows 11, Mac Pro 6,1), is uninstall the 2023 version and re-installed the 2022 version of 7Zip and that seemed to work.

I personally prefer the alternative MSI installer, because it just seems to work better for me.

Hope that helps! :) Daniel T.

I have same problem. Reinstall 7zip-2022 get to work. Thanks !

@robcmo
Copy link

robcmo commented Nov 3, 2023

Calling 7-Zip command: C:\Program Files\7-Zip\7z.exe
Having 7-Zip installed defaults to using it. I had same error, uninstalled 7-Zip and reran brigadier which worked as expected.

@timsutton I can confirm 7-Zip 23.01 does not work. Your script can be updated to remove the check if "C:\Program Files\7-Zip\7z.exe" exists and just download 19.00 to temp and use that.

@KrunoSaho
Copy link

Updating to the latest, at this time, 7-Zip 24.03 beta, also works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants