Versions icon indicating copy to clipboard operation
Versions copied to clipboard

7-Zip / 7-Zip-zstd Conflict

Open kewalsky opened this issue 4 years ago • 9 comments

7zip-zstd Releases Manifest for 7zip.json Main Manifest for 7zip-zstd.json Versions

  • 7zip-zstd releases in 7z and exe files, with the manifest currently using the 7z
  • That causes it to require 7zip to be installed as a dependency to unzip the file
  • Both manifests use the 7z.exe shim causing whichever one last updated to become the active version of 7z

kewalsky avatar Dec 16 '21 19:12 kewalsky

apologies accidentally hit close

I was going to suggest seeing if it would be possible to install 7zip-zstd using the EXE instead of the 7z file, but I am not sure if Scoop would see itself as having a copy of 7zip installed with "7ZIPEXTRACT_USE_EXTERNAL false" set.

kewalsky avatar Dec 16 '21 20:12 kewalsky

Does the exe accept any commandline arguments? We need it to accept the install directory location.

rashil2000 avatar Dec 17 '21 13:12 rashil2000

It could, but pop UAC. so extract it as 7zip is the best solution.

niheaven avatar Dec 18 '21 14:12 niheaven

Using 7zip to extract 7zip-zstd defeats the purpose of 7zip-zstd 😅

rashil2000 avatar Dec 18 '21 14:12 rashil2000

Unless 7-zip-zstd provide msi installer and we could omit UAC..

niheaven avatar Dec 18 '21 15:12 niheaven

Portable version has been requested many times: https://github.com/mcmilk/7-Zip-zstd/issues/120 https://github.com/mcmilk/7-Zip-zstd/issues/148

Someone made it using Portapps' 7zip - https://github.com/portapps/portapps/issues/151, available here - https://github.com/Chaython/7-Zip-ZSTD-Portable

rashil2000 avatar Dec 22 '21 07:12 rashil2000

unfortunately I believe it is also packed only in a .7z file but 7-zip proper does offer 7za.exe, a minimal version of the 7z commandline that only handles .7z files (under 7-zip Extra). It feels very goofy and I'm assuming not possible within sccop but if 7za is added to Versions it could go

  • Install 7-zip
  • Install 7za
  • Uninstall 7-zip
  • Install 7zip-zstd with 7za

kewalsky avatar Dec 22 '21 13:12 kewalsky

unfortunately I believe it is also packed only in a .7z file

It is a .zip file:

image

rashil2000 avatar Dec 22 '21 14:12 rashil2000

The good news is that official 7-zip will add zstd support. See this post by 7-zip's creator Igor Pavlov.

e6c31d avatar Sep 29 '22 05:09 e6c31d