Inno Setup Preprocessor: #expr

Inno Setup Preprocessor

Inno Setup Preprocessor: #expr

Syntax

expr-directive: (expr | !) <expr>

Description

Evaluates an expression ignoring its result. This directive acts like emit with the exception that it doesn't emit anything to the translation.

This directive is intended to be used with functions that produce side effects and do not return any significant value.

Examples

#expr SaveToFile("preprocessed.iss"), Exec("notepad.exe", "preprocessed.iss")

See also

emit.