Stop detect my application as a virus

落爺英雄遲暮 提交于 2019-12-01 09:18:27

I think any way of having an application automatically attempt to run at startup will be flagged as virus like behavior by any anti-virus system. Just tell your users to approve the change when your solution is installing.

Unless (of course) you are trying to write a virus.

In that case stop.

If you need to run at startup, the generally preferred way is to run it as a windows service.

If you need a gui as well, then you should have a gui that talks to the windows service that hosts your application.

Typically your installer (MSI) would set the "launch application at startup" registry setting however I think that if your application is digitally signed with an authenticode signature then this problem will disappear.

Jürgen Steinblock

Is your application digitally signed? If not you should try signing your application (you need a public certificate, but that costs money)

Application signing/verification

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!