Useful or not, from you.
brigadier Brigadier Fails at 7Zip Extraction


Thanks for taking the time to develop this tool. I'm getting a failure at the point Brigadier is trying to extract the 7zip file. Here's the console ouput:

... Fetching Boot Camp product at URL

100.0% 1614454784 / 1614454648 bytes 100.4% 1662976 / 1655808 bytes Downloaded 7-zip to c:\users\ben\appdata\local\temp\tmpvcaver\7z1514-x64.msi.

We need to install 7-Zip..

7-Zip install returned exit code 1603.


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

Traceback (most recent call last): File "<string>", line 358, in <module> File "<string>", line 309, in main File "<string>", line 86, in sevenzipExtract File "c:\jenkins\workspace\brigadier\build\brigadier\out00-PYZ.pyz\subprocess", line 493, in call File "c:\jenkins\workspace\brigadier\build\brigadier\out00-PYZ.pyz\subprocess", line 679, in init File "c:\jenkins\workspace\brigadier\build\brigadier\out00-PYZ.pyz\subprocess", line 896, in _execute_child WindowsError: [Error 2] The system cannot find the file specified

Not sure if this is a bug or something with my system, so any thoughts would be greatly appreciated.

That's a useful answer
Without any help

I found out that brigadier works fine should it be started in an elevated command prompt. I guess only tech skilled people would try to fix their macbook drivers, so I would question whether any changes are needed at this point. Error messages are pretty clear on what the issue is and one could fix them with ease.

Maybe the prerequisites should be more clearer.

  1. Have 7zip installed.
  2. Run brigadier in an elevated shell.