I'm trying to create a custom pre-checkin policy in TFS. I was able to create it according to my needs. Now I have a problem. I'm required to have that policy executed on selected computers that are client to that TFS collection.
Whenever I add the custom policy to the collection, it is applied for every computer that is client to that collection - irrespective of the fact whether the custom policy is registered on the client computers or not. For those computers that do not have the policy DLLs registered, their check-in fails no matter what.
My question is, how can I have my policy enabled on my TFS collection and have it run on selected TFS clients?