如何以静默方式将7-zip自解压存档安装到特定目录? [英] How do I silently install a 7-zip self-extracting archive to a specific directory?

查看:206
本文介绍了如何以静默方式将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?

推荐答案

我应该使用什么命令行标志来静默地将这个档案提取到我选择的文件夹中? >

try this:

C:\> DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe -o"C:\DevKit" -y

这篇关于如何以静默方式将7-zip自解压存档安装到特定目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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