I don't have time to compile scripts for all of the programs listed in your post above - sorry. To compile a script I would need to check whether the program works in all version of MistyPE (WinPE 2.*\3.*\4\5), check for dependencies and also check software licences for each program.
Instead, this is a guide to creating your own MistyPE project script for a program available in x86 and x64 versions (e.g. Notepad2-mod).
We will refer to this program as My.Program. Create the following directory structure (path is relative to WinBuilder.exe) -
\Projects\Cache\Programs\My.Program\x86
\Projects\Cache\Programs\My.Program\x64
Copy the x86 version of My.Program (+dependencies, etc) to \Projects\Cache\Programs\My.Program\x86
Copy the x64 version of My.Program (+dependencies, etc) to \Projects\Cache\Programs\My.Program\x64
Now open notepad, copy and paste the following text and save as \Projects\MistyPE\Programs\My.Program.script -
[main] Title=My.Program Description= Selected=True Level=3 Author= Version=1 Date= [process] Run,%ScriptFile%,CHECKS Run,%ScriptFile%,MENU Run,%ScriptFile%,COMMON If,%PROGRAMS.IN.WIM%,Equal,NO,Run,%ScriptFile%,NOT.IN.WIM If,%PROGRAMS.IN.WIM%,Equal,YES,Run,%ScriptFile%,IN.WIM [CHECKS] If,Not,ExistFile,"%Programs%\My.Program\%ARCH%\My.Program.exe",Begin Message,My.Program is missing - exiting script...,Error,5 Exit,My.Program is missing - exiting script...,WARN End [MENU] If,Not,ExistFile,"%Cache%\temp\programs.rc.txt",FileCreateBlank,"%Cache%\temp\programs.rc.txt" If,Not,ExistFile,"%Cache%\temp\programs.cmd.txt",FileCreateBlank,"%Cache%\temp\programs.cmd.txt" TXTaddLine,"%Cache%\temp\programs.rc.txt",[exec] (My.Program) {#$q%SYSTEMDRIVE%\Programs\My.Program\My.Program.exe#$q},Append TXTaddLine,"%Cache%\temp\programs.cmd.txt",IF EXIST #$q%~dp0My.Program\My.Program.exe#$q ECHO [exec] (My.Program) {#$q%~dp0My.Program\My.Program.exe#$q} >> #$q%SYSTEMDRIVE%\Programs\bblean\menu.rc#$q,Append [COMMON] If,%PROGRAMS.IN.WIM%,Equal,NO,Set,%PATH%,%OutputDir% If,%PROGRAMS.IN.WIM%,Equal,YES,Set,%PATH%,%TargetDir% If,Not,ExistDir,"%PATH%\Programs",DirMake,"%PATH%\Programs" DirMake,"%PATH%\Programs\My.Program" DirCopy,"%Programs%\My.Program\%ARCH%\*.*","%PATH%\Programs\My.Program" [IN.WIM] Wait,1 [NOT.IN.WIM] Wait,1 Exit,"My.Program copied to #$q%PATH%\Programs#$q directory - it will not be added to #$qboot.wim#$q",Nowarn
Now to adapt this for Notepad2-mod (here). I'm going to assume here that the executable name is Notepad2.exe for both x86 and x64 versions of the program
Create the following directories -
\Projects\Cache\Programs\Notepad2\x86
\Projects\Cache\Programs\Notepad2\x64
Copy the x86 version of notepad2-mod (+dependencies, etc) to \Projects\Cache\Programs\Notepad2\x86
Copy the x64 version of notepad2-mod (+dependencies, etc) to \Projects\Cache\Programs\Notepad2\x64
Now open notepad, copy and paste the following text and save as \Projects\MistyPE\Programs\Notepad2.script -
[main] Title=Notepad2 Description= Selected=True Level=3 Author= Version=1 Date= [process] Run,%ScriptFile%,CHECKS Run,%ScriptFile%,MENU Run,%ScriptFile%,COMMON If,%PROGRAMS.IN.WIM%,Equal,NO,Run,%ScriptFile%,NOT.IN.WIM If,%PROGRAMS.IN.WIM%,Equal,YES,Run,%ScriptFile%,IN.WIM [CHECKS] If,Not,ExistFile,"%Programs%\Notepad2\%ARCH%\Notepad2.exe",Begin Message,Notepad2 is missing - exiting script...,Error,5 Exit,Notepad2 is missing - exiting script...,WARN End [MENU] If,Not,ExistFile,"%Cache%\temp\programs.rc.txt",FileCreateBlank,"%Cache%\temp\programs.rc.txt" If,Not,ExistFile,"%Cache%\temp\programs.cmd.txt",FileCreateBlank,"%Cache%\temp\programs.cmd.txt" TXTaddLine,"%Cache%\temp\programs.rc.txt",[exec] (Notepad2) {#$q%SYSTEMDRIVE%\Programs\Notepad2\Notepad2.exe#$q},Append TXTaddLine,"%Cache%\temp\programs.cmd.txt",IF EXIST #$q%~dp0Notepad2\Notepad2.exe#$q ECHO [exec] (Notepad2) {#$q%~dp0Notepad2\Notepad2.exe#$q} >> #$q%SYSTEMDRIVE%\Programs\bblean\menu.rc#$q,Append [COMMON] If,%PROGRAMS.IN.WIM%,Equal,NO,Set,%PATH%,%OutputDir% If,%PROGRAMS.IN.WIM%,Equal,YES,Set,%PATH%,%TargetDir% If,Not,ExistDir,"%PATH%\Programs",DirMake,"%PATH%\Programs" DirMake,"%PATH%\Programs\Notepad2" DirCopy,"%Programs%\Notepad2\%ARCH%\*.*","%PATH%\Programs\Notepad2" [IN.WIM] Wait,1 [NOT.IN.WIM] Wait,1 Exit,"Notepad2 copied to #$q%PATH%\Programs#$q directory - it will not be added to #$qboot.wim#$q",NowarnAs you can see, in this new script all references to My.Program have simply been replaced with Notepad2. Just be sure to check file and folder paths if using this approach. If the executable has a different name to the folder you have put it in you will have to adjust the script accordingly.
This particular script example won't work if the x86 and x64 versions of the program have different file names (see the existing Ghost script for some tips on how to handle this).
I'll complete a similar post for how to create a program script for an x86 only program later (or tomorrow).
Regards,
Misty