Inno Setup-条件参数 [英] Inno Setup - Conditional Parameters

查看:164
本文介绍了Inno Setup-条件参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在InnoSetup中设置一种情况,默认情况下它将执行某些操作,除非指定了参数以不同方式进行操作.我正在使用Inno设置处理器,正在寻找提供#defines,但没有它就无法编译,并且在已经存在的情况下提供#defines参数即可保留原始值.

I'm trying to setup a situation in InnoSetup where it will do something by default, unless a parameter is specified to do things differently. I'm using Inno Setup Processor, and am looking at providing a #defines, but it cannot be compiled without it, and supplying a #defines parameter when one already exists keeps the origional value.

还有其他选择吗?

致谢

Tris

推荐答案

已解决:

使用{Param:ParamName | DefaultValue}

use {Param:ParamName|DefaultValue}

最终想出了:)

这篇关于Inno Setup-条件参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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