I'm getting below error while trying to install azure-cli.
I think it's realted to long path, (270 in my case), is there any workaround other than moving scoop directory?
I have LongPathsEnabled set to 1.
Using Windows11.
Running scoop install from normal cmd, not in admin mode.
Did sign-out and restart.
scoop install azure-cli
Installing 'azure-cli' (2.57.0) [64bit] from main bucket
Loading azure-cli-2.57.0-x64.msi from cache.
Checking hash of azure-cli-2.57.0-x64.msi ... ok.
Extracting azure-cli-2.57.0-x64.msi ... ERROR Exit code was 1603!
Failed to extract files from D:\xxxx\xxxxxx\xxxxxxxxxxxx\scoop\apps\azure-cli\2.57.0\azure-cli-2.57.0-x64.msi.
Log file:
D:\xxxx\xxxxxx\xxxxxxxxxxxx\scoop\apps\azure-cli\2.57.0\msi.log
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Main/issues/new?title=azure-cli%402.57.0%3a+decompress+error
msi.log:
=== Logging started: 02-Mar-24 12:34:30 ===
Error 1304. Error writing to file: D:\xxxx\xxxxxx\xxxxxxxxxxxx\scoop\apps\azure-cli\2.57.0\_tmp\SourceDir\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\command_modules\dla\vendored_sdks\azure_mgmt_datalake_analytics\catalog\models\data_lake_analytics_catalog_secret_create_or_update_parameters.pyc. Verify that you have access to that directory.
=== Logging stopped: 02-Mar-24 12:34:47 ===
I'm getting below error while trying to install azure-cli. I think it's realted to long path, (270 in my case), is there any workaround other than moving scoop directory?
scoop install azure-cli
msi.log: === Logging started: 02-Mar-24 12:34:30 ===
Error 1304. Error writing to file: D:\xxxx\xxxxxx\xxxxxxxxxxxx\scoop\apps\azure-cli\2.57.0\_tmp\SourceDir\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\command_modules\dla\vendored_sdks\azure_mgmt_datalake_analytics\catalog\models\data_lake_analytics_catalog_secret_create_or_update_parameters.pyc. Verify that you have access to that directory.
=== Logging stopped: 02-Mar-24 12:34:47 ===