Pre-downloaded Wine Gecko Installer?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
notfed
Level 1
Level 1
Posts: 6
Joined: Wed Aug 31, 2011 10:41 pm

Pre-downloaded Wine Gecko Installer?

Post by notfed »

Hi,

I've been doing a lot of testing in isolated WINEPREFIX environments. So, I'm constantly creating new .wine folders and having to run winecfg to set them up. Well, each time I do this, I have to watch the Wine Gecko Installer progress bar, and sometimes it can be slow (like if my internet connection is bogged up).

I wish I could keep a local copy that WINE would pull instead of downloading it every time. I've seen someone in this forum post a few commands to use to install Gecko (basically a copy of the installed components, along with a registry key to import), but (A) importing the registry keys didnt work for me and (B) I need a way to do this in a single script without requiring human interaction.

Anyone have any ideas here? Basically, I want to end up with a script "InstallGecko.sh", that installs it to my WINEPREFIX directory, with no popups, no questions asked.
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Too Many Geckos!

Post by SpawnHappyJake »

I agree. I've actually been contemplating starting a thread about too many Geckos myself, but never got around to it.

I would love to know how to only have to download Gecko once as well, and how to occasionally update it. :D

Cheers,
SpawnHappy
Bruno Jesus

Pre-downloaded Wine Gecko Installer?

Post by Bruno Jesus »

On Thu, Sep 8, 2011 at 20:21, SpawnHappyJake <[email protected]> wrote:
I agree. I've actually been contemplating starting a thread about too many Geckos myself, but never got around to it.

I would love to know how to only have to download Gecko once as well, and how to occasionally update it.  :D
Please, take a look at: http://wiki.winehq.org/Gecko

In other words:
$ wget http://downloads.sourceforge.net/wine/w ... .3-x86.msi
$ sudo mkdir -p /usr/share/wine/gecko
$ sudo mv wine_gecko-1.3-x86.msi /usr/share/wine/gecko/

Best wishes,
Bruno
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Post by SpawnHappyJake »

I remember trying that and it still downloading for each new prefix. I'll have to try it again.
Thank you,
Jake
Mateusz Stachowski
Level 3
Level 3
Posts: 71
Joined: Mon Apr 18, 2011 3:49 am

Post by Mateusz Stachowski »

Even better way of doing this would be to install a wine-gecko package from repositories. Ubuntu has it in repositories (for wine1.2 and wine1.3 also it is in Wine PPA) but I don't know if other distributions provide that package.

Another way of doing this is through winetricks just issue from terminal:

env WINEPREFIX="/path/" winetricks gecko

with path corresponding to your wineprefix location. Winetricks will download gecko to it's cache directory and then it can be used multiple times without the need of downloading.

Anyway the best way is to find a package for your distribution.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

notfed
Level 1
Level 1
Posts: 6
Joined: Wed Aug 31, 2011 10:41 pm

Post by notfed »

Dan's method looked the simplest, so I tried it.

Looks like after doing that once, it doesn't have to install Gecko anymore. Cool beans! Thanks!
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Post by SpawnHappyJake »

Sorry for the delayed response. I tried Dan Kegel's method as well, and it worked! Yippee!

Even when I make a new prefix, upon the first run of a program in that new prefix, the WINE updater doesn't ask about trying to download Gecko. It sees it and installs it.

Smiles,
Jake
Locked