What I would do if you are going to open the case.
After you unhook the drive and check it to see if you still get the errors. If you do then, go into Device manager and delete the drive entirely. Then see if you still get the BSOD's. If not Then reboot, let windows see there is no drive there at all. Then shut down the PC and hook the Ribbon and Power cables back up. Then boot the PC. See if it will install the Cd drive with no problems. Or see if the errors come back up.... Just an Idea....