Incase anyone has or is having problems installign Windows 7 onto P4 boxes with ASRock or MSI motherboards this is a pretty good solution that doesnt involve making bootable floppies using the microsoft method. (For the curious people Download details: Windows XP Home Edition Utility: Setup Disks for Floppy Boot Install , replacing the XP CD with Win7 DVD works for code5 errors)

The solution below uses the freeware program ImgBurn to make a new boot file, using the one provided on the Win7 / Vista disc, or if you do not have a disc using vLite.

UNAWAVE - Code 5 Error whilst booting Windows 7 DVD

Works well, thought i would share