The executable or msi installer goes corrupt when blocked by security software, even though its safe. I too had this problem, I recommend that you upload the installers into the master branch and have users download/clone the whole repository and then use the installer files.
Another better method is to add proper publisher and credential details while building to executable installer