Installing the optical drive involves removing the outer case before actual installation.
Release the back handle of the PowerMac. Slowly pull out the cube by holding the end of the handle. Watch for any parts that may become entangled with the outer case.
Push back the handle after you have taken the core out of the case.
Place the cube upside down and remove the four T10 Torx screws on the front plate. Then remove the two screws on each side.
Remove the four pillars from each corner.
Remove a total of four screws on the sides of the optical drive.
Slowly lift up the optical drive and remove the IDE cable.
Remove the power cable.