Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Program that Generates .EXE

Hey guys! I'm a bit stuck on how to write a program that can build an .exe file. I already have the output program built that I guess that you can call a stub, but how will I go about building a builder to generate that? The reason why I need this builder is because I would like users to be able to customize the stub, like adding their own labels to the Windows forms and etc. I can't find any tutorials out there about this, so I was wondering if you guys knew. Thanks! Example projects are also welcome.
(Feb 9, 2014 12:39 PM)Leon_V._Metcalf Wrote:  Hey guys! I'm a bit stuck on how to write a program that can build an .exe file. I already have the output program built that I guess that you can call a stub, but how will I go about building a builder to generate that? The reason why I need this builder is because I would like users to be able to customize the stub, like adding their own labels to the Windows forms and etc. I can't find any tutorials out there about this, so I was wondering if you guys knew. Thanks! Example projects are also welcome.

If you have it all set out, Press F6 and it should create a debug file (the .exe) and then the folder your Debug is set it, it will place the .exe in there
(Feb 9, 2014 01:07 PM)Mula B Wrote:  If you have it all set out, Press F6 and it should create a debug file (the .exe) and then the folder your Debug is set it, it will place the .exe in there

I think he is more or less talking about generating a unique stub based upon the user's selected settings. I don't think he is talking about just generating a debug .exe file within VS default folder paths.
(Feb 9, 2014 01:07 PM)Mula B Wrote:  If you have it all set out, Press F6 and it should create a debug file (the .exe) and then the folder your Debug is set it, it will place the .exe in there

He's asking how to programatically generate an executable - so compile another exe from the application itself.

OP, you should use CodeDOM for this.
Op you should use CodeDOM for that .
TRANQUILAAAA


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by wastedcodeineOct 18, 2021 09:04 PM 3 155 Oct 18, 2021 09:04 PM
Last Post: AndroidiOSGameHacks
[C#] by DaHaxorAug 11, 2015 11:43 PM 15 988 Aug 11, 2015 11:43 PM
Last Post: Geekie
[.NET] by jaikrishnaMay 12, 2015 08:51 PM 117 8,498 May 12, 2015 08:51 PM
Last Post: hiepdv