"and then the sales of the book soared again in a new edition."
Sales of a book always increase when there's a movie adaptation, even if the movie is not a hit, though Troopers was, and regardless of how faithful an adaptation it is. It's not a commentary on a book or its movie adaptation; it's just a visibility thing. It's the boon of movies, because more people see movies than read books and movies are publicized much more widely and extensively -- even if people don't go to a movie, they might then notice and pick up the book.
Starship Troopers was culturally the bigger film. It's a fierce dark satire of militarism, right wing conservatism, gun fondlers, bigotry, etc., playing with the framework of action movies and alien invasions to highlight how people are manipulated. Which pretty much was not what Heinlein intended in the book. That approach has had a lasting impact on filmmakers and some authors. It also helped advance special effects in Hollywood. The young actors did a good job and the history of the making of the movie is highly entertaining.
But, personally, I'm just not as interested in it. I enjoyed it, but only remember parts, unless I went to watch it again. Star Trek's more important to me and I liked a lot of what they did with First Contact. So I vote Star Trek, though I have no objection to it losing. I'm not angling to get Star Trek: First Contact Legend status; don't really think it deserves that. But, right now, I prefer ST:FC themes and hopes over Starship Troopers depressingly relevant satire.