@echo off
:: [COLOR=#ff0000]Install the "Windows Assessment and Deployment Kit (Windows ADK)"[/COLOR]
:: [COLOR=#ff0000]You will only need to install the "Deployment Tools"[/COLOR] and "Windows Preinstallation Environment (Windows PE)"
::
:: [COLOR=#ff0000]Create the following folders:[/COLOR]
:: [COLOR=#ff0000]C:\my_Distribution[/COLOR]
:: [COLOR=#ff0000]C:\my_Distribution\dvd[/COLOR]
:: C:\my_Distribution\updates (if you want to integrate updates)
::
:: If you want the Windows 8.1 setup does not ask for product key at the beginning of the setup.
:: - Copy EI.cfg to "C:\my_Distribution"
:: OR
:: If you want to use PID.txt file to automate product key entry.
:: - Copy PID.txt to "C:\my_Distribution"
:: - Note that in this script, the PID.txt will be copied only if you make the Core or Pro version.
::
:: If you want to use SetupComplete.cmd file, copy SetupComplete.cmd to "C:\my_Distribution"
::
:: [COLOR=#ff0000]Copy the files from the Windows 8.1 with Update (x86 or x64) installation media to "C:\my_Distribution\dvd"[/COLOR]
::
:: If you want to integrate updates, copy (x86 or x64) update files (*.msu, *.cab) to "C:\my_Distribution\updates"
::
:: [COLOR=#ff0000]Save this file as "Integration.cmd" and copy file to "C:\my_Distribution"[/COLOR]
::
:: [COLOR=#ff0000]Run as administrator "Deployment and Imaging Tools Environment"[/COLOR]
:: [COLOR=#ff0000]Run the command: C:\my_Distribution\Integration.cmd[/COLOR]