The diode does not have to be physically installed at the outside button. You could install it at the other end of the wire at the chime unit.
You just have to identify which set of wires connect to the button, and install it there -- usually at the chime unit (but not always). Sometimes, the connections would be at the transformer, depending on how it was wired.
You just have to identify which set of wires connect to the button, and install it there -- usually at the chime unit (but not always). Sometimes, the connections would be at the transformer, depending on how it was wired.