Okay i have made a WinPE cd-bootable ISO using the folowing code from the WAIK command prompt:
copype.cmd x86 c:\winpe_x86
imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount
peimg /install=WinPE-HTA-Package c:\winpe_x86\mount\Windows
peimg /install=WinPE-MDAC-Package c:\winpe_x86\mount\Windows
peimg /install=WinPE-Scripting-Package c:\winpe_x86\mount\Windows
peimg /install=WinPE-WMI-Package c:\winpe_x86\mount\Windows
peimg /install=WinPE-XML-Package c:\winpe_x86\mount\Windows
peimg /list c:\winpe_x86\mount\Windows
imagex /apply C:\winpe_x86\ISO\sources\boot.wim 1 C:\winpe_x86
copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim
peimg /prep c:\winpe_x86\mount\Windows
peimg /targetpath=x:\ c:\winpe_x86\mount\Windows
imagex /boot /compress max /capture c:\winpe_x86 C:\winpe_x86\ISO\sources\boot.wim "My Winpe Image"
oscdimg -n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso
But when i boot the image, it hangs forever with a command prompt which shows startnet.cmd calling wpeinit?