While updating system files or other files during UPGRADATION some service may be occuring the interuption due to that OS fails or crashes at that time windows restarts or shuts down. This sort of problem occured with my clients. So check the services whether they are conflicting or not ?
Second thing is your network or firewall are enabled during the upgradation ? If yes then their service may be conflicting. Check that also.
Third: Also as other dude answered about memmory thing its right. And check your RAM slot too.
Fourth: If you are installing from currupted source then its very possible that its installing currpted file or possibley with missing files.
Check these all things.
Whatever the solution you get. Please post it BACK for future referance of other members.
Good LUCK.