Martin Reinders
unread,Jun 14, 2024, 12:27:07 AMJun 14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to inno...@googlegroups.com
Hi everyone,
Is it possible to ensure that a script file is processed by a minimum version of Inno Setup, such as "6.3 or better"?
It seems that there is no directive for that purpose, but perhaps I overlooked it.
Background:
I just updated to Inno Setup 6.3.1 on my computer and removed the UTF-8 byte order marker from the script file.
If the product is built by a coworker on a different computer where Inno Setup is not yet updated, the UTF-8 script file would be interpreted as ANSI and the result would be wrong.
I know, in this particular situation (upgrade from 6.2 to 6.3) the ArchitecturesAllowed will be changed in a backward incompatible way (e.g. "x64" to "x64compatible") which means that an older Inno Setup compiler fails to compile the script.
But still: checking for the compiler versions seems a useful feature to me, and I wonder if that is possible.
Best regards,
Martin