Make sure you have the latest BIOS version update from computer or mobo maker's Support Downloads webpage. If so, reset the CMOS: Clear CMOS - 3 Ways to Clear the CMOS - Reset BIOS
Also in BIOS setup set SATA controller to AHCI first, then IDE mode if necessary.
If install fails, try pre-partitioning the HD using free Partition Wizard bootable CD
or the DISKPART steps in BareFootKid's post above. Mark it Active.
Next test your RAM with memtest86 for 5-6 passes: RAM - Test with Memtest86+
Then test your HD with maker's diag/repair full CD scan: HD Diagnostic
Post back the exact wording of the error message.