I'm guessing it's a Windows Registry problem, there are some missing or incorrect entries in there which relate to your CD-ROM drive. That's probably why it works perfectly okay until Windows has been installed & the Registry has been created.
There's a registry fix on this web-page which may do the trick:
Scroll down the FILE column on that page till you get to Restore Missing CD Drive (WinXP only!)
Click on that, and save the cdgone.zip
file to your PC.
Now unzip it to reveal 3 files. You only need to concern yourself with one of them and that's called cdgone.reg
Double click cdgone.reg
and click "Yes" to allow it to modify your Registry.
Now restart Windows.