I just found this post while searching for what sounds like the exact same game. Some things I remember which you didn't mention, to check we're thinking of the same game:
- The graphics are extremely simple - the planets are just empty coloured circles
- You could land on the planets if you were careful, but your ship is fragile so you have to land slowly
- If you crash the ship breaks into pieces (I think)
I don't remember Galaxy of Games 3, A Ton of Games: Classics 2, but Best of Windows Games vaguely rings a bell, so maybe it was on there. It's surprisingly hard to find a list of games on these compilations though.