7zip 的 7z.sfx 和 7zsd.sfx 之间有什么区别?
我无法弄清楚 7zip 提供的 7z.sfx 文件与开发人员网站上可下载的 7zsd.sfx 文件之间有什么区别,后者未与 7zip 捆绑在一起。 7z.sfx 似乎没有满足我的请求,包含我为其创建的 config.txt 文件,但 7zsd.sfx 包含方法工作得很好。
7zip 捆绑了 7z.sfx。程序文件目录中的应用程序history.txt显示7zsd.sfx早在2005年就与7zip捆绑在一起。7z.sfx在history.txt文件中也被称为“未压缩的SFX”。
这是使用的配置:
;!@Install@!UTF-8!
InstallPath="C:\\ProgramData\\IT"
GUIMode="2"
;!@InstallEnd@!
这是我正在使用的语法和响应行为:
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.
使用 7zsd.sfx 会发生相同的响应,表明确实正在使用所包含的配置文件。但是,在执行 7z.sfx 创建的 RecorderVer0.0.0.4".exe 时,会提示输入 7z 存档内容的安装位置。使用 7zsd.sfx 创建的 RecorderVer0.0.0.4.exe 版本会将文件定向到 据我所知,
7z.sfx 无法通过开发人员的网站下载,但我可能是错的,他的官方页面是没有的。不再可用,但信息来自互联网档案馆 应该足够了。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我还在寻找其他 sfx 模块,并设法在实际 7-zip 网站上的相关 LZMA SDK 存档中找到它们:
https://www.7-zip.org/sdk.html
下载最新版本的 LZMA SDK 并查看
bin
文件夹。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.以防万一有人偶然发现这篇文章寻找 7zS.sfx 和 7zSD.sfx,您可以在 http://sourceforge.net/projects/sevenzip/files/7-Zip/9.22/ 7z922_extra.7z/下载。
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.
我之前曾将此作为对我自己的问题的评论发布。
我在所有地方的 7-Zip 文档中找到了我的问题的答案! :) 看起来总共有 4 个 sfx 模块,差异如下:
SFX_Module:描述
7z.sfx:Windows 版本。
7zCon.sfx:控制台版本。
7zS.sfx:安装程序的 Windows 版本。
7zSD.sfx:安装程序的 Windows 版本(使用 MSVCRT.dll)。
来源:http://sevenzip.sourceforge.jp/chm/cmdline/开关/sfx.htm
获取 7zS.sfx 和/或 7zSD.sfx 的东西很容易:
安装程序位于官方下载页面。只需查找关键字 7-Zip Extra。例如,版本 9.20 为 https://www.7-zip.org/a/7z920_extra。 7z
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
7z.sfx : Windows version.
7zCon.sfx : Console version.
7zS.sfx : Windows version for installers.
7zSD.sfx : Windows version for installers (uses MSVCRT.dll).
Source: http://sevenzip.sourceforge.jp/chm/cmdline/switches/sfx.htm
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