Possible Duplicate:
.NET windows application, can it be compressed into a single .exe?
To run my App I need AxInterop.WMPLib.dll
and Interop.WMPLib.dll
that are located in Debug and Release folder. Is there any way to include those dlls into exe so my app is available in one file only?
Yes, I left out the code to write the file out...
No extra utilities required.
As long as your DLLs are .NET assemblies, then ILMerge should be able to combine your exe and all of its dependencies into a single file.
Include them as embedded. You can then extract them at run-time.
You can use a tool like boxedapp or thinstall...
I also recommend boxedapp. It's great app!
For example, add x.dll to the project and set its Build Action to Embedded Resource.
To extract: