OK, here's a method you can use to minimize the chances of unwittingly installing a trojan.
You've probably gotten emails from your bank or other financial institutions that tell you to go to their website and login, rather than clicking a link in the email to login. That's because an email can be spoofed to make it look like it's from the bank, and if you click a link in the email, you can be directed to a site that's not owned by the bank, but is made to look like the bank's login page. If you login there, you've just given your login and password to the hacker. That's why it's important to look at the address bar when you're about to enter login credentials, to make sure you're on the site you think you're on.
In the same way, if you visit a site that claims you need an updated version of Flash, or some other plug-in or codec, don't install it from that site. Instead, go to the Adobe site or the codec author's site and install from there, to make sure you're getting a legitimate copy of the software, and not one that could have been tampered with.