when the following code is executed the log shows the statment evaluating to true but the Echo command is never processed.
If,%version%,Smaller,80,Echo,"Winbuilder 080 or higher is required in order to configure advanced options, build will continue as normal but ShutdownPE.ini will not be created.",WARN If,Not,%testvar%,Equal,80,Echo,"Winbuilder 080 or higher is required in order to configure advanced options, build will continue as normal but ShutdownPE.ini will not be created.",WARN
I can only get the Echo to display by using a Begin, End which works fine, but it would be nice to exclude the extra commands for simplicity.
If,%version%,Smaller,80,Begin Echo,"Winbuilder 080 or higher is required in order to configure advanced options, build will continue as normal but ShutdownPE.ini will not be created.",WARN End