If,ExistDir,%Target_Prog%\%ProgramFolder%,Call,DirDelete,%Target_Prog%\%ProgramFolder%If,Not,ExistDir,%Target_Prog%\ESET,DirMake,%Target_Prog%\ESETIf,%RG_DownloadOption%,Equal,0,DirCopy,%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%,%Target_Prog%\ESET
only 1 minor additional line to get dircopy work at "first" use....
So there is indeed a boo-boo, I have to put some tape, is it working with the old syntax ?
Btw, there is no loading progress can be seen when booting in UEFI/Secureboot mode. If i manually set legacy boot policy for efi\microsoft\Boot\bcd store, i can see the good old progress bar. I would like to see this to be done at build time (if the source is an x64) rather than doing it manually.This is how i set it - bcdedit.exe /store Y:\efi\microsoft\Boot\bcd /set {default} bootmenupolicy legacy