To be able to use directives other than '#include'As a VFP developer I'm accustomed to case insensitive syntax, so I had to read the error message a couple of times and double check my script before I understood that #INCLUDE is not the same as #include. The #include directive is a native part of Inno Setup and does not require the ISPP.
you need to install the Inno Setup Preprocessor (ISPP)
I checked a couple of other directives in Inno Setup and found they are not case sensitive. For example, the compiler accepts APPID and SOURCEDIR in the Setup section as well as the more conventional AppID and SourceDir, and in the Files section parameters such as Source and DestDir are not case sensitive either. I'm not sure why #include should be different, but it is.
Tags: Inno Setup
1 comment:
I would think the #anything would automatically be checked against a pre-processor directive. If it is "include", it gets processed internally, while everything else gets 'outsourced' :-)
I've seen this in other tools both in Windows and Unix realm. So while inconvenient, it's not necessarily uncommon.
Post a Comment