The Command-Line Compiler (ISCC.exe) provides extra options to control Inno Setup Preprocessor:
| Option | Meaning |
|---|---|
| --define=<name>[=<value>], -d<name>[=<value>] | Emulates #define public <name> <value> (variable-definition). |
| -$<letter>(+|-) | Emulates #pragma option -<letter>(+|-). |
| -p<letter>(+|-) | Emulates #pragma parseroption -<letter>(+|-). |
| --include-dirs=<paths>, -i<paths> | Emulates #pragma include <paths> (multiple paths can be delimited with semicolons). |
| --include=<filename>, -j<filename> | Emulates #include <filename>. |
| --inline-start=<string>, -{#<string> | Emulates #pragma inlinestart <string>. |
| --inline-end=<string>, -}<string> | Emulates #pragma inlineend <string>. |
| --verbose=<number>, -v<number> | Emulates #pragma verboselevel <number>. |
Example: iscc -$c- -pu+ "--define=LicenseFile=Trial License.txt" --include-dirs=c:\inc;d:\inc --include=defines.iss "c:\isetup\samples\my script.iss"