I recently upgraded my Inno Setup from version 5.4.3(u) to version 5.5.5(a), and now I'm getting an error for a script which used to compile fine with the previous version.
This is Inno Setup's output:
[ISPP] Preprocessing.
[ISPP] Preprocessed.
Error on line 1 in c:\Workspace\MyProject\MyInstaller.iss: Text is not inside a section.
The line in question is:
#if MYLANG == MYLANG_ENGLISH
So the processor is running, but somehow this line is not preprocessed. Why does this happen and how do I fix this?
It turned out that the problem was that I had upgraded from a Unicode version to an ASCII version. After re-installing, this time with 5.5.5 (u), I don't get any errors anymore.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With