如何使用WinRAR制作自安装可执行文件? [英] How do I make a self-installing executable using WinRAR?

查看:171
本文介绍了如何使用WinRAR制作自安装可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到可执行文件会解压缩并随后运行压缩的setup.exe:双击该文件将其解压缩,然后运行以前压缩的setup.exe.

I've seen executables that extract themselves and run a compressed setup.exe afterwards: a double click on the file uncompresses it and then runs the formerly compressed setup.exe.

我该怎么做?我想使用WinRAR,在将压缩后的setup.exe解压缩到临时文件夹后,如何制作一个运行该压缩后的自解压可执行文件?

How can I accomplish this? I would like to use WinRAR, how can I make a self-extracting executable that runs the compressed setup.exe after unpacking it to a temporary folder?

推荐答案

新存档,设置为SFX模式.转到高级"选项卡,"SFX选项"按钮.

New Archive, set to SFX mode. Go to Advanced tab, SFX Options button.

常规"选项卡上的提取后运行"文本框.输入您的setup.exe,如果有,请输入相对路径.

General tab, "Run after extraction" textbox. Enter your setup.exe, with relative path if any.

然后转到模式"标签并将其设置为临时"模式:

Then go to Modes tab and set it to Temporary mode:

如果您将问题字段保留为空白,它不会提示用户,并且可以使用底部的单选按钮使其保持沉默.

It will not prompt the user if you leave the question fields blank, and you can make it silent with the radio buttons at the bottom.

这篇关于如何使用WinRAR制作自安装可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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