• yetAnotherUser@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    22 days ago

    I don’t know enough about Windows app development to answer this. Maybe it replaces the old .exe and the now replaced .exe is just continuing to run from RAM? Maybe there is some restarter.exe program in the same folder that does all the work. In any case, this depends far too much on the Windows update process and how to launch applications.

    I just know when I used Windows applications in the past, they were able to restart themselves after updating somehow.

    • 9tr6gyp3@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      22 days ago

      After an update on Windows, you must close the application to clear the RAM before launching the updated exe.

      Upon launching the new binary exe, Microsoft will check the code signing certificate and make sure its valid before letting it execute. If its not signed, you will be met with a warning that the binary publisher is unknown, and I believe that Microsoft won’t even let it launch nowadays