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

azure-cli@2.48.1: decompress error #4732

Closed
Sacha00Z opened this issue Apr 25, 2023 · 3 comments
Closed

azure-cli@2.48.1: decompress error #4732

Sacha00Z opened this issue Apr 25, 2023 · 3 comments

Comments

@Sacha00Z
Copy link

Output

Updating 'azure-cli' (2.47.0 -> 2.48.1)
Downloading new version
Loading azure-cli-2.48.1.msi from cache.
Checking hash of azure-cli-2.48.1.msi ... ok.
Uninstalling 'azure-cli' (2.47.0)
Installing 'azure-cli' (2.48.1) [64bit] from main bucket
Loading azure-cli-2.48.1.msi from cache.
Extracting azure-cli-2.48.1.msi ... ERROR Exit code was 1618!
Failed to extract files from C:\Users\####\scoop\apps\azure-cli\2.48.1\azure-cli-2.48.1.msi.
Log file:
  ~\scoop\apps\azure-cli\2.48.1\msi.log

Please try again or create a new issue by using the following link and paste your console output:

msi.log does not exist.

@HUMORCE
Copy link
Member

HUMORCE commented Apr 26, 2023

Cannot reproduce. try toggle this config item or reboot pc before install the app:

scoop config use_lessmsi true|false (default: false)

Check the error code on this page: https://learn.microsoft.com/en-us/windows/win32/msi/error-codes

❯ scoop install azure-cli
Installing 'azure-cli' (2.48.1) [64bit] from main bucket
Loading azure-cli-2.48.1.msi from cache
Checking hash of azure-cli-2.48.1.msi ... ok.
Extracting azure-cli-2.48.1.msi ... done.
Linking ~\scoop\apps\azure-cli\current => ~\scoop\apps\azure-cli\2.48.1
Creating shim for 'az'.
'azure-cli' (2.48.1) was installed successfully!

@HUMORCE HUMORCE closed this as completed Apr 27, 2023
@JTBrinkmann
Copy link

I had the same issue, updating to 2.52.0 errored with exit code 1603.
I can confirm that after running scoop config use_lessmsi true it works. ✅

@val1984
Copy link
Contributor

val1984 commented Sep 6, 2023

Had the same error with 2.52.0 too. My guess is that the full path for some extracted file is too long for Windows.

Works properly with lessmsi too, thanks for the tip!

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

No branches or pull requests

4 participants