It's undoubtedly a win for Dassault. Whether it's a win for France has yet to be seen. There's already rumours about governmental subsidies.
On the Indians got a lot of concessions relating to procurement and use of Indian parts either on this or later French products. It also maintains diversification in their fleet - They're going to be flying both Russian, French, and local fighters.
The US got the transport contract, so it's not totally bad news for the US.