Inno Setup Preprocessor: #emit

Syntax

emit-directive: (emit | =) <expr>

Description

Replaces the directive with the value of expr.

When used inline, the name of this directive can be omitted unless expr begins with the name of another directive.

Examples

[Files]
#emit 'Filename: "file1.ext"; DestDir: {' + MyDestDir + '}'
Filename: "file2.ext"; DestDir: {{#MyDestDir}}
#emit GenerateVisualCppFilesEntries ; user defined macro

[Code]
const
  AppName = '{#SetupSetting("AppName")}';

See also

expr.