Problem with installing windows 7

I have purchased a Windows 7 original DVD. Now I want to format my Hard Disk and make a fresh installation of windows 7. When I boot from DVD it stops with an error message which is "can not Process installation" and some error codes.
Note: The previous windows vista was built in with the laptop.
