Antivirus software can help mitigate known malicious code.
Verify the integrity of the software that is being installed.