如何将 7-zip 自解压存档静默安装到特定目录? [英] How do I silently install a 7-zip self-extracting archive to a specific directory?
本文介绍了如何将 7-zip 自解压存档静默安装到特定目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Ruby Devkit 是一个基于 7-zip 的自解压存档.
The Ruby Devkit is a 7-zip based self-extracting archive.
我想静默调用它,而不必安装 7-Zip 将文件解压缩到我选择的文件夹中,以便我可以编写安装脚本.我想它是这样的:
I would like to invoke it silently without having to install 7-Zip to extract the files to a folder of my choosing, so that I can script the installation. I imagine it to be something like:
cmd> DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe /silent /dir="C:DevKit"
但这当然行不通.我必须使用哪些命令行标志将此存档静默提取到我选择的文件夹中?
But that, of course, doesn't work. What command line flags must I use to silently extract this archive into a folder of my choice?
推荐答案
试试这个:
C:> DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe -o"C:DevKit" -y
这篇关于如何将 7-zip 自解压存档静默安装到特定目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文