I believe Microsoft learned that lesson a decade ago. Since then, they've pushed Silverlight as an open, standardized, cross-platform programming environment for the web with virtually no success. This is the relevant comparison.
Silverlight was a big success up until Sinofsky decided to kill it (with Silverlight, you could create rich apps and bypass Windows Store). Worst decision ever, I hope PNaCl takes over the world now.