Trick/tip, in car oil pan rear gasket install?

Even though there are little square recesses at the ends of the main cap to sort of hold that seal the weather strip adhesive works great.
A thin bead all the way across the block side of the seal and then press it into place.
Pull it right back off and give it 3 min or so to tack up (get sticky)
Press it back into place and continue on with your pan install.
I like a film of RTV on the pan side of the seal right before the pan goes on.
It lets the pan slide around a little without disrupting the seal placement as well as gives seepage insurance.

The weather strip adhesive works good for the cork rail seals using the same method.

(Pull a motor to replace that seal?) not a chance in hell.:D