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 'Source: "file1.ext"; DestDir: ' + MyDestDir
Source: "file2.ext"; DestDir: {#MyDestDir}
#emit GenerateVisualCppFilesEntries ; user defined function

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

See also

expr.