PC rebooting when installing from CD


I have a problem with both CD-RW and DVD drives.
Whenever I try to run a setup (for games, mostly) from a CD, the computer reboots. Likewise, when I try to run already installed games that require CD in order to play, same thing happens.
Both drives can read audio and data CD’s, “Autoplay” works fine. I can copy files from data disks onto the HDD; CD burning works fine, as well. DVD movies are playing without problems.
Basically, the only thing I cannot do is install new programs from a CD.

CD-RW drive is LG HL-DT-ST CD-RW GCE-8481B, and DVD drive is JLMS XJ-HD166S. Operating system is Windows XP Professional (no updates whatsoever, but that is surely not the problem, because everything has been working fine for over 6 months, until yesterday).

Any help on this issue will be greatly appreciated.

Thanks in advance,