Extras icon indicating copy to clipboard operation
Extras copied to clipboard

[email protected]: decompress error

Open diffway opened this issue 6 months ago • 2 comments

See #15525 for initial error which I fixed in #5d8f2a420a of branch/fix_hash_msiafterburner

$ scoop update; scoop cache rm msiafterburner; scoop install msiafterburner;
Updating Scoop...
Updating Buckets...
Scoop was updated successfully!
WARN  Purging previous failed installation of msiafterburner.
ERROR 'msiafterburner' isn't installed correctly.
Removing older version (4.6.5).
'msiafterburner' was uninstalled.
Installing 'msiafterburner' (4.6.5) [64bit] from 'ScoopExtras' bucket
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 8f585c|OK  |    10MiB/s|%USERPROFILE%/scoop/cache/msiafterburner#4.6.5#c606a4b.zip
Download: Status Legend:
Download: (OK):download completed.
Checking hash of MSIAfterburnerSetup.zip ... ok.
Extracting MSIAfterburnerSetup.zip ... done.
Running pre_install script...ERROR Exit code was 7!
Failed to extract files from %USERPROFILE%\scoop\apps\msiafterburner\4.6.5\MSIAfterburnerInstaller*.exe.
Log file:
  ~\scoop\apps\msiafterburner\4.6.5\7zip.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/diffway/ScoopExtras/issues/new?title=msiafterburner%404.6.5%3a+decompress+error
$ scoop config

last_update              : 2025-05-24T21:12:51.3707666+03:00
scoop_branch             : master
scoop_repo               : https://github.com/ScoopInstaller/Scoop
aria2-warning-enabled    : False
ignore_running_processes : True

$ scoop --version

Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
36ec9da95 (HEAD -> master, origin/master, origin/HEAD) z.lua: Update to version 1.8.24

'versions' bucket:
a7d0f1325 (HEAD -> master, origin/master, origin/HEAD) neochat-nightly: Update to version 12086

'sysinternals' bucket:
edadfd3 (HEAD -> main, origin/main, origin/HEAD) sysinternals-suite: Update to version 2025.05.05

'java' bucket:
e6261d24 (HEAD -> master, origin/master, origin/HEAD) openjdk-ea: Update to version 25-24-ea

'games' bucket:
2991bccc0 (HEAD -> master, origin/master, origin/HEAD) shadps4-dev: Update to version 2025-05-24-1498981

'lkhrs_eve-tools' bucket:
0c303f3 (HEAD -> master, origin/master, origin/HEAD) jeveassets: Update to version jeveassets-8.0.2

'ScoopExtras' bucket:
5d8f2a420a (HEAD -> master, origin/master, origin/fix_hash_msiafterburner, origin/HEAD) msiafterburner: fix hash

$ 7z l %USERPROFILE%/scoop/cache/msiafterburner#4.6.5#c606a4b.zip

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Scanning the drive for archives:
1 file, 58293122 bytes (56 MiB)

Listing archive: %USERPROFILE%\scoop\cache\msiafterburner#4.6.5#c606a4b.zip

--
Path = %USERPROFILE%\scoop\cache\msiafterburner#4.6.5#c606a4b.zip
Type = zip
Physical Size = 58293122

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2024-05-27 20:44:24 ....A     58723944     58292972  MSIAfterburnerSetup465.exe
------------------- ----- ------------ ------------  ------------------------
2024-05-27 20:44:24           58723944     58292972  1 files

diffway avatar May 24 '25 18:05 diffway

Cannot reproduce.

~
❯ scoop install extras/msiafterburner
Installing 'msiafterburner' (4.6.5) [64bit] from 'extras' bucket
Loading MSIAfterburnerSetup.zip from cache
Checking hash of MSIAfterburnerSetup.zip ... ok.
Extracting MSIAfterburnerSetup.zip ... done.
Running pre_install script...done.
Linking ~\scoop\apps\msiafterburner\current => ~\scoop\apps\msiafterburner\4.6.5
Creating shim for 'MSIAfterburner'.
Making C:\Users\humorce\scoop\shims\msiafterburner.exe a GUI binary.
Creating shortcut for MSI Afterburner (MSIAfterburner.exe)
Persisting directory 'Profiles'
Running post_install script...done.
'msiafterburner' (4.6.5) was installed successfully!
Notes
-----
The 'RivaTuner Statistics Server' has been moved to it's own manifest.
To install it run 'scoop install extras/rtss'.
Profiles will be migrated automatically.
'msiafterburner' suggests installing 'extras/msikombustor'.
'msiafterburner' suggests installing 'extras/rtss'.
'msiafterburner' suggests installing 'extras/vcredist2008'.
~ took 2s
❯ 7z l C:\Users\humorce\scoop\cache\msiafterburner#4.6.5#c606a4b.zip

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Scanning the drive for archives:
1 file, 58941808 bytes (57 MiB)

Listing archive: C:\Users\humorce\scoop\cache\msiafterburner#4.6.5#c606a4b.zip

--
Path = C:\Users\humorce\scoop\cache\msiafterburner#4.6.5#c606a4b.zip
Type = zip
Physical Size = 58941808

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2024-09-05 16:57:10 ....A     59236352     58941650  MSIAfterburnerInstaller465.exe
------------------- ----- ------------ ------------  ------------------------
2024-09-05 16:57:10           59236352     58941650  1 files
~
❯ Get-FileHash -Algorithm SHA256 C:\Users\humorce\scoop\cache\msiafterburner#4.6.5#c606a4b.zip

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          10DE22E72500FDFBB533B4B048ED52AA88D2661D847EEBA7CCEEC405490CA25A       C:\Users\humorce\scoop\cache\msiafterburner…

~
❯ scoop cat extras/msiafterburner
{
    "version": "4.6.5",
    "description": "Overclocking utility for graphics cards. Main features include GPU/Shader/Memory clock adjustment, advanced fan speed and GPU voltage control.",
    "homepage": "https://www.msi.com/page/afterburner",
    "license": {
        "identifier": "Freeware",
        "url": "https://www.msi.com/page/website-terms-of-use"
    },
    "notes": [
        "The 'RivaTuner Statistics Server' has been moved to it's own manifest.",
        "To install it run 'scoop install extras/rtss'.",
        "Profiles will be migrated automatically."
    ],
    "suggest": {
        "vcredist": "extras/vcredist2008",
        "RivaTuner Statistics Server": "extras/rtss",
        "MSI Kombustor": "extras/msikombustor",
        "FurMark": "extras/furmark"
    },
    "url": "https://download.msi.com/uti_exe/vga/MSIAfterburnerSetup.zip?__token__=exp=acl=/*~hmac=#/dl.zip",
    "hash": "10de22e72500fdfbb533b4b048ed52aa88d2661d847eeba7cceec405490ca25a",

HUMORCE avatar May 25 '25 08:05 HUMORCE

I have searched virustotal and indeed it seems like 2 files (different hashes) are both MSI afterburner's setup file and are both digitally signed by MSI. However I cannot get the 407cf0f38b4b6b3dc030e70329d35be5eabfef45829240cc6df0442768189cec one distributed to my PC as well.

Lutra-Fs avatar May 26 '25 11:05 Lutra-Fs

Hello, @diffway .

The hash issue you mentioned has been resolved in c4ff149. In that commit, I upgraded it to version 4.6.6 and updated the checkver and related fields.

Please perform an installation test to see if any issues occur. If everything works properly, please close this issue.

SorYoshino avatar Oct 09 '25 13:10 SorYoshino