CustomePE Media Builder
CustomPE Builder modifies the Windows Recovery Environment from Windows RT 8.1 or Windows 10 Build 15035 to automatically launch a script located outside of the Recovery Environment WIM.
Last updated
CustomPE Builder modifies the Windows Recovery Environment from Windows RT 8.1 or Windows 10 Build 15035 to automatically launch a script located outside of the Recovery Environment WIM.
Last updated
Download: Archive.org / Mega.nz - Version 1.00 - 13th September 2023
No guide currently exists for this tool however a few notes are posted below, those familiar with Windows Media Builder shouldn't have any issues using it. This was created to assist the developers of Android and Linux for Windows RT devices in investigating the possibility of deploying Android or Linux eMMC images from a Windows Preinstallation Environment however it may also be useful for Windows projects.
As well as single device output the CustomPE Media Builder can also create an All-in-one output which will create a WIM with an index for each device, the bootable index can be selected by running Boot_Device_Selection.cmd
before booting the USB on the target device. Devices which are included in the All-in-one output can be modified from the settings menu.
For single device output using the default settings the commands contained in \CustomPE\CustomPE.cmd
will be executed, by default this just launches the command prompt however this script can be modified to suit a users requirements.
In the example below the drive letter and path assigned is X:\CustomPE
however this may vary so it is best to avoid hardcoding a path, for example if the script needs to launch X:\CustomPE\Example.exe
it should be launched using %CD%\Example.exe
in the script.
Each device can also have its own specific script by enabling "Include Separate Device Scripts" in settings, this could be useful when combined with with All-in-one output option.
The appropriate device script is launched automatically for single device output and where All-in-one output is used the script executed corresponds to the selection made in the All-in-one output Boot_Device_Selection.cmd
script.
In this example, when "Include Separate Device Scripts" is enabled the \CustomPE\CustomPE.cmd
script launches the \CustomPE\Device_Surface2\Surface2.cmd
script if Microsoft Surface 2 was was selected as the current bootable index.
7-Zip - Copyright (C) 1999-2019, Igor Pavlov.
GNU Wget - Copyright (C) 1996-2008, Free Software Foundation, Inc.
QEMU - Copyright (C) 2003-2021 Fabrice Bellard and the QEMU Project developers. (Thanks to @x86corez & @driver1998)
SetACL - Copyright (C) 2012, Helge Klein.
Media Builder & Guide - @jwa4.