7-Zip-zstd icon indicating copy to clipboard operation
7-Zip-zstd copied to clipboard

Is there any 7zSD.sfx file which support zstd?

Open zlinuxboy opened this issue 1 month ago • 2 comments

Hi, I am trying to build a sfx exe file with official 7zSD.sfx, but it didn't support zstd, any possible of 7zip zstd release 7zSD.sfx which support zstd?

zlinuxboy avatar Nov 29 '25 03:11 zlinuxboy

Why someone would ever need it? 7zS(D).sfx which support new methods would be almost 300K larger than a mainline 7zS(D).sfx? What profit do you expect to get there if the LZMA2 has better compression ratio and mainline 7zS(D).sfx is also smaller? Compression speed shall be to neglect by creation of setup exe. Or is it rather about decompression speed?

sebres avatar Nov 29 '25 15:11 sebres

985acb5eb0ab2387d1f6e8c0e577b3e00e5865c8 (currently as branch build--with-sfx-setup) creates both 7zS.dll and 7zSD.dll, but because GHA uses newest Visual Studio in CI, that'd build it using UCRT, 7zSD.dll is a Setup-SFX dynamically linked with UCRT not with MSVCRT (no idea whether it is possible to build in CI with MSVCRT by adding some packages/SDK/etc or whether we really need to give it a try with old runtime).

@mcmilk I have no intention to merge this branch (dunno whether we want to cover that stuff by default on every build and/or to release them too), so it's up to you (am I effective with decision-making delegation, ain't I? :)

Unless it is merged, it could remain as a branch. The binaries can be found in artifact of latest CI-build.

sebres avatar Nov 29 '25 18:11 sebres

I merged it to release branch now, and it is released now within v25.01-v1.5.7-R2 in updated version (together with #438).

@mcmilk since it is in release branch now, we can merge/rebase it for every release with master by preparing of the release (before tagging) and the sfx-setup would be included in the build.

sebres avatar Dec 15 '25 22:12 sebres