Nice works, you made me want to connect
I tried with Win10PESE with a successful build, correctly started in VMPlayer.
I wish you a good continuation.
Have you something already planned to design the interface ?
Few things seen
In Win10PESE Main Configuration, Build model,
There are 4 choices: Normal,In RAM (boot.wim),_BuildModel_Choice_,True
The last 2 (section, progress) should not be displayed
Same for Boot Manager
I have a problem with the cache, I open PEBackery
If I modify a script, the modifications are not treated.
Caching should probably be done after clicking the 2 buttons: Build or Run Script
It is a very good choice to have the log written in a SQLite database
Personally, I would have removed the choice for logging macros (maybe comments also) in setting and add some checkbox choices in the log viewer. Might be debatable.
About the weird mess syntax , I partly agree, but I certainly would not have taken batch/cmd as an example.
cmd is really a much worse %~dp0, %~n1, set string=%string:~0,3%, set string=!string:~0,-1!, ... No problem with Goto if well used.
But hey, this discution does not allow any progress and it is probably too early.
However, my 2 cents on syntax, the first thing would be the escape chars #$q, #$s... # alone or other special char should be enough.
A second would be the If, Begin, End, Else, Begin, End
If expression
.....
Else
...
EndIf
A 3rd could be to remove all the commas delimiter to be replaced by spaces
but it is probably be like that to save time for the interpreter and development.
Just few ideas to ripen for latter.