• Advertisement
Sign in to follow this  

How to distribute a game without being accused of distributing a virus.

This topic is 1859 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any way of writing a game in c++ and distributing it without anti-virus software accusing it of being a virus? I wanted my friend to play the game I made and he said that his computer wouldn't let him open the file. It prevented him with this message -> "Your internet security settings prevented one or more files from being opened." He didn't know which virus protection he had.

Is compiling and distributing a .exe file with the game on it a bad idea? What is the best way to distribute a game?

He doesn't have a compiler or the motivation to install allegro to compile it himself.


P.S. Sorry that the topic title is worded properly. I should have named the topic "How do I distribute a game without being accused of distributing a virus?". Edited by black_darkness

Share this post


Link to post
Share on other sites
Advertisement
He's probably getting that message just because of the fact that his browser is seeing an executable, regardless of its contents. The best way to ensure that you're not going to be accused of distributing a virus is not to change your language or anything of that nature.

It might not be the best way, but it's at least probably good practice to have the MD5 checksum of the file you're distributing readily available to be checked against an MD5 tool's output so that there is no confusion as to whether a third party is tampering with your file. Even better if you have the sourcecode available so that particularly skeptical users are free to compile it on their own if they wish.

Share this post


Link to post
Share on other sites
.exe files are often blocked from direct access via email or browser. Best to put it in a zipped archive.
Also, some virus scanners are overly picky about self-decompressing executable files (Mole Box Runtime packer for example)

Share this post


Link to post
Share on other sites
It is just trying to tell the user that a .exe file can potentially be harmful. There isnt a way around it. I think your friend just might not be as computer savvy as you and might have been scared by it. There might be an ignore button of some sort.

Chances are if he goes off to get the windows 8 update checker from microsoft themselves his computer might throw a wobbly at it too. It probably isn't discriminating against individual files, just anything which is a .exe.

Publishing source code is often one way to assure the public that it is not malware.

Share this post


Link to post
Share on other sites
You might also consider getting a certificate with which you can sign the executable if you're planning on ever selling anything. IIRC you can use it for signing as much as you want, but be sure to keep it safe so others can't sign stuff as you. Don't ask me about details though, I've never gotten far enough to be worth getting one.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement