C
C#16mo ago
FaNim

✅ Prevent WPF applications from being detected as a virus

Hi, is there any way or technique to prevent .exe files downloaded from my repository from being detected by an antivirus? I want to build auto download in my app but when i download the .exe from my app to replace it, it is detected as a trojan and defender deletes it so i can make for user easy update system etc etc.
3 Replies
ero
ero16mo ago
you'd have to get the application verified by microsoft i'm pretty sure
JakenVeina
JakenVeina16mo ago
This is the advantage of using existing app stores to handle deployments, you and your users get a reasonable amount of security out of it. If you want to have an app that self-updates from your own server, it naturally falls on the user to not try and use the app in an environment that will prevent this best you can probably do is detect download failures and prompt the user to download the update manually, or check their firewall/anti-virus settings
FaNim
FaNimOP16mo ago
but everytime i update my app i need to send them new exe file to sign yea? how long it takes to verify/sign those files? ah yea i mean one exe to sign but okay i understand oh okay so it is worth it Okay thank you i will try that ❤️ @Mathf.Lerp its my first time signing any app and do i need to buy any certificate or anything to do this and if i can do it for free where to do this? okay thank you so much now i get it all but do you know if signing prevent smartscreen warning to show on first time opening exe? okay so when i creaet my code signature and sign all of my apps then when my code is trusted then even new signed exe files will be trusted ye? Okay so thank you so much i think now i know everything i need thank you so much for help ❤️
Want results from more Discord servers?
Add your server