clean install of windows 7 on an hp pavilion 6300 desktop

when it goes back to setup is starting services i get an error message that says the computer restarted unexpectedly or encountered an unexpected error. windows installation cannot proceed. to install windows click "ok" to restart the computer and then restart the installation but this just keeps repeating
 
normally when you launch the windows install cd, it will ask to install, then you delete the old windows partition off it, and proceed with install.