and do not use Codec Packs, they are simply not necessary, and can be harmful at times. Microsoft themselves has warned about this.
Be sure where you download your softwares from. Sites like CNET, Softonic bundles adware along with the products, so stay safe. Always use an adblocker for your browser, and Softpedia is the best place to go to download softwares from. (make sure yo do use an adblocker)
There are various harmful versions of media players around the internet so make sure you download from the official site only, or sites like Softpedia.