Is it possible to bind two files into one file ? If its possible how ?
E.g if i got two files a.exe and b.exe then i want to bind them into c.exe so when i execute c.exe it'll automatically execute a.exe and b.exe
Thank
As far I know it is not possible to bind to compiled assemblies into one. But you could package them into a WINRAR executable archive as an installer. Heres the idea although lousy it is viable,
you have a.exe, b.exe and c.exe
add all three to a Winrar archive and configure it so that c.exe is executed after the package is extracted so c.exe can execute a.exe and b.exe
like so
System.Diagnostics.Process.Start("a.exe");
System.Diagnostics.Process.Start("b.exe");
You can simply import the exe as a resource of your program,then dump it's data to a file and execute it.
Here is another answer that may help you.