It´s possible to get rid off most of the variables, but problem still persists with %errorlevel% (shown as 9009 in written file) and %themefile% which is determined only when Check.bat is running after writing it to disc.
I guess for now we can just work on having the one folder Rearm but we can't put anything in IORRT Backup folder in case IORRT is uninstalled we'll still need Rearm folder to be present for IR6 stuff to be in
I only resisted cause testers we're saying that it wasn't working You know I would love to add my TS skull to a compiled.exe but still would like us to get the check.bat into D420
That's slowly turning into rocket science. I lost it two or three stages ago. Last batch file I wrote was MS-DOS.
Cause I like things to be perfect I wanted a central Rearm folder but that can be added later and no need to mess with IORRT right now Let's just put a separate IR6 hidden folder in systemdrive with these things Code: Backup IORRT.bat Check.bat IR6Bkup.theme msgbox.vbs And maybe if we get bored besides later doing the Rearm folder thing we could add voice to IR6 like IORRT has with A.I. voice confirmation "Installation successful" "Succesfully uninstalled"
As i see it, from these: Code: Check.bat IR6Bkup.theme msgbox.vbs only Check.bat is needed to be compiled into EXE together with Duality-script, as IR6Bkup.theme is created in :Backup and msgbox.vbs is created on the fly. So only thing is to determine the moment when Check.bat should be copied from Duality.exe to Rearm-folder (afaik it is needed when IR6-Task is created) and some adjustment in paths in Duality.cmd. Will have a look tomorrow, as my eyes are getting weak from starring at goats code .
I know, I meant that to mean what get's put in %sd%\IR6 hidden folder I believe I did all the new paths, install/uninstall cmd for IR6 folder and the copy cmd for the check.bat to %sd%\IR6 No Rearm folder for now, we'll combine IORRT/IR6 folders and error checking for install/uninstall later, right now I think it's read to go and compile!? In red, not sure the copy cmd needs a CD before it? I don't think so? See you later