The X-Plane installer should not try to modify any custom files. It will want to overwrite any default files you have changed, but you can choose not to overwrite. If in doubt, make a copy of the file and save it somewhere else so you can replace it with your custom version after the update.