The first part of this problem is integrate any files to exe file. This is solved here:
https://www.thoughtco.com/inside-the-delphi-exe-1058211Second part of this problem is get some text file from exe file and put it in disc or in memory for edit.
Third part of this problem is insert edited text file back in exe file.
One variant of this can be simple: concatenate all files into exe file. But after this is necesary know point of begin for each file. This point will be change each time.
So is necesary have several variables from exe, which can be changed and saving in exe file after runtime.
Each operation (integration and getting text files and editing them) will make same app from exe file.
So, please, how can be solve this problem?