This is my BuildScript.cmd Code: @echo off setlocal enableextensions enabledelayedexpansion :: This script will be run during the build process to handle custom :: build operations. :: ---------------------------------------------------------------------------- :: Add script commands after this line md "%TBWinPE_MountPath%\Program Files\DS" 2> nul copy "D:\TBWinRE_files\FileManagers\DS\*.*" "%TBWinPE_MountPath%\Program Files\DS" md "%TBWinPE_MountPath%\Program Files\explorer++_1.3.5_x64" 2> nul copy "D:\TBWinRE_files\FileManagers\explorer++_1.3.5_x64\*.*" "%TBWinPE_MountPath%\Program Files\explorer++_1.3.5_x64" echo BuildScript running...
I just tried again, and even though I set it to 0, it still looks for boot drives and takes longer now. Also, my custom programs still don't show. How do you use that script?
Put the script into the config folder When building, Settings, Scripts tab, put a tick in Use BuildScript.cmd When building, Settings, TBLauncher tab, Startup section. Remove the tick in "Search for TBWinRE/PE boot media after booting (max 8 seconds)"
You might find this interesting in the future... https://www.terabyteunlimited.com/howto/howto-ifl-bootfile.htm Running Image for Linux Without a Boot Disk
I have... D:\TBWinRE_files\FileManagers\explorer++_1.3.5_x64 D:\TBWinRE_files\FileManagers\DS You could use C:\
When you are building the TBWinRE you will see a black Command window for a second or so. That's BuildScript.cmd running. So if you see the black window, that's good.
But I thought you were using the path it was located in Program Files. I've tried both locations. %ProgramFiles% %ProgramFiles(x86)% No show.
%ProgramFiles% refers to a folder in the WIM It isn't C:\Program Files Can you post the contents of your BuildScript.cmd?
You've got me confused. I think we might be talking about 2 different methods. One manually and one with a script.
Me too. All files/folders are in your C:\TBWinRE_files C:\TBWinRE_files\FileManagers contains your Explorer++ and DS files C:\TBWinRE_files\333re\config contains BuildScript.cmd and TBLauncher.ini Can you post the entire contents of BuildScript.cmd and TBLauncher.ini? Can you also post the contents of TBWinPE.ini (remove your personal info from the License section)?
This is how I had the folder structure set up. Basically, similar to just like I do for a UFD and Disc. I also tried running them directly from Program Files (x86) and Program Files. Same result. I thought that you originally suggested that. I also thought that you originally suggested to do it manually. Now, we are doing it by script, as far as I can understand.
Code: @echo off setlocal enableextensions enabledelayedexpansion :: This script will be run during the build process to handle custom :: build operations. :: ---------------------------------------------------------------------------- :: Add script commands after this line md "%TBWinPE_MountPath%\C:\Program Files (x86)\Explorer++" 2> nul copy "C:\TBWinRE_Files\Custom_Programs\Explorer++\*.*" "%TBWinPE_MountPath%\Program Files (x86)\Explorer++" md "%TBWinPE_MountPath%\C:\Program Files (x86)\Snapshot" 2> nul copy "C:\TBWinRE_Files\Custom_Programs\Snapshot\*.*" "%TBWinPE_MountPath%\Program Files (x86)\Snapshot" echo BuildScript running...
Hadron, Looks good. I think "Program Files" instead of "Program Files (x86)" in BuildScript.cmd and TBLauncher.ini is more correct but "Program Files (x86)" should work. Your TBWinPE.ini suggests you haven't put a tick in "Use BuildScript.cmd" yet. Does it work now?
Final, I hope. In BuildScript.cmd it is \Program Files\ In TBLauncher.ini it is %ProgramFiles% In retrospect you should have used my scripts, unedited.
Explorer++ and Drive Snapshot folders should be in C:\TBWinRE_files\FileManagers (using my folder names) None of your TBWinRE files should be in C:\Program Files or C:\Program Files (x86) %ProgramFiles% refers to a folder in the WIM. It is X:\Program Files when the WIM has loaded.
Is ProgramFiles and FileManagers not visible in Windows? And are the particular folder names not interchangeable?
Let's make it easy. Use my BuildScript.cmd (this file will be placed in the config folder) Use these in TBLauncher.ini (edit this file in the config folder, not in the main folder) [Menu_Item_11] Name=Explorer++ Path=%ProgramFiles%\explorer++_1.3.5_x64\Explorer++.exe WorkingDir= Parameters= Icon=0 [Menu_Item_12] Name=Drive Snapshot Path=%ProgramFiles%\DS\snapshot64.exe WorkingDir= Parameters= Icon=0 Change 3 folder names to.. FileManagers DS explorer++_1.3.5_x64 If it works in my computer it should work in your computer as we'll have the same scripts and folder names.