7-zip 21.04 beta with NSIS script decompiling
7z****-x64.exe
: 7-Zip for 64-bit Windows (x64).7z****-x86.exe
: 7-Zip for 32-bit Windows (x86).7z****.7z
: Everything compiled.
Compatibility
- 7-Zip for 64-bit Windows (x64): Windows Vista and above.
- 7-Zip for 32-bit Windows (x86): Windows XP (maybe) and above.
21.04 beta 2021-11-02
- 7-Zip now reduces the number of working CPU threads for compression,
if RAM size is not enough for compression with big LZMA2 dictionary. - 7-Zip now can create and check "file.sha256" text files that contain the list
of file names and SHA-256 checksums in format compatible with sha256sum program.
7-Zip can work with such checksum files as with archives,
but these files don't contain real file data.
The context menu commands to create and test "sha256" files:
7-Zip / CRC SHA / SHA-256 -> file.sha256
7-Zip / CRC SHA / Test Archive : Checksum
The commands for command line version:
7z a -thash file.sha256 *.txt
7z t -thash file.sha256
7z t -thash -shd. file.sha256
New -shd{dir_path} switch to set the directory that is used to check files
referenced by "file.sha256" file for "Test" operation.
If -shd{dir_path} is not specified, 7-Zip uses the directory where "file.sha256" is stored. - New -xtd switch to exclude directory items from processing.
See also https://sourceforge.net/p/sevenzip/discussion/45797/thread/ba29828ce0/
Note
- This release is built with Visual Studio 2017 since build fails with 2019
LIBCMT.lib(exe_winmain.obj) : error LNK2001: unresolved external symbol _WinMain@16
x86\7zDec.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86\link.EXE"' : return code '0x460'
Stop.
C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\winnt.h(253) : error RC2188: C:\projects\7z-build-nsis\C\Util\7zipInstall\x86\RCa05204(48) : fatal error RC1116: RC terminating after preprocessor errors
E : fatal error U1077: '"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x86\rc.EXE"' : return code '0x2'
Stop.
Microsoft (R) Program Maintenance Utility Version 14.29.30136.0
Copyright (C) Microsoft Corporation. All rights reserved.
7zipUninstall.c
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\winnt.h(253) : error RC2188: C:\projects\7z-build-nsis\C\Util\7zipUninstall\x86\RCa02932(48) : fatal error RC1116: RC terminating after preprocessor errors
E : fatal error U1077: '"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x86\rc.EXE"' : return code '0x2'
Stop.