The boots are a problem yea however if there is play in the joint it need be replaced as a unit, tie rod end will include a new boot naturally.
If the joint is tight and is greaseable type you could just replace the boot if you can get one, however usually when to that point the damaged boot has allowed dirt in damage is already done. Unless of course excessive amount of play in the joint to start with was the reason for the boot failure/damage.
Even the joint pictured with the fully intact boot, that joint might be worn out regardless of boots apparent condition.
Only way know is check everything over for play.