Maoyeedy / Scoop

Maoyeedy's Scoop bucket
The Unlicense
1 stars 0 forks source link

[Bug]: leigod install failed #1

Closed Conanzhou closed 4 months ago

Conanzhou commented 5 months ago

Prerequisites

Package Name

leigod

Expected/Current Behaviour

leigod install failed. innounp.log shows "The setup files are corrupted or made by incompatible version. Maybe it's not an Inno Setup installation at all. (00492DAA)".

Steps to Reproduce

> scoop install leigod
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'leigod' (10.1.8.2) [64bit] from 'maoyeedy_scoop' bucket
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 6ed85e|OK  |    36MiB/s|D:/Applications/Scoop/cache/leigod#10.1.8.2#https_update.leigod.com_soft_win_10.0.0.0_LeiGodSetup.10.1.8.2.exe_dl.7z
Download: Status Legend:
Download: (OK):download completed.
Checking hash of LeiGodSetup.10.1.8.2.exe ... ok.
Extracting dl.7z ... ERROR Exit code was 1!
Failed to extract files from D:\Applications\Scoop\apps\leigod\10.1.8.2\dl.7z.
Log file:
  D:\Applications\Scoop\apps\leigod\10.1.8.2\innounp.log

Possible Solution

Maybe it's not an Inno Setup installation?

Scoop and Buckets Version

> 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:
c2a799019 (HEAD -> master, origin/master, origin/HEAD) cargo-binstall: Update to version 1.6.9

'extras' bucket:
85e43b940 (HEAD -> master, origin/master, origin/HEAD) youtube-music: Update to version 3.3.12

'versions' bucket:
5fe284d81 (HEAD -> master, origin/master, origin/HEAD) zig-dev: Update to version 0.14.0-dev.2

'nonportable' bucket:
f8838836 (HEAD -> master, origin/master, origin/HEAD) anki-np: Update to version 24.06.1

'java' bucket:
7ecbb493 (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.422-3.0.202406070336

'games' bucket:
4a0f17743 (HEAD -> master, origin/master, origin/HEAD) rpcs3: Update to version 0.0.32-16582

'apps' bucket:
fef1a346b (HEAD -> master, origin/master, origin/HEAD) Update Sat Jun  8 04:47:46 UTC 2024

'dorado' bucket:
9838e8f1 (HEAD -> master, origin/master, origin/HEAD) typos: Update to version 1.22.3

'maoyeedy_scoop' bucket:
62c9609 (HEAD -> master, origin/master, origin/HEAD) feishu: Update to version 7.19.5

Scoop Config

> scoop config

last_update           : 8/6/2024 10:02:51 pm
aria2-warning-enabled : True
aria2-enabled         : True
proxy                 : none
scoop_branch          : master
scoop_repo            : https://github.com/ScoopInstaller/Scoop

PowerShell Version

> $psversiontable

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22631
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

Maoyeedy commented 4 months ago

感谢反馈!原来我的bucket真的有人用。

用户现在需要手动运行 LeiGodSetup.10.1.8.2.exe 来将其安装到其他目录,这已经不符合Scoop的理念,所以我会 deprecate 这个 bucket。

Scoop downloads and manages packages in a portable way, keeping them neatly isolated in ~\scoop.

详情解释:

雷神加速器的安装包在之前一直是用 InnoSetup 封装的,所以执行 7z l ./LeiGodSetup.exe 便可以提取出可运行文件。

但现在从 fd -e exe7z l 的结果便能看到他们已经改变了安装包的封装。

7-Zip 24.06 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-05-26

Scanning the drive for archives:
1 file, 106181584 bytes (102 MiB)

Listing archive: .\leigod#10.1.8.2#https_update.leigod.com_soft_win_10.0.0.0_LeiGodSetup.10.1.8.2.exe

--
Path = .\leigod#10.1.8.2#https_update.leigod.com_soft_win_10.0.0.0_LeiGodSetup.10.1.8.2.exe
Type = PE
Physical Size = 106181584
CPU = x86
Characteristics = Executable 32-bit
Created = 2024-05-28 12:34:25
Headers Size = 1024
Checksum = 106232462
Image Size = 106262528
Section Alignment = 4096
File Alignment = 512
Code Size = 9028608
Initialized Data Size = 97214464
Uninitialized Data Size = 0
Linker Version = 14.38
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = Relocated NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 4194304
Comment = 
{
FileVersion: 10.1.8.2
ProductVersion: 10.1.8.2
CompanyName: 雷神(武汉)网络技术有限公司
FileDescription: 雷神加速器安装程序
LegalCopyright: Copyright ©2015 - 2024 雷神加速器
ProductName: 雷神加速器
}

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2024-05-28 12:34:25 .....      9028608      9028608  .text
2024-05-28 12:34:25 .....     96299520     96299520  .rdata
2024-05-28 12:34:25 .....        96768        96768  .data
2024-05-28 12:34:25 .....         1536         1536  .qtmetad
2024-05-28 12:34:25 .....       323072       323072  .qtmimed
2024-05-28 12:34:25 .....        50688        50688  _RDATA
                    .....         1242         1242  .rsrc\version.txt
                    .....         1342         1320  .rsrc\ICON\1.ico
                    .....         5182         5160  .rsrc\ICON\2.ico
                    .....        11582        11560  .rsrc\ICON\3.ico
                    .....           48           48  .rsrc\GROUP_ICON\IDI_ICON1
                    .....          649          649  .rsrc\MANIFEST\1
2024-05-28 12:34:25 .....       338944       338944  .reloc
2024-05-28 12:34:25 .....        21456        21456  CERTIFICATE
------------------- ----- ------------ ------------  ------------------------
2024-05-28 12:34:25          106180637    106180571  14 files

再次感谢提issue

Conanzhou commented 4 months ago

非常感谢您的bucket