You already have mosek in your path, otherwise it would not be able to crash inside mosek.
As I said, put a break and see what is returned. Unless your license has expired, you haven't installed the license at all. And if you don't know how to fix that, you contact mosek support