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]: Fail to install 7zip #5952

Closed
3 tasks done
fredrikcarlbom opened this issue Jun 25, 2024 · 1 comment
Closed
3 tasks done

[Bug]: Fail to install 7zip #5952

fredrikcarlbom opened this issue Jun 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@fredrikcarlbom
Copy link

fredrikcarlbom commented Jun 25, 2024

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

7zip

Expected/Current Behaviour

I try to install 7zip but it fails to decompress with exit code 1622. I had an existing installation of scoop, it was working but when it failed to update 7zip using scoop update 7zip, then I uninstalled 7zip and now I can't install it.

Steps to Reproduce

PS> scoop install 7zip
Installing '7zip' (24.07) [64bit] from 'main' bucket
Loading 7z2407-x64.msi from cache
Checking hash of 7z2407-x64.msi ... ok.
Extracting 7z2407-x64.msi ... ERROR Exit code was 1622!
Failed to extract files from C:\Users\fr-car\scoop\apps\7zip\24.07\7z2407-x64.msi.
Log file:
  ~\scoop\apps\7zip\24.07\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=7zip%4024.07%3a+decompress+error

Possible Solution

I have also tried scoop install [email protected] or scoop install [email protected] with same result. The folder ~\scoop\apps\7zip\<version>\ only contains the .msi-file, no .log-file.

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
1cd5bcef5 (HEAD -> master, origin/master, origin/HEAD) k6: Update to version 0.52.0

'extras' bucket:
4ec0ad6d7 (HEAD -> master, origin/master, origin/HEAD) teamviewer: Update to version 15.55.3

'nerd-fonts' bucket:
128ad78f (HEAD -> master, origin/master, origin/HEAD) SarasaGothic: Update to version 1.0.14

'snyk' bucket:
e612f8e (HEAD -> master, origin/master, origin/HEAD) Upgraded to latest Snyk version skip-checks: true

Scoop Config

PS> scoop config

last_update         scoop_branch scoop_repo
-----------         ------------ ----------
2024-06-25 17:44:26 master       https://github.com/ScoopInstaller/Scoop

PowerShell Version

PS> $PSVersionTable

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

Additional Softwares

PS> scoop checkup 7zip
WARN  LongPaths support is not enabled.
  You can enable it by running:
    sudo Set-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1
  (Requires 'sudo' command. Run 'scoop install sudo' if you don't have it.)
WARN  Windows Developer Mode is not enabled. Operations relevant to symlinks may fail without proper rights.
  You may read more about the symlinks support here:
  https://blogs.windows.com/windowsdeveloper/2016/12/02/symlinks-windows-10/
WARN  '7-Zip' is not installed! It's required for unpacking most programs. Please Run 'scoop install 7zip'.
WARN  Found 3 potential problems.
@fredrikcarlbom fredrikcarlbom added the bug Something isn't working label Jun 25, 2024
@HUMORCE
Copy link
Member

HUMORCE commented Nov 8, 2024

This is usually caused by a msiexec process exception, go one of them:

  • Restart the PC then retry.
  • Switch to alternative MSI extractor: scoop config use_lessmsi true (Default: false)
  • Resolve the msiexec exception then retry, If you know about it.

Learn more: https://learn.microsoft.com/en-us/windows/win32/msi/error-codes

@HUMORCE HUMORCE closed this as completed Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants