Setup Media Template
This folder is the base for the bootable ISO structure when using -UseSetupTemplate.
The maker scripts will:
- Copy
install.wimfrom the source ISO intosources/ - Copy everything from this folder on top (merging into the scratch directory)
- Mount and modify
install.wim(bloat removal, registry tweaks, etc.) - Mount and modify
sources/boot.wim(LabConfig bypasses, branding) - Run
oscdimgon the scratch directory to produce the final ISO
Populate from a Windows ISO
Mount a Windows ISO and copy these files/folders here:
boot/
efi/
sources/boot.wim
bootmgr
bootmgr.efi
setup.exe
autorun.inf
etfsboot.com (from sources/ or root)
efisys.bin (from efi/microsoft/boot/)
Do NOT place install.wim or install.esd here — those always come from the source ISO.
Customisation
Files in this folder will overwrite the matching file from the source ISO. Typical customisations:
sources/boot.wim— replace with a pre-themed WinPE (still gets LabConfig registry tweaks applied by the script)sources/background.bmp— custom setup background (also patched by branding-resources)boot//efi/— custom bootloader files
Usage
.\tiny11maker.ps1 -UseSetupTemplate
.\tiny10maker.ps1 -UseSetupTemplate -windowsisopath D:
.\TinyWindowsMaker.ps1 -UseSetupTemplate -windowsisopath "C:\path\to\windows.iso"