What is the difference between 7zip's 7z.sfx and 7zsd.sfx?
Asked Answered
I

3

10

I can't figure out what the difference is between the 7z.sfx file available with 7zip and the downloadable 7zsd.sfx from the developer's site, which is not bundled with 7zip. The 7z.sfx appears not to honor my request to include the config.txt file I created for it, but the 7zsd.sfx inclusion method works perfectly.

7zip comes with 7z.sfx bundled. The application history.txt in the program files directory shows that 7zsd.sfx used to be bundled with 7zip back in 2005. 7z.sfx is referred to as "uncompressed SFX" in the history.txt file as well.

This is the config used:

;!@Install@!UTF-8!
InstallPath="C:\\ProgramData\\IT"
GUIMode="2"
;!@InstallEnd@!

This is the syntax I'm using and the responding behavior:

C:\Users\<me>\Desktop\Updater\Recorder>copy /b 7z.sfx + config.txt + "RecorderVer0.0.0.4".7z "RecorderVer0.0.0.4".exe
7z.sfx
config.txt
RecorderVer0.0.0.4.7z
        1 file(s) copied.

The same response occurs with the use of 7zsd.sfx indicating that indeed the config file included is being utilized. However, when executing the 7z.sfx created RecorderVer0.0.0.4".exe the prompt for where to install the contents of the 7z archive is prompted for. Using the 7zsd.sfx created RecorderVer0.0.0.4.exe version directs files to the config set location without any prompting as desired.

To my knowledge 7z.sfx is not downloadable via the developer's site, but I may be wrong. His official page is no longer available, but the information provided from the Internet Archive should be adequate.

Idolum answered 10/11, 2011 at 23:0 Comment(2)
I found the answer to my question in 7-Zip documentation of all places! :) Looks like there are a total of 4 sfx modules and these are the differences: SFX_Module : Description; 7z.sfx : Windows version.; 7zCon.sfx : Console version. ; 7zS.sfx : Windows version for installers.; 7zSD.sfx : Windows version for installers (uses MSVCRT.dll). sevenzip.sourceforge.jp/chm/cmdline/switches/sfx.htmIdolum
If you are looking for the latest versions of 7zS.sfx and 7zSD.sfx see #41402865Idolum
I
12

I had this previously posted as a comment to my own question.

I found the answer to my question in 7-Zip documentation of all places! :) Looks like there are a total of 4 sfx modules and these are the differences:

SFX_Module : Description

Acquiring the 7zS.sfx and/or 7zSD.sfx stuffs is easy:

The installers are on the official download page. Just look for keyword 7-Zip Extra. Version 9.20 for example is https://www.7-zip.org/a/7z920_extra.7z

Idolum answered 2/4, 2013 at 17:57 Comment(3)
... but what does "for installers" mean, and what does "uses MSVCRT.dll" imply?Hecht
@Hecht "for installers" is aimed at those that wish to use the module to create a self extracting archive that does installation and cleans up after itself. MSVCRT.dll is a C++ runtime library: en.wikipedia.org/wiki/… When you see file offered with or without the dll its likely how it was commpiled. In this case it looks like a 35 KB diff. #1074009Idolum
"uses MSVCRT.dll" means your self-extracting archive won't run on vanilla Windows 95 or Windows 95 OEM Service Release 1, unless some other application has installed MSVCRT.dll on that box. But it will run on Windows 95 OEM Service Release 2, and Windows 98 and all later versions. So nowadays you probably won't have to worry about the difference unless you work in a computer museum.Egression
N
8

Just in case anybody stumbles across this post looking for the 7zS.sfx and 7zSD.sfx, you can find the 7z_extra files for the (currently) latest version at http://sourceforge.net/projects/sevenzip/files/7-Zip/9.22/7z922_extra.7z/download.

Nitrate answered 6/8, 2013 at 12:45 Comment(3)
Not an answer to the question. Belongs as a comment.Idolum
Comments require 50 rep. I was just trying to be helpful since this post came up a few times when I was trying to find the files.Nitrate
They're now available on the actual 7-zip website: 7-zip.org/download.htmlAuberge
T
3

I was also looking for the other sfx modules and managed to find them in the related LZMA SDK archive on the actual 7-zip website:

https://www.7-zip.org/sdk.html

Download the latest version of the LZMA SDK and look in the bin folder.

Teen answered 13/8, 2019 at 14:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.