Inno Setup - Conditional Parameters

2019-08-14 15:58发布

问题:

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.

Are there any other options?

Regards

Tris

回答1:

Answered:

use {Param:ParamName|DefaultValue}

Figured it out eventually :)