mshtml.inf: Add default GeckoCabDir

Alexandre Julliard julliard at
Fri Oct 1 09:25:46 CDT 2010

Jacek Caban <jacek at> writes:

> That's a matter of trivial patch, but what would be the candidate for
> a path hardcode? '/usr/share/wine/gecko/' seems like the best choice
> since that's where most distros will install Gecko.

I'd say try $datadir and then /usr/share.

> - Windows has builtin support for ZIP files. It's hidden behind an
> obscure APIs, but it's something we could implement and use in MSHTML.
> - Use .tar.gz files. We already use zlib in Wine, we could use it in
> MSHTML. tar format is simple enough to implement its custom handling.
> - Any other idea?

A self-extracting zip may be an option too, not sure how easy they are
to create on Linux. And while you are making changes, adding a checksum
would be a good idea.

A more ambitious approach would be to define a generic "Wine add-ons"
mechanism that could also be used for Mono.  This would avoid having
detailed knowledge about file formats and download URLs spread around in
various DLLs. Maybe this could go in the appwiz control panel, with a
nice UI showing which add-ons are installed.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list