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.
Reproduced.
Workaround: Use lessmsi instead of msiexec when install this manfiest.