I had an identical problem with a Toshiba Satellite laptop i.e. machine would power itself down during the installation phase and then my previous Windows 7 OS would be restored when the machine was powered back up.
After reading MANY different potential solutions my problem ended up simply...