Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have windows 7 and use Avast free antivirus; I wonder if virus are detected by scanning the installer or setup file before starting to install, so that I am safe before the installatoin starts.

Thank you.

share|improve this question

3 Answers 3

Any executable can be malicious, and a antivirus scan never means "its safe", only that "I don't know if its safe, but its not like the other unsafe things I've heard of".

so yes, viruses may be detected in an installer, detected based on what they do as they are installing or afterward when they run, or not detected at all.

merely downloading a file is not usually sufficient to cause malware to activate. it usually must be run to do anything bad.

share|improve this answer

Any real time scanner would alert you of a threat as soon as it was downloaded. You can try right clicking the file and scanning with your AV if it is available or opening the interface and looking for options

share|improve this answer
    
As long as it's detected, but it's not always the case. –  gronostaj Jun 17 '13 at 17:09
    
That is another issue entirely. Testing in a VM would be the safest solution in this case. –  Scandalist Jun 17 '13 at 17:18

Remember to always download software from reliable sources. While your anti-malware app should detect any malware in the setup executable (no app is perfect of course, and new malware pops up daily), it might not be able to initially detect infected files inside the executable. This can happen if the program was repacked by someone (often the case with cracked programs or pre-cracked releases) and the anti-malware app cannot unpack whatever compressed format the setup executable uses. Hopefully though the real-time scanner should pick up the infected files as soon as the installer extracts them, or at the very least when it tries to execute them.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.