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(AddBackslash(SourcePath) + "Preprocessed.iss"), Exec(AddBackslash(CompilerPath) + "Compil32.exe", """" + AddBackslash(SourcePath) + "Preprocessed.iss""")

See also

emit.