https://bugs.winehq.org/show_bug.cgi?id=57965
Bug ID: 57965 Summary: Hidden windows cannot be created without an X server Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: Bjoern@Kautler.net Distribution: ---
I learned in the thread https://groups.google.com/g/innosetup/c/7GVs3eO5DHc, that hidden Windows are also used for IPC even if nothing needs to be displayed.
Unfortunately wine does not support that it seems.
I wanted to run the InnoSetup installer (https://files.jrsoftware.org/is/6/innosetup-6.3.3.exe) in absolute quite mode that never needs to display any window on GitHub Action runner with image ubuntu-24.04 where no X server is running.
The command I tried to execute is
wine innosetup-6.3.3.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART
but the execution fails and among other this it displays
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
As a work-around I started Xfvb using `Xvfb :0 -screen 0 1024x768x16 &` before running that command and then it works without problems.
But it would be nice if wine would support such hidden windows up until something needs to actually be displayed, at which point it would probably be appropriate to fail execution.