- Home /
standalone .EXE
For small games is there a way to build a project to a singel .EXE without the data fiie
You can take your Unity standalone output(.exe, DataFolder..), and use an installer software. Then you have a single .exe , but note that this installer is extracting your Unity standalone output to users Harddisk...
Answer by Eric5h5 · Feb 25, 2012 at 03:03 AM
No, Unity doesn't work that way. There are external tools you can use to accomplish that though.
Not offhand; I don't use Windows, but I've heard of something like that.
Is there a solution that creates a single exe at runtime for the user? Or at least a way to password protect the DATA folder?
@rooted: What do you mean by "at runtime" o.O? The runtime is while the program is running...
"password protecting" is pointless since your game needs access to your own data in order to run. If the game can decrypt the data, the user can as well. Even if the decryption is super complicated, you can still rip out most content while the game is running. $$anonymous$$odels and textures can be intercepted when they are send to the graphics card.
It's pointless to encrypt data on the users PC when you have to store the key along with the data.
I figured out what I needed to do. I wanted a single EXE file to distribute without the DATA folder, not a single installer EXE, to which I found my answer for both, thanks!
Your answer
![](https://koobas.hobune.stream/wayback/20220613064426im_/https://answers.unity.com/themes/thub/images/avi.jpg)