what does the BSOD say for the error? if you can't read it before pc reboots, mash F8 during boot up and when the menu comes up select "Disable automatic restart..."on system failure or something similar.
normally if the CD is recognized you should be able to select to format the drive and install windows using the standard installation procedure.