Installing pan gasket with motor in car

I would think the pan would be easier. Make sure the holes all around the pan rail are flat, sometimes they will be cupped from tightening the bolts.

Flatten the pan rail, clean it real good and run a thin bead of RTV around the pan circling the holes. Put the gasket in place and drop the bolts in from the top to keep it aligned and let it sit over night. Install it the next day, or when you're ready.