Avoiding Anti-Virus verifications (Windows)



  • Hello,

    I'm currently developing a software based on Qt (for Windows) but whenever I'm executing it the Anti-Virus (Avast) wants to verify the executable. This is extremely anoying. I understand this is not exactly a Qt question and that I can add an exception to my AV but I was wondering if any of you have the same issue and which solutions did you come up with.

    Actually, my main struggle is not exactly during the development phase but after releasing it to my users. Whenever they run the software and after I release an update, the AV will ask again to verify the executable.

    For the production executable, two solutions came up to mind, but haven't tested them yet:

    1. Code Signing Certificate
    2. Create an install wizard

    Will any of these help on "safely bypass" the AV?


  • Qt Champions 2016

    Hi
    yes i had same issue also. I ended up adding my build folder location
    to exceptions as it drove me mad.

    I cant tell what will work at the users though but so far using an installer seems to work ok.
    But not something i actually tested that it always works.



  • @mrjj thanks! regarding the installer, can you recommend one? Will the Qt-Installer-Framework do?



  • I don't get it. I have always used Avast (free edition) on Home PC. Admittedly I don't do any Qt there, but it has never, ever "ask again to verify the executable" for any executable?


  • Moderators

    @JonB said in Avoiding Anti-Virus verifications (Windows):

    I don't get it. I have always used Avast (free edition) on Home PC. Admittedly I don't do any Qt there, but it has never, ever "ask again to verify the executable" for any executable?

    I believe @cidadao means Avast takes a long time to scan his custom-built executables each time he recompiles his code. I experienced this too.

    I do all my coding in a "Projects" folder, and I added this entire folder to my Exclusions list.


  • Qt Champions 2016

    @cidadao
    Hi
    The Qt-Installer-Framework is very powerful and stable but
    also have a learning curve. (IMHO)

    If it is just to test if your app will be installed without any scanner warnings then
    i imagining using something like http://www.installsimple.com/ ( the portable version) to
    create a test in installer in less than a minute.



  • Chances are the Qt-Installerframework will not fix the issue.

    I for once, have no problem with *.exes I create via compiler have no issues with my Anti-Virus software, but as soon as I test-ship it with the Installerframework, the exe & the maintenancetool are moved in quarantine.



  • @J.Hilk
    Don't know which AV you use, but then it sounds like whatever binary is in the "Installerframework" is causing a "false-positive" for virus, doesn't it?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.