Produce a self-extracting build package?

Hey everyone,

I’m sure this is a completely noob question, but after building (compiling) my first game just to see how it would all work, I brought the .exe file to another computer to test it, and found that I was missing dlls. Just wondering how you know which dlls you need to include with a stand alone package. Additionally, is there an option within Unity to build a full stand alone self-extracting package that you can ship about?

Thanks

The exe is worthless on its own, as it contains nothing.

you must package up the exe + the data folder to transfer somewhere else, either as zip, installer or self extracting zip for example

Unity does not offer you any way to build these final packages for you as you might want to add additional stuff, or as mentioned above create an installer for example

Ah thank you. Yes I see the data folder that was produced. The build created gameName.exe and gameName_Data (folder).

Thank you very much for your quick reply.

You could take a look at NSIS or other third party installer for you to package it if you decide to sell it or whatsoever.