@paul3252 , I’ve now tested this using the exact Windows host shipped with the current public release.
I compiled a desktop application on macOS, transferred its output to a separate Windows 11 computer, and launched it there successfully. I also confirmed that application.exe is already validly signed by Pettet Industries.
So your expectation was correct: copying the complete Build folder to another Windows computer should work for testing. Publish is not required merely to make it launch, and signing is not the explanation here. I’m sorry that the earlier replies sent you in those directions.
The most useful clue is that this application uses ODBC. If an ODBC connection fails during App.Opening or Window.Opening, an uncaught runtime error can terminate the app before its window appears. Because this is a Windows GUI executable, double-clicking it hides the diagnostic output and makes the failure look completely silent.
When you are next at the work computer, there is no need to start with Event Viewer. Open PowerShell in the application folder and run:
$p = Start-Process .\application.exe `
-RedirectStandardError .\objo-error.txt `
-PassThru -Wait
$p.ExitCode
Get-Content .\objo-error.txt
If the app fails immediately, objo-error.txt should contain the actual Objo or ODBC error. Please post that text here or send it to me privately if it contains sensitive connection details.
If your application attempts to connect to the database during startup, please mention that too. A missing or differently named 64-bit ODBC driver or DSN on the work computer is now the leading possibility.
You should not have had to reverse-engineer this, and I’ll also improve the way built desktop applications report startup failures.