Hi,
Is anybody aware of a program that can pack several DLL and a .EXE into one executable. I am not talking about .NET case here, I am talking about general DLLs, some of which I generate in C++, some of others are external DLL I have no control over.
My specific case is a python program packaged with py2exe, where I would like to "hide" the other DLL by packing them. The question is general enough though.
The things that had a look at:
ILMerge: specific to .NET
NETZ: specific to .NET
UPX: does DLL compression but not multiple DLL + EXE packing
FileJoiner:
Almost got it. It can pack executable + anything into one exe but when opened, it will launch the default opener for every file that was packed. So, if the user user dlldepend installed, it will launch it (becaues that's the default dll opener).
Maybe that's not possible ?
Summary of the answers:
DLL opening is managed by the OS, so packing DLL into executable means that at some point, they need to be extracted to a place where the OS can find them. No magic bullet.
So, what I want is not possible.
Unless...
We change something in the OS. Thanks Conrad for pointing me to ThinInstall, which virtualise the application and the OS loading mechanism. With ThinInstall, it is possible to pack everything in one exe (DLL, registry settings, ...).