Last summer I replaced my entire track and repaired all the linkages and sliders pieces.
Funny, I have all the pics, just never got around to creating the complete DIY to replacing and repairing the sunroof.
drop the headliner (most upper trim pieces have to also be removed)
then unplug the four drain lines (nows a good time to clean them out)
unbolt entire sunroof assembly, I think there were six or so small brass coloured bolts/cap screws)
unbolt the end caps on the tracks
slide the part off the back of the track