Inno Setup Preprocessor: #include
Syntax
include-directive: | (include | +) < <filename> > |
(include | +) <expr> |
Description
Includes the translation of the specified file.
If the filename is enclosed in angle brackets, ISPP first searches for the file in the directory where current file resides, then in the directory where the file that included current file resides, and so on. If the file is not found, it is searched on current include path, set via pragma, then on the path specified by INCLUDE environment variable.
If filename is an expression or specified in quotes, it is searched on current include path only.
The filename may be prefixed by "compiler:", in which case it looks for the file in the Compiler directory.
This directive cannot be used inline.
Examples
#include <file.iss>
#include "c:\dir\file.iss"
#include AddBackslash(CompilerPath) + "common.iss"