Inno Setup Preprocessor


In ISPP directives can be used in two ways: simple (standard), or inline.

Simple directives occupy a whole line and must begin with # symbol. A whitespace is allowed before and after that symbol. The name of the directive follows.

Inline directives can appear inside the text line. They must begin and end with defined tokens. Those tokens are contolled via pragma directive. By default {# and } are assumed as starting and terminating tokens, respectively.

Please note that conditional blocks cannot be mixed, i. e. a conditional block can't be started by inline directive and finished by simple one, and vice versa.

See also

Documentation conventions.

Topics in this section