And they got that position of dominance more via shady deals and sketchy practices than by producing excellent software. Microsoft has done some good engineering, but that's not what made them what they are.

I disagree. Microsoft software was some of the best. Maybe not because their quality was excellent but because their competition was easily worse.