[Wine] Writing an automated install script

Dan Kegel dank at kegel.com
Sun Apr 6 09:45:27 CDT 2008


2008/4/6 Timeout <wineforum-user at winehq.org>:
> Here my first instructions

Looks great for a start.  That's the kind of detail us Wine developers love.

In this section:

>  Prüfen, ob die nachfolgende dlls sich in ./wine/drive_c/windows/system32, wenn nicht (oder welche die fehlen)
>  cp ~/trados-installation/fusion.dll, mfc42.dll, msvcr70.dll,secur32.dll ~/.wine/drive_c/windows/system32
>  cd ~/.wine/drive_c/windows/system32
>  wine regsvr32.exe msvcr70.dll
>  wine regsvr32.exe fusion.dll
>  wine regsvr32.exe mfc42.dll
>  wine regsvr32.exe secur32.dll

where are those dlls coming from -- did you copy them there from
a Windows installation?  If so, can you replace the lines
>  wine regsvr32.exe msvcr70.dll
>  wine regsvr32.exe mfc42.dll
with
  winetricks vcrun6 vcrun2003
?

>  winetricks corefonts gecko wsh56js fakeie6

Great, but you may as well use winetricks' -q flag so user
doesn't have to click so much.

>  Jetzt: Windows abfrage:
>  "Do you want to install MSOffice2003"?

Why install Office 2003?  Is that required to use Trados?  If so, maybe
just do it no matter what.

>  Jedesmal dass die Installation scheitert/abgebrochen wird: nochmalige frage:
>  "Installation of Trados failed. Do you wish to try once more"

If you're providing this script for Wine developers, we
don't need any sort of "do you want to retry" option.

>  Dann wird der Installshield gestartet. Es wird automatisch durchgeführt, man git jedoch den Benutzer bei jedes Fragefenster 10s Zeit, sich für etwas anders zu entscheiden, bevor man die Standardeingabe wählt/nein sagt.

Again, if this is for Wine developers, we don't need that level of comfort.
But if you really want to do this, the language to write that part
of the script in is probably autohotkey.
- Dan



More information about the wine-users mailing list