7zip 的 7z.sfx 和 7zsd.sfx 有什么区别? [英] What is the difference between 7zip's 7z.sfx and 7zsd.sfx?

查看:44
本文介绍了7zip 的 7z.sfx 和 7zsd.sfx 有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法弄清楚 7zip 提供的 7z.sfx 文件与开发人员站点上可下载的 7zsd.sfx 文件之间有什么区别,后者未与 7zip 捆绑在一起.7z.sfx 似乎不满足我的请求,包括我为它创建的 config.txt 文件,但 7zsd.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 捆绑了 7z.sfx.程序文件目录中的应用程序 history.txt 显示 7zsd.sfx 曾经在 2005 年与 7zip 捆绑在一起.7z.sfx 在 history.txt 文件中也被称为未压缩的 SFX".

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.

这是使用的配置:

;!@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.

使用 7zsd.sfx 会出现相同的响应,表明确实正在使用包含的配置文件.但是,在执行 7z.sfx 创建的 RecorderVer0.0.0.4".exe 时,会提示安装 7z 存档内容的位置.使用 7zsd.sfx 创建的 RecorderVer0.0.0.4.exe 版本会将文件定向到配置集位置,无需任何提示.

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.

据我所知 7z.sfx 不能通过开发者网站下载,但我可能错了.他的官方页面不再可用,但提供的信息来自互联网档案馆应该足够了.

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.

推荐答案

我之前发布过这个作为对我自己问题的评论.

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

我在所有地方的 7-Zip 文档中找到了我的问题的答案!:) 看起来总共有 4 个 sfx 模块,这些是区别:

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 :说明

  • 7z.sfx:Windows 版本.

  • 7z.sfx : Windows version.

7zCon.sfx:主机版.

7zCon.sfx : Console version.

7zS.sfx:安装程序的 Windows 版本.

7zS.sfx : Windows version for installers.

7zSD.sfx:安装程序的 Windows 版本(使用 MSVCRT.dll).

7zSD.sfx : Windows version for installers (uses 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

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

这篇关于7zip 的 7z.sfx 和 7zsd.sfx 有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆