I've almost got a complete repair kit put together with cutom tools, but I am having an odd issue now.

I am using WAIK 2 with WinPE 3.0

I mount the file with Dism, then use explorer to manually add the files where I want them, and I adjust the Winpeshl.ini to show my shell I'm using for this.

Problem one: The .ini doesn't load correctly. Says that either the format is wrong or it is not a valid executable. Fair enough, I'll manually launch it is what I thought then I came to the next issue. I have correctly fixed the *.ini now, but because of the next issue it isn't working correctly.

Problem two: It isn't correctly creating the .iso file. When mounted it shows my programs, I can commit and unmount fine, then create the *.iso and my programs are not there. I remount, go there and they are. I do have programs from when I was building it earlier that are there, but whatever I do now, it doesn't matter it simply recreates the exact same *.iso file, I remove the *.iso file and recreate and it simply spits up the old one again.

I've done a few searches and can't find anybody with this problem, can anybody help?

EDIT:

I executed a command after the unmount and before the iso creation:

copy k:\winpe2_x86\winpe.wim k:\winpe2_x86\ISO\sources\boot.wim

This appears to have fixed the problem.