Hi Everybody,
Every time I try to run a new application in a new Wine environment, I am asked if I want to install Mono and Gecko.
Is there any way to pre-install mono and gecko, or to allow wine to install it automatically without the user confirmation ?
Thanks in advance
Install Mono and Gecko without human interaction
Re: Install Mono and Gecko without human interaction
@tk421
Yes!
Download the required versions of:
Then move these files to:
for wine-mono and wine-gecko respectively.
You can also use the user local XDG directory equivalents:
(or so I believe...)
Bob
Yes!
Download the required versions of:
- wine-mono, 32-bit only, currently version: 4.7.5
- wine-gecko, 32-bit & 64-bit, current version: 2.47
Then move these files to:
Code: Select all
/usr/share/wine/mono/
/usr/share/wine/gecko/
You can also use the user local XDG directory equivalents:
Code: Select all
~/.local/share/wine/mono/
~/.local/share/wine/gecko/
Bob
Re: Install Mono and Gecko without human interaction
Thanks ! It worked really good. For future references:
Code: Select all
RUN mkdir -p /usr/share/wine/mono/
RUN mkdir -p /usr/share/wine/gecko/
ADD http://dl.winehq.org/wine/wine-mono/4.7.5/wine-mono-4.7.5.msi /usr/share/wine/mono/wine-mono-4.7.5.msi
ADD http://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi /usr/share/wine/gecko/wine_gecko-2.47-x86_64.msi
ADD http://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi /usr/share/wine/gecko/wine_gecko-2.47-x86.msi
RUN chown -R wine /usr/share/wine