When trying to install SQL Server 2008 R2, you get the following error:
SQL Server Setup Failure.
SQL Server Setup has encountered the following error:
Could not find the file ‘\MediaInfo.xml’..
This is because, when you run SQL Server Installation Center, several files are decompressed ready for installation. MediaInfo.xml is one of these files. When you close SQL Server Installation Center during the install, the decompressed installation files are tidied up (MediaInfo.xml is deleted).
To fix the SQL Server Setup error, rerun SQL Server setup, leaving the SQL Server Installation Center window open throughout the install.