Recent

Author Topic: Application that works within the Windows installation environment  (Read 597 times)

Ecsa

  • New Member
  • *
  • Posts: 14
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

  • Sr. Member
  • ****
  • Posts: 352

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 1428
    • Lebeau Software
Re: Application that works within the Windows installation environment
« Reply #2 on: July 16, 2024, 07:03:00 pm »
I 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?

I 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.
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

 

TinyPortal © 2005-2018