Skip to content

Add 64-bit Wine support for LoxoneConfig v17+ - #6

Open
rubenvanwanzeele wants to merge 1 commit into
lian:mainfrom
rubenvanwanzeele:fix/v17-64bit-support
Open

Add 64-bit Wine support for LoxoneConfig v17+#6
rubenvanwanzeele wants to merge 1 commit into
lian:mainfrom
rubenvanwanzeele:fix/v17-64bit-support

Conversation

@rubenvanwanzeele

Copy link
Copy Markdown

LoxoneConfig v17 dropped 32-bit support. The previous setup used --platform=linux/386 with Alpine and wine32, which can no longer run the 64-bit LoxoneConfig.exe (exits with error 193 / bad EXE format).

Changes:

  • Switch base image from Alpine/386 to Debian 12 (amd64)
  • Install WineHQ stable (currently wine 11) with full i386+amd64 multilib so the 32-bit installer stub and the 64-bit app both run correctly
  • Add winbind for NTLM authentication support
  • Update install/run paths to Program Files (x86) (where the 32-bit installer places the app regardless of the app's own architecture)
  • Add QTWEBENGINE_CHROMIUM_FLAGS=--no-sandbox for Qt6WebEngine/Chromium to work inside a Docker container
  • Install vcrun2022 (mfc140u.dll) via winetricks after Loxone install, which LoxoneConfig v17 requires at runtime
  • Remove winetricks gdiplus/fontsmooth steps that fail in this setup

LoxoneConfig v17 dropped 32-bit support. The previous setup used
--platform=linux/386 with Alpine and wine32, which can no longer run
the 64-bit LoxoneConfig.exe (exits with error 193 / bad EXE format).

Changes:
- Switch base image from Alpine/386 to Debian 12 (amd64)
- Install WineHQ stable (currently wine 11) with full i386+amd64 multilib
  so the 32-bit installer stub and the 64-bit app both run correctly
- Add winbind for NTLM authentication support
- Update install/run paths to Program Files (x86) (where the 32-bit
  installer places the app regardless of the app's own architecture)
- Add QTWEBENGINE_CHROMIUM_FLAGS=--no-sandbox for Qt6WebEngine/Chromium
  to work inside a Docker container
- Install vcrun2022 (mfc140u.dll) via winetricks after Loxone install,
  which LoxoneConfig v17 requires at runtime
- Remove winetricks gdiplus/fontsmooth steps that fail in this setup
@roman6078

Copy link
Copy Markdown

@lian please merge, waiting for this. Thank you for your useful work!
Thank you for updating @rubenvanwanzeele !

@roman6078 roman6078 mentioned this pull request May 4, 2026
JonasReuter added a commit to JonasReuter/docker-loxone-config that referenced this pull request May 16, 2026
Applies PR lian#6 (rubenvanwanzeele) to support 64-bit LoxoneConfig, plus
fixes needed to build and run on Apple Silicon hosts:

- Dockerfile: base image jlesage/baseimage-gui debian-12-v4 with WineHQ
  stable multilib (wine32+wine64) instead of Alpine/386.
- Pin FROM --platform=linux/amd64: WineHQ has no arm64 builds, and amd64
  emulation (Rosetta) is stable on Apple Silicon unlike the linux/386
  QEMU path, which segfaulted openbox.
- Work around the jlesage baseimage symlinking /etc/{passwd,group,
  shadow,gshadow} and /run into /tmp: those targets are absent at build
  time and udev's post-install runs systemd-tmpfiles which wipes /tmp
  mid-build. Swap them for real files/dirs during the build and restore
  the symlinks afterwards so runtime user/run setup keeps working.
- Drop winbind (pulls samba-common, which collides with the baseimage
  /var/log symlink) — not needed by LoxoneConfig.
- docker-compose.yml: add platform: linux/amd64, drop WINEARCH=win32
  which would force a 32-bit prefix and break 64-bit LoxoneConfig.
- init-install.sh: replace 'read -p' (bash/busybox-only) with a
  dash-compatible prompt so first-run install pauses on Debian.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants