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

[Bug]: MAX_PATH extracting msi #12049

Open
3 tasks done
meichhorn-conet opened this issue Oct 17, 2023 · 0 comments
Open
3 tasks done

[Bug]: MAX_PATH extracting msi #12049

meichhorn-conet opened this issue Oct 17, 2023 · 0 comments

Comments

@meichhorn-conet
Copy link
Contributor

meichhorn-conet commented Oct 17, 2023

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

[email protected]

Expected/Current Behaviour

Extracting azure-cli-2.53.0.msi ... ERROR Exit code was 1603!
Failed to extract files from C:\Users\xxxxxxxxx\scoop\apps\azure-cli\2.53.0\azure-cli-2.53.0.msi.
Log file:
  ~\scoop\apps\azure-cli\2.53.0\msi.log

Content of the msi.log: (cat ~\scoop\apps\azure-cli\2.53.0\msi.log | select-string "error")

Error 1304. Error writing to file: C:\Users\xxxxxxxxx\scoop\apps\azure-cli\2.53.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.

The whole path has 261 characters and exceeds the 259 limit for paths. Any suggestions?

Steps to Reproduce

scoop install [email protected]

Possible Solution

no

Scoop and Buckets Version

scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
0c93a7d09 (HEAD -> master, origin/master, origin/HEAD) tracy: Update to version 0.10

'java' bucket:
8281de04 (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.392-7.0.202310160930

'main' bucket:
17b969dab (HEAD -> master) Merge branch 'master' of https://github.com/ScoopInstaller/Main


### Scoop Config

```console
coop config

last_update                       scoop_branch scoop_repo
-----------                       ------------ ----------
2023-10-17T06:24:07.1968576+02:00 master       https://github.com/lukesampson/scoop


### PowerShell Version

```console
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.3570
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.3570
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Same error using ps core

$pSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.6
PSEdition                      Core
GitCommitId                    7.3.6
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0


### Additional Softwares

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

No branches or pull requests

2 participants