How to properly install Microsoft SQL 2008 Server?

I want to install Microsoft SQL 2008 Server but I fail each time when I try. I currently use 2005 Server but I would like to upgrade to 2008. The installation continues till the last step and I end up with a error, 'One or more devices connected to the system has malfunctioned…' How can I fix this error?
