Pull up a command prompt, run chkdisk /f, and then restart your computer after it finishes doing things on the console window (I don't actually remember if it does anything right off the bat or not); it'll check your hard drive for errors. Hopefully it's just a minor hard drive bug; it seems likely because I can't think of any other reason the whole computer would lock up during an install.