I don't have the program in hand but can shed you the concept on how to get this done.

Create the exe file you want to be extracted.

Now Add that exe file as a resource to the other project and in some handler extract the resource as an executable file.
Scripting like this