A hang may also occur if the driverpacks exceptions file is not taken into account when copying files etc. That is, a hwid may be matched to an incorrect and incompatible driver file version. Take note of what occurs with what DPs_BASE.exe does in generating the mass storage bartpe plugin.
That is a very good point as well, Galapo. I'll try to look into that as soon as I complete this project.