I know that I can have Updater.exe & MainProgram.exe but I want to keep my release in one EXE file.
Can I run updater.exe from memory (updater.exe will be included in mainprogram.exe) and then shut down mainprogram.exe and keep the updater working (it will update mainprogram.exe) in new thread? Is it possible?
Or is there any other solution where I can just keep one single released EXE file?
Include the updater.exe as a resource in your app and then save it to a temporary file and run that.