Enigma Virtual Box can pack EXE file and the dependency files into a standalone executable. And the most interesting thing is that the embeded files won't extracted to disk when running.
It's a freeware.
Enigma Virtual Box Help wrote:Enigma Virtual Box is a file and registry systems virtualization software that allows to embed multiple files and registry items that your application is using into single executable, keep same file workalibity without having embeded files on the disk. Enigma Virtual Box supports any kind of files, Dynamic Link Libraries (*.dll), ActiveX/COM (*.dll, *.ocx), Video/Music (*.avi, *.mp3), Text (*.txt, *doc) and so on. It does not extract temporary files on the disk, files emulation process is performing only in the process memory.
How does it work?
Enigma Virtual Box injects all the file you wish to embed to the main executable with together with a special loader. The loader executes before the main code of applition and hooks some system API that allow to read/write files and get it's information. When your application tries to access embeded file, the loader recognize this and return necessary data. This was your file becomes to work same, but without having files on the disk.