从Inno Setup一次安装多个应用程序 [英] Installing several applications at once from Inno Setup

查看:436
本文介绍了从Inno Setup一次安装多个应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Inno Setup很陌生.我创建了一个相当简单的安装程序(一点也不难),它由一个应用程序组成.我想知道Inno Setup是否适合创建安装程序,该安装程序由几个具有自己的安装程序的应用程序组成(据我所知,这些安装程序可以从Inno Setup运行).还有一个选项(可能与编写一些Delphi代码有关),该选项使用户可以选择需要安装哪些应用程序(带有复选框或类似的东西).我了解这并不是一个具体的问题(尽管可以得到代码示例或完整答案),但我不想花太多时间来设置此工具(尽管我喜欢Inno Setup),如果不这样做的话满足我的需求.

I'm pretty new to Inno Setup. I created a fairly simple installer (and it wasn't hard at all), that consisted of one application. I wanted to know if Inno Setup is a suitable choice for creating an installer, that would consist of several applications, that have their own installers (as far as I understand, these installers could be run from Inno Setup). And is there an option (probably related to writing some Delphi code), that would let user choosing what apps need to be installed (with checkboxes or something like that). I understand that it's not really a concrete question (though a code sample or a full answer would be appreciated), I just don't want to spend too much time setting this tool (though I liked Inno Setup), if it doesn't meet my needs.

推荐答案

Inno Setup可以包含其他设置,并可以在任何条件下提取/运行它们,包括现有的依赖项(不存在),用户提示和[Components]/[Tasks]

An Inno Setup can include other setups and extract/run them on any condition, including dependancies (not) existing, user prompts and [Components]/[Tasks].

您可以使用普通的[Files]条目将其提取到{tmp}中,并使用[Run]条目来运行它.

You can use a normal [Files] entry to extract it into {tmp} and a [Run] entry to run it.

如果其他设置在Inno设置之外,请跳过[Files]条目,并在[Run]条目中使用{src}\BlahSetup.exe.

If the other setups are external to the Inno setup, skip the [Files] entry and use {src}\BlahSetup.exe for the [Run] entry.

这篇关于从Inno Setup一次安装多个应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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