Application that works within the Windows installation environment lazarus / 21-General ---------------------------------------------------------------------- Ecsa · 2024-07-15 21:33 Hello community, these days I have had the question of how to create an application that works within the Windows installation environment, that is, when loading the operating system with rufus and during the installation phase of the operating system it can open a window from the command prompt and there you can open an application created with Lazarus. I have created a form with a simple button and a message but when I try to open that executable it does not work. I have seen that there are applications created in Delphi that do work in that environment. I understand that this environment is very limited but I would still like to know if an application can be created or not. Thanks in advance for your answers. ---------------------------------------------------------------------- Ericktux · 2024-07-16 16:05 hola amigo, este post quizás te ayude https://forum.lazarus.freepascal.org/index.php/topic,51084.0.html ---------------------------------------------------------------------- Remy Lebeau · 2024-07-16 17:03 Quote from: Ecsa on July 15, 2024, 11:33:46 pmI have created a form with a simple button and a message but when I try to open that executable it does not work. In what way, exactly, does it "not work"?  Does the executable not begin a new process?  Does it start running, but can't create/display your GUI?  Is there an error message? Quote from: Ecsa on July 15, 2024, 11:33:46 pmI have seen that there are applications created in Delphi that do work in that environment. Then there is no reason why a program created in Lazarus can't work in that environment, too.  Delphi doesn't do anything special to differentiate environments.  The executable is run, the OS spawns a process for it, and it displays a GUI or communicates with the console, like any normal app would.