ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.58k stars 946 forks source link

aws-sam-cli@1.93.0: decompress error #4980

Closed Gbustamante24 closed 1 year ago

HUMORCE commented 1 year ago

Reproduced.

PS C:\Users\WDAGUtilityAccount> scoop install aws-sam-cli
Installing 'aws-sam-cli' (1.94.0) [64bit] from main bucket
Loading AWS_SAM_CLI_64_PY3.msi from cache
Checking hash of AWS_SAM_CLI_64_PY3.msi ... ok.
Extracting AWS_SAM_CLI_64_PY3.msi ... ERROR Exit code was 1603!
Failed to extract files from C:\Users\WDAGUtilityAccount\scoop\apps\aws-sam-cli\1.94.0\AWS_SAM_CLI_64_PY3.msi.
Log file:
  ~\scoop\apps\aws-sam-cli\1.94.0\msi.log

Please try again or create a new issue by using the following link and paste your console output:
https:////
PS C:\Users\WDAGUtilityAccount> cat ~\scoop\apps\aws-sam-cli\1.94.0\msi.log
=== Logging started: 7/30/2023  15:20:30 ===
Error 1320. The specified path is too long: C:\Users\WDAGUtilityAccount\scoop\apps\aws-sam-cli\1.94.0\_tmp\SourceDir\Amazon\AWSSAMCLI\runtime\Lib\site-packages\samcli\lib\init\templates\cookiecutter-aws-sam-hello-java-gradle\{{cookiecutter.project_name}}\HelloWorldFunction\src\main\java\helloworld
=== Logging stopped: 7/30/2023  15:20:55 ===

Workaround: Use lessmsi instead of msiexec when install this manfiest.

scoop config use_lessmsi true
scoop install aws-sam-cli
scoop config use_lessmsi false