First of all, Windows 7 does not come on a CD -- it is far too large for that. It only comes on a DVD. So, if you are really inserting a CD into your PC, that is likely a Repair CD and that can not be used to install Windows.
Second, I believe that if you actually boot from a Win7 DVD you will not see the HP logo, so seeing the logo implies you are still trying to boot from the drive, and since it is blank, that is not going to work. You need to go into your BIOS settings and change them to boot from the Windows DVD.
***If my post helped, click the White thumbs-up symbol to say thanks***
***Please mark Accept As Solution if my post solved your problem***
I am a volunteer and I do not work for, nor represent, HP
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".