https://bugs.winehq.org/show_bug.cgi?id=50079
Bug ID: 50079 Summary: Wine msiexec fails when building inside a windows/mac os x docker container Product: Wine Version: 5.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi Assignee: wine-bugs@winehq.org Reporter: spam@crasu.de Distribution: ---
Created attachment 68535 --> https://bugs.winehq.org/attachment.cgi?id=68535 Run with winedebug=msi and strace
Sample dockerfile: FROM ubuntu:20.04
RUN export DEBIAN_FRONTEND="noninteractive" \ && dpkg --add-architecture i386 \ && apt-get update \ && apt-get install -y wget winbind xvfb unzip curl jq \ && apt-get remove -y libmysqlclient21 mysql-common \ && apt autoremove -y
RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key && apt-key add winehq.key RUN echo 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' > /etc/apt/sources.list.d/wine.list
RUN export DEBIAN_FRONTEND="noninteractive" \ && apt-get update \ && apt-get install -o APT::Immediate-Configure=false --install-recommends -y winehq-devel
RUN useradd -ms /bin/bash wineuser
# Install winemono RUN wget https://dl.winehq.org/wine/wine-mono/5.1.1/wine-mono-5.1.1-x86.msi RUN WINEPREFIX=/home/wineuser/.wine su wineuser -c "wine msiexec /i wine-mono-5.1.1-x86.msi && wineserver -w"
Eroor message: 0024:err:msi:ACTION_InstallFiles compressed file wasn't installed (L"bin\libmono-2.0-x86.dll") 0024:err:msi:execute_script Execution of script 0 halted; action L"InstallFiles" returned 1603
I tried different msis (wine gecko, wine mono, ....) they all fail. After serveral tries the installation sometimes does not through an error. But the package is still not fully installed.
Reference: https://github.com/Winetricks/winetricks/issues/1525
https://bugs.winehq.org/show_bug.cgi?id=50079
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com Keywords| |download, Installer
https://bugs.winehq.org/show_bug.cgi?id=50079
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |alexhenrie24@gmail.com
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- I am having the same problem.
https://bugs.winehq.org/show_bug.cgi?id=50079
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- Does it work if you pass the full Windows path to msiexec? E.g:
WINEPREFIX=/home/wineuser/.wine su wineuser -c "wine msiexec /i z:\tmp\wine-mono-5.1.1-x86.msi && wineserver -w"
https://bugs.winehq.org/show_bug.cgi?id=50079
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED
--- Comment #3 from Alex Henrie alexhenrie24@gmail.com --- At this point, I'm pretty sure that the problem is just an overzealous seccomp configuration that is not Wine's fault, so I'm marking this bug INVALID.
https://bugs.winehq.org/show_bug.cgi?id=50079
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |NOTOURBUG
--- Comment #4 from Austin English austinenglish@gmail.com --- NOTOURBUG is likely more appropriate (at least until we know for certain what the issue is).
https://bugs.winehq.org/show_bug.cgi?id=50079
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Hans Leidekker hans@meelstraat.net --- Closing.