Of course, each case is different. But I would suggest that this will depend mainly on whether the company wants to continue selling / supporting the product.
For example, although StarCraft was released 12 years ago, if Windows 7 came out and StarCraft didn't work on it, I think Blizzard will fix it. What for? Because it is still for sale! It doesn't matter what is old, if you want your customers to be happy and keep getting new customers, you will fix it.
On the other hand, some companies simply decide to abandon the product after a while, if it does not make sense to support or sell them. For example, Microsoft recently decided to abandon MS Money . If you already have MS Money, you can continue to use it, but if MS came out with a new version of Windows (Windows 8?), And your old copy of MS Money did not work, you probably would be SOL. They are no longer interested in this.
In this particular case, you are selling your customer a work product that they redistribute to their customers. (You did not say this in your question, but I know that this is true). If their customers cannot use the product with minimal effort, the product is useless to them. Consumers downloading this product will gradually switch to Windows 7, so that this program is still useful for your client, you need to update it. Therefore, the question that you really need to ask is: " refuses to update this program, knowing about this client?
However, I am not sure if you have a support agreement with your client. If your question is: "We must update this program to compatibility with Windows 7, even if we did not sign a contract that said that we would not pay us," then legally I would say that the answer is no. If you have a support agreement, the specific wording of this agreement prevails. Most likely, if you do not have a contract stating that you will maintain application compatibility with the new OS, you are probably not required to do this.
Hint: I suggest specifying which platforms and OS versions your product will work in your contract!
IANAL, TINLA , etc.