How to disable Gecko package popup for Wine?
6,591
This can be disabled by exporting the following options:
export WINEDLLOVERRIDES="mscoree,mshtml="
Related:
- 3.5. Environment variables
- Disable Mono installing dialogue.
- Running Wine without downloading Mono and Gecko packages.
Author by
kenorb
Updated on September 18, 2022Comments
-
kenorb over 1 year
When I run my app under Wine:
wine my_app.exe
I've got this annoying popup:
which says:
Wine could not find a Gecko package which is needed for applications embedding HTML to work correctly.
I understand that I need to install Gecko (either by
sudo apt-get install wine-gecko\*
or using the install-addons.sh script),however I don't want to install Gecko, but simply suppress/hide this message as my app works correctly when pressing Cancel button.
How I can do that? Is there any parameter for that?
Running
wine --help
orman wine
doesn't say much.-
AFH almost 9 yearsDid you build the app yourself? I suspect the build has an external library reference, even though you may not call the functions in it. You could try rebuilding with static libraries, thereby eliminating external calls. For what it's worth, I don't have
Gecko
installed, and even Firefox 39.0 runs quite happily without it under Wine 1.6.2 on Ubuntu 15.04 without errors. Firefox has adependentlibs.list
file in its installation directory: I presume these DLLs are loaded dynamically on start-up: perhaps you could use a similar technique. -
kenorb almost 9 yearsThe wine is installed from the binaries (
sudo apt-get install wine winetricks
=>wine1.6
) on Ubuntu vivid VM. And the app is a standard installer, so there is nothing much to rebuild. -
AFH almost 9 yearsThat EXE calls WINHTTP.DLL, which may well be the culprit. I can only guess why it might be there: maybe there is licence checking during the installation, and if you do not do this then you will not see a problem.
-