I recently had issues with a QuickBooks reinstall after some computer corruption and couldn't get it to reinstall for the life of me.
Exhausting all resources and finally fixing it I am going to let you know what I did for fix it.
I was getting error 1304 (Error 1304: "Error writing to file [file name]. Verify that you have access to that directory.") first and was saying my cd drive was bad but I wasn't installing from cd as it was the exe file downloaded from their site.
I found after numerous hours and trial and error that the .net was the culprit and I tried to uninstalled and reinstall and then got:
Error 25015 failed to install assembly system error 0x80131107 failed to install because of system error 0x80131107
I could not get it to reinstall. I had to rename the C:\windows\assembly folder and clean out all the .net files from the c:\windows\microsoft.net folder. I then reinstalled the .net 2.0 successfully this time, rebooted and then installed my QuickBooks successfully.
Check out QuickBooks support to search for your error:
http://support.quickbooks.intuit.com/support/Default.aspx
Computer Repair Lakeland, FL