After installing Windows 7 Automated Installation Kit I followed the following walkthrough:
There are a few changes that need to be followed:
Start the "Deployment Tools Command Prompt" from the start menu.
copype.cmd x86 c:\winpe_x86
Mount the Image:
imagex /mountrw WinPE.wim 1 c:\winpe_x86\mount\
Add any Flash Files:
cp c:\acerBIOSflash202.exe c:\winpe_x86\mount
This step must be added
imagex /unmount /commit c:\winpe_x86\mount
(it is in the other walkthroughs). It will not boot otherwise.
To partition the disk you must leave the "Deployment Tools Command Prompt".
xcopy c:\winpe_x86\winpe.wim c:\winpe_x86\iso\sources\boot.wim /y
If you stay in the "Deployment Tools Command Prompt" it will not create a proper bootable partition. Start a separate command prompt with administrator privileges. Replace disk 6 with your USB
select disk 6
create partition primary size=<size of device>
select partition 1
format fs=fat32 quick
Copy to your USB. Change "F:\" to the location of your drive.
xcopy c:\winpe_x86\iso\*.* /s /e /f f:\
Once you boot, you get a command prompt in a Windows environment.
Now you can navigate to the location of flash utility and install.
I hope this tutorial helps anyone else. It took a while to compile various walkthroughs and Q&As.
1. You cannot add the flash utility directly to the ISO. It has to be mounted into the actual boot.wmi.
2. If the disk fails to boot ensure that the active flag (boot) is set in diskpart.