Instructions (PEBakery)

Please note that the screenshots below were captured from a previous version of MistyPE and may differ in this release.

MistyPE uses the WinBuilder scripting environment to automate a number of tasks to create a working WinPE.

Before running PEBakery please be aware that, in the MistyPE project, the following project directory (and sub directories) will, if they exist, be deleted during the start of the build process (Note - %BaseDir% is a WinBuilder variable for the folder from which the PEBakery executable Launcher.exe is running).

Sections in this page -


Updating PEBakery

Pre-compiled PEBakery testbuild downloads are available here.

PEBakery version 0.9.1 alpha (Build 20171225) is included in the project download. PEBakery is in active development and you may want to update to new versions as they are released. I recommend deleting all traces of the previous version before extracting a new test build to the directory containing the MistyPE project files. Assuming MistyPE is in the C:\MistyPE\ path, delete the following files/folders -

Now extract the files from the updated PEBakery testbuild download to the MistyPE root folder (the folder containing WinBuilder.exe and the Projects directory). Using the path from the example above, the project should now contain the following -


PEBakery Basics

The PEBakery Interface is divided into several sections -

  1. Expandable folder tree with a list of project scripts in the left panel. Tick the box in the folder tree next to the script that you want to include in the build. Untick any boxes next to scripts to be excluded from the build process.
  2. PEBakery settings/options buttons in the top panel. Buttons from left to right -
  3. Script settings/options buttons to the right of the script titlebar. From top to bottom -


When Launcher.exe is first run, you should see a screen similar to the following (the folder tree on the left can be expanded so that individual script options can be selected or disabled as required) -

Click on the Settings button in the top row in the PEBakery Interface to set the path to your Windows Installation Media source files.

Ensure that the Projects tab is selected > click on the folder icon to the right of the Source Directory box to browse to the drive/folder containing your source files > click on the Save button -

Expand the folder tree on the left and view and select individual project script options as required (refer to the Project Scripts section for details about all included project scripts) -

To start the build process, click on the Build button in the top row of buttons -

A progress bar will be displayed for individual project scripts as they are processed -

The source for project scripts can be viewed by clicking on the Edit Plugin button to the right of the script title bar (note - you may need to associate a default program to open .script files) -

PEBakery has built in logging support with a database store containing logs for previous builds. These logs are very useful for troubleshooting problems with both the project and PEBakery. Logs can be accessed via the Log button in the top row of buttons -

Use the tabs to toggle between System Log and Build Log pages - -

In the Build Log tab, use the pick list in the Select Build field to select the required build log and then click on the Export button to save the log file (.html and plain .txt files are supported) -


Project Options

Individual PEBakery project scripts can contain a range of options. In MistyPE I have attempted to keep the interface as simple as possible and have tried to keep the options to a minimum. Most of the options are set in the main project script and can be viewed by selecting MistyPE at the top of the folder tree in the left panel -

A number of scripts in the MistyPE project have a tab style interface with additional options -

To see more information about any of the available options that can be set/changed in the MistyPE project, click on the relevant HELP button -

Selecting HELP for this option will display the following information-

Although most of the options are contained in the main project script, the following scripts also have some options that can be changed by the user -

The following screenshot shows an example of the options in one of the program scripts for setting a file path and adding the relevant program to the cache. Ensure that the Advanced tab is displayed > Select the folder icon to browse to the required file/folder > Click on the ADD TO CACHE button.

And the following screenshot shows an example of the option in one of the program scripts for automatically downloading a program and adding it to the cache. Ensure that the Advanced tab is displayed > Click on the ADD TO CACHE button in the download section.

Document date - 20th January 2018