Is it preferable to install the exhaust before or after an engine remapping, if this is a modification that is planned to be done?

For a CAT-BACK, it has little influence so no real importance. However, for DOWNPIPES/Sport Cats, it is preferable to have them changed before the remapping so this can be taken into account for an improved engine mapping optimization.