Installation errors are usually produced by the Windows Installer (msiexec.exe or the likes).
They are usually inside the installation logfile mentioned a lot of times in this thread.
If you want to know more about deployment errors, check this:
Windows Installer Error Messages:
http://msdn.microsoft.com/en-us/library/aa372835%28v=vs.85%29.aspx
It maybe a Microsoft site, but somehow they are related to what you are asking.
Hope that helps.