Windows live messenger sur linux

Bonjour,

je viens de reussir a emuler wlm sur linux (mint/ubuntu)

la demarche est assez simple finalement

comme quoi tout est possible, meme si a mon avis tout ca doit etre trés buggé lol :)

j'explique un peu:

il vous faut telecharger wine ( la toute derniere version de preference )

http://wine.budgetdedicated.com/archive/index.html

en deb sur ubuntu j'ai pris Wine 1.1.21 i386

puis l'installer (double clic)

ensuite il faut telecharger winetricks:

wget http://www.kegel.com/wine/winetricks

sh winetricks

et selectionner puis installer ces paquets (assuez vous qu'ils s'installent correctement):

riched30, gdiplus, msxml3, gecko, flash

ensuite aller telecharger windows live 8.1

http://www.microsoft.com/downloads/details.aspx?familyid=D78F2FF1-79EA-4066-8BA0-DDBED94864FC&displaylang=en

l'installer a l'aide de wine, a linstall j'ai eu un petit soucis quand il faut faire suivant (rien ne se passe) faite cancel et linstallation va continuer.

aller dans la config de wine et selectionnez windows 2000 a l'onglet applications.

puis voila si on lance wlm ca fonctionne on peux s connecter..

(jespere avoir rien oublier)
Configuration: Linux
Firefox 3.0.3

19 réponses

  1. jai testé sur la distrib linux mint, pas sur ubuntu

    ptet ke sur ubuntu ca pose des probleme dont know

    bye
    1. voici pour preuve:

      http://img156.imageshack.us/img156/4346/screenshotkva.png

      lol
      1. Contributeur
        re,
        a quoi ça sert , autant rester sous windows non!!!
        a+
        1. petit defit personnel :)
      2. je viens de tester un peu bon deja pas de webcam, logique, le son je sais pas et ca lagge pas mal.

        sinon ca marche sans soucis
        1. meme pas un ptit remerciment, pas poli les mecs qui cherchent tjrs a installer wlm sur linux.

          bin voila les linuxiens, si quelqu'un demande encore envoyez le ici

          ;)
          1. Bonjour Hihi,

            Je suis particulièrement intéressé pour faire tourner Windows live messenger sur Ubuntu 8.04.
            J’ai essayé de suivre tes explications, mais je ne comprends absolument rien pour winetricks !
            Stp, es ce que tu pourrais détailler clairement pour winetricks, car quand je clique sur ton lien je tombe sur :

            #!/bin/sh
            # Quick and dirty script to download and install various
            # redistributable runtime libraries
            #
            # Current maintainers: Austin English, Dan Kegel
            # Copyright 2007, 2008, 2009 Google (Dan Kegel, dank@kegel.com)
            # Copyright 2008, 2009 Austin English (austinenglish@gmail.com)
            # Thanks to Detlef Riekenberg for lots of updates
            # Thanks to Saulius Krasuckas for corrections and suggestions
            # Thanks to Erik Inge Bolsø for several patches
            # Please report problems at https://code.google.com/archive/p/winezeug
            # See also http://wiki.winehq.org/winetricks
            #
            # Note to contributors: please avoid gnu extensions in this shell script,
            # as it has to run on MacOSX and Solaris, too. A good book on the topic is
            # "Portable Shell Programming" by Bruce Blinn

            # Prevent running with sudo/root. This would create a .winetrickscache as root
            # in the user's home directory!
            if ! test -O $HOME
            then
            echo "Don't run winetricks with sudo!"
            exit 1
            fi

            # Name of this version of winetricks (YYYYMMDD)
            VERSION=20090705

            # Default values for important settings if not already in environment.
            # These settings should not need editing here.
            WINE=${WINE:-wine}
            WINEPREFIX=${WINEPREFIX:-$HOME/.wine}

            # Internal variables; these locations are not too important
            WINETRICKS_CACHE=$HOME/winetrickscache
            # Default to hiding the directory, by popular demand
            test -d "$WINETRICKS_CACHE" || WINETRICKS_CACHE=$HOME/.winetrickscache
            WINETRICKS_TMP="$WINEPREFIX"/drive_c/winetrickstmp
            mkdir -p "$WINETRICKS_TMP"
            WINETRICKS_TMP_WIN='c:\winetrickstmp'

            WINDIR="$WINEPREFIX/drive_c/windows"

            # Which sourceforge mirror to use. Rotate based on time, since
            # their mirror picker sometimes persistantly sends you to a broken
            # mirror.
            case `date +%S` in
            *[01]) SOURCEFORGE=http://internap.dl.sourceforge.net/sourceforge ;;
            *[23]) SOURCEFORGE=http://easynews.dl.sourceforge.net/sourceforge ;;
            *) SOURCEFORGE=http://downloads.sourceforge.net;;
            esac

            case "$1" in
            -V|--version)
            echo "Winetricks version $VERSION. (C) 2007-2009 Dan Kegel et al. LGPL."
            exit 0
            ;;
            esac

            die() {
            echo "$@"

            case x"$GUI" in
            x1) xmessage -center " Winetricks error: $@ " ;;
            *) ;;
            esac

            exit 1
            }

            if [ ! -x "`which "$WINE"`" ]
            then
            die "Cannot find wine ($WINE)"
            fi

            #----------------------------------------------------------------

            usage() {
            set +x
            echo "Usage: $0 [options] package [package] ..."
            echo "This script can help you prepare your system for Windows applications"
            echo "that mistakenly assume all users' systems have all the needed"
            echo "redistributable runtime libraries or fonts."
            echo "Some options require the Linux 'cabextract' program."
            echo ""
            echo "Options:"
            echo " -q quiet. You must have already agreed to the EULAs."
            echo " -v verbose"
            echo " -V display Version"
            echo "Packages:"
            echo " art2kmin MS Access 2000 runtime. Requires Access 2000 Dev license!"
            echo " colorprofile Standard RGB color profile"
            echo " comctl32 MS common controls 5.80"
            echo " comctl32.ocx MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for VB6"
            echo " controlpad MS ActiveX Control Pad"
            echo " corefonts MS Arial, Courier, Times fonts"
            echo " d3dx9 MS d3dx9_??.dll (from DirectX 9 user redistributable)"
            echo " dcom98 MS DCOM (ole32, oleaut32); requires Win98 license!"
            echo " dirac0.8 the obsolete Dirac 0.8 directshow filter"
            echo " directx9 MS DirectX 9 user redistributable (not recommended! use d3dx9 instead)"
            echo " divx divx video codec"
            echo " dotnet11 MS .NET 1.1 (requires Windows license)"
            echo " dotnet20 MS .NET 2.0 (requires Windows license)"
            echo " ffdshow ffdshow video codecs"
            echo " flash Adobe Flash Player ActiveX and firefox plugins"
            echo " fm20 MS Forms 2.0 Object Library"
            echo " fontfix Fix bad fonts which cause crash in some apps (e.g. .net)."
            echo " fontsmooth-disable Disables font smoothing"
            echo " fontsmooth-gray Enables grayscale font smoothing"
            echo " fontsmooth-rgb Enables subpixel smoothing for RGB LCDs"
            echo " fontsmooth-bgr Enables subpixel smoothing for BGR LCDs"
            echo " gdiplus MS gdiplus.dll (from powerpoint viewer)"
            echo " gecko The HTML rendering Engine (Mozilla)"
            echo " gecko-dbg The HTML rendering Engine (Mozilla), with debugging symbols"
            echo " hosts Adds empty C:\windows\system32\drivers\etc\{hosts,services} files"
            echo " icodecs Intel Codecs (Indeo)"
            echo " jet40 MS Jet 4.0 Service Pack 8"
            echo " liberation Red Hat Liberation fonts (Sans, Serif, Mono)"
            echo " mdac25 MS MDAC 2.5: Microsoft ODBC drivers, etc."
            echo " mdac27 MS MDAC 2.7"
            echo " mdac28 MS MDAC 2.8"
            echo " mfc40 MS mfc40 (Microsoft Foundation Classes from Visual C++ 4)"
            echo " mfc42 MS mfc42 (same as vcrun6 below)"
            echo " mono20 mono-2.0.1"
            echo " mono22 mono-2.2"
            echo " msi2 MS Installer 2.0"
            echo " mshflxgd MS Hierarchical Flex Grid Control"
            echo " msls31 MS Line Services 3.1 (needed by native riched?)"
            echo " msmask MS Masked Edit Control"
            echo " msscript MS Script Control"
            echo " msxml3 MS XML version 3"
            echo " msxml4 MS XML version 4"
            echo " msxml6 MS XML version 6"
            echo " ogg ogg filters/codecs: flac, theora, speex, vorbis, schroedinger"
            echo " ole2 MS 16 bit OLE"
            echo " pdh MS pdh.dll (Performance Data Helper)"
            echo " quicktime72 Apple Quicktime 7.2"
            echo " riched20 MS riched20 and riched32"
            echo " riched30 MS riched30"
            echo " shockwave Adobe Shockwave Player"
            echo " tahoma MS Tahoma font (not part of corefonts)"
            echo " urlmon MS urlmon.dll"
            echo " vb2run MS Visual Basic 2 runtime"
            echo " vb3run MS Visual Basic 3 runtime"
            echo " vb4run MS Visual Basic 4 runtime"
            echo " vb5run MS Visual Basic 5 runtime"
            echo " vb6run MS Visual Basic 6 runtime"
            echo " vcrun6 MS Visual C++ 6 sp4 libraries (mfc42, msvcp60, msvcrt)"
            echo " vcrun2003 MS Visual C++ 2003 libraries (mfc71,msvcp71,msvcr71)"
            echo " vcrun2005 MS Visual C++ 2005 libraries (mfc80,msvcp80,msvcr80)"
            echo " vcrun2005sp1 MS Visual C++ 2005 sp1 libraries"
            echo " vcrun2008 MS Visual C++ 2008 libraries (mfc90,msvcp90,msvcr90)"
            echo " vcrun2008sp1 MS Visual C++ 2008 sp1 libraries"
            echo " vjrun20 MS Visual J# 2.0 libraries (requires dotnet20)"
            echo " wininet MS wininet.dll (requires Windows license)"
            echo " wme9 MS Windows Media Encoder 9 (requires Windows license)"
            echo " wmp9 MS Windows Media Player 9 (requires Windows license)"
            echo " wmp10 MS Windows Media Player 10 (requires Windows license)"
            echo " wsh56 MS Windows Scripting Host 5.6"
            echo " wsh56js MS Windows scripting 5.6, jscript only, no cscript"
            echo " wsh56vb MS Windows scripting 5.6, vbscript only, no cscript"
            echo " xact MS XACT Engine (x3daudio?_?.dll, xactengine?_?.dll)"
            echo " xvid xvid video codec"
            echo "Apps:"
            echo " autohotkey Autohotkey (open source gui scripting language)"
            echo " firefox Firefox"
            echo " ie6 Microsoft Internet Explorer 6.0"
            echo " kde KDE for Windows installer"
            echo " mpc Media Player Classic"
            echo " vlc VLC media player"
            echo "Pseudopackages:"
            echo " allfonts All listed fonts (corefonts, tahoma, liberation)"
            echo " allcodecs All listed codecs (xvid, ffdshow, icodecs)"
            echo " fakeie6 Set registry to claim IE6sp1 is installed"
            echo " native_mdac Override odbc32 and odbccp32"
            echo " native_oleaut32 Override oleaut32"
            echo " nt40 Set windows version to nt40"
            echo " win98 Set windows version to Windows 98"
            echo " win2k Set windows version to Windows 2000"
            echo " winxp Set windows version to Windows XP"
            echo " vista Set windows version to Windows Vista"
            echo " winver= Set windows version to default (winxp)"
            echo " volnum Rename drive_c to harddiskvolume0 (needed by some installers)"
            }

            #----------------------------------------------------------------
            # Trivial GUI just to handle case where user tries running without commandline

            # Checks for known desktop environments
            # set variable DE to the desktop environments name, lowercase

            detectDE() {
            if [ x"$KDE_FULL_SESSION" = x"true" ]
            then
            DE=kde
            elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]
            then
            DE=gnome
            elif [ x"$DISPLAY" != x"" ]
            then
            DE=x
            else
            DE=none
            fi
            }

            kde_showmenu() {
            title="$1"
            shift
            text="$1"
            shift
            col1name="$1"
            shift
            col2name="$1"
            shift
            while test $# -gt 0
            do
            args="$args $1 $1 off"
            shift
            done
            kdialog --title "$title" --separate-output --checklist "$text" $args
            }

            x_showmenu() {
            title="$1"
            shift
            text="$1"
            shift
            col1name="$1"
            shift
            col2name="$1"
            shift
            if test $# -gt 0
            then
            args="$1"
            shift
            fi
            while test $# -gt 0
            do
            args="$args,$1"
            shift
            done
            (echo "$title"; echo ""; echo "$text") | \
            xmessage -print -file - -buttons "Cancel,$args" | sed 's/Cancel//'
            }

            showmenu()
            {
            detectDE
            case $DE in
            kde) kde_showmenu "$@" ;;
            gnome|x) x_showmenu "$@" ;;
            none) usage 1>&2; exit 1;;
            esac
            }

            dogui()
            {
            detectDE
            if [ $DE = gnome ]
            then
            echo "zenity --title 'Select a package to install' --text 'Install?' --list --checklist --column '' --column Package --column Description --height 440 --width 600 \\" > "$WINETRICKS_TMP"/zenity.sh
            usage | grep '^ [a-z]' | sed 's/^ \([^ ]*\) *\(.*\)/FALSE "\1" '"'\2'/" | sed 's/$/ \\/' >> $WINETRICKS_TMP/zenity.sh
            todo="`sh "$WINETRICKS_TMP"/zenity.sh | tr '|' ' '`"
            else
            packages=`usage | awk '/^ [a-z]/ {print $1}'`
            todo="`showmenu "winetricks" "Select a package to install" "Install?" "Package" $packages`"
            fi

            if test "$todo"x = x
            then
            exit 0
            fi
            }

            #----------------------------------------------------------------

            GUI=0
            case x"$1" in
            x) GUI=1; dogui ; set $todo ;;
            x-h|x--help|xhelp) usage ; exit 1 ;;
            esac
            test -d "$WINEPREFIX" || $WINE cmd /c echo yes > /dev/null 2>&1
            mkdir -p "$WINETRICKS_CACHE"
            olddir=`pwd`
            # Clean up after failed runs, if needed
            rm -rf "$WINETRICKS_TMP"/*

            # The folder-name is localized!
            programfilesdir_win="`unset WINEDEBUG; $WINE cmd.exe /c echo "%ProgramFiles%"`"
            test x"$programfilesdir_win" != x || die "$WINE cmd.exe /c echo '%ProgramFiles%' returned empty string"
            programfilesdir_unix="`unset WINEDEBUG; $WINE winepath -u "$programfilesdir_win"`"
            test x"$programfilesdir_unix" != x || die "winepath -u $programfilesdir_win returned empty string"

            # (Fixme: get fonts path from SHGetFolderPath
            # See also https://docs.microsoft.com/en-us/archive/blogs/
            #
            # Did the user rename Fonts to fonts?
            if test ! -d "$WINDIR"/Fonts && test -d "$WINDIR"/fonts
            then
            winefontsdir="$WINDIR"/fonts
            else
            winefontsdir="$WINDIR"/Fonts
            fi

            # Mac folks tend to not have sha1sum, but we can make do with openssl
            if [ -x "`which sha1sum`" ]
            then
            SHA1SUM="sha1sum"
            elif [ -x "`which openssl`" ]
            then
            SHA1SUM="openssl dgst -sha1"
            else
            die "No sha1sum utility available."
            fi

            if [ ! -x "`which "cabextract"`" ]
            then
            echo "Cannot find cabextract. Please install it (e.g. 'sudo apt-get install cabextract' or 'sudo yum install cabextract')."
            fi

            #----- Helpers ------------------------------------------------

            # Execute with error checking
            try() {
            # "VAR=foo try cmd" fails to put VAR in the environment
            # with some versions of bash if try is a shell function?!
            # Adding this explicit export works around it.
            export WINEDLLOVERRIDES
            echo Executing "$@"
            "$@"
            status=$?
            if test $status -ne 0
            then
            die "Note: command '$@' returned status $status. Aborting."
            fi
            }

            # verify an sha1sum
            verify_sha1sum() {
            wantsum=$1
            file=$2

            gotsum=`$SHA1SUM < $file | sed 's/ .*//'`
            if [ "$gotsum"x != "$wantsum"x ]
            then
            die "sha1sum mismatch! Rename $file and try again."
            fi
            }

            # Download a file
            # Usage: package url [sha1sum [filename]]
            # Caches downloads in winetrickscache/$package
            download() {
            if [ "$4"x != ""x ]
            then
            file="$4"
            else
            file=`basename "$2"`
            fi
            cache="$WINETRICKS_CACHE/$1"
            mkdir -p "$cache"
            if test ! -f "$cache/$file"
            then
            cd "$cache"
            # Mac folks tend to have curl rather than wget
            # On Mac, 'which' doesn't return good exit status
            # Need to jam in --header "Accept-Encoding: gzip,deflate" else
            # redhat.com decompresses liberation-fonts.tar.gz!
            if [ -x "`which wget`" ]
            then
            # Use -nd to insulate ourselves from people who set -x in WGETRC
            # [*] --retry-connrefused works around the broken sf.net mirroring
            # system when downloading corefonts
            # [*] --read-timeout is useful on the adobe server that doesn't
            # close the connection unless you tell it to (control-C or closing
            # the socket)
            try wget -O "$file" -nd -c --read-timeout=300 --retry-connrefused --header "Accept-Encoding: gzip,deflate" "$2"
            else
            # curl doesn't get filename from the location given by the server!
            # fortunately, we know it
            try curl -L -o "$file" -C - --header "Accept-Encoding: gzip,deflate" "$2"
            fi
            cd "$olddir"
            fi
            if [ "$3"x != ""x ]
            then
            verify_sha1sum $3 "$cache/$file"
            fi
            }

            set_winver() {
            echo "Setting Windows version to $1"
            cat > "$WINETRICKS_TMP"/set-winver.reg <<_EOF_
            REGEDIT4

            [HKEY_CURRENT_USER\Software\Wine]
            "Version"="$1"

            _EOF_
            try $WINE regedit "$WINETRICKS_TMP"/set-winver.reg
            }

            set_app_winver() {
            app="$1"
            version="$2"
            echo "Setting $app to $version mode"
            (
            echo REGEDIT4
            echo ""
            echo "[HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\$app]"
            echo "\"Version\"=\"$version\""
            ) > "$WINETRICKS_TMP"/set-winver.reg

            try $WINE regedit "$WINETRICKS_TMP"/set-winver.reg
            rm "$WINETRICKS_TMP"/set-winver.reg
            }

            unset_winver() {
            echo "Clearing Windows version back to default"
            cat > "$WINETRICKS_TMP"/unset-winver.reg <<_EOF_
            REGEDIT4

            [HKEY_CURRENT_USER\Software\Wine]
            "Version"=-

            _EOF_
            try $WINE regedit "$WINETRICKS_TMP"/unset-winver.reg
            }

            override_dlls() {
            mode=$1
            shift
            echo Using $mode override for following DLLs: $@
            cat > "$WINETRICKS_TMP"/override-dll.reg <<_EOF_
            REGEDIT4

            [HKEY_CURRENT_USER\Software\Wine\DllOverrides]
            _EOF_
            while test "$1" != ""
            do
            case "$1" in
            comctl32)
            rm -rf "$WINDIR"/winsxs/manifests/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
            ;;
            esac
            echo "\"$1\"=\"$mode\"" >> "$WINETRICKS_TMP"/override-dll.reg
            shift
            done

            try $WINE regedit "$WINETRICKS_TMP"/override-dll.reg
            rm "$WINETRICKS_TMP"/override-dll.reg
            }

            override_app_dlls() {
            app=$1
            shift
            mode=$1
            shift
            echo Using $mode override for following DLLs when running $app: $@
            (
            echo REGEDIT4
            echo ""
            echo "[HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\$app\\DllOverrides]"
            ) > "$WINETRICKS_TMP"/override-dll.reg

            while test "$1" != ""
            do
            case "$1" in
            comctl32)
            rm -rf "$WINDIR"/winsxs/manifests/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest
            ;;
            esac
            echo "\"$1\"=\"$mode\"" >> "$WINETRICKS_TMP"/override-dll.reg
            shift
            done

            try $WINE regedit "$WINETRICKS_TMP"/override-dll.reg
            rm "$WINETRICKS_TMP"/override-dll.reg
            }

            register_font() {
            file=$1
            shift
            font=$1
            #echo "Registering $file as $font"
            cat > "$WINETRICKS_TMP"/register-font.reg <<_EOF_
            REGEDIT4

            [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
            "$font"="$file"
            _EOF_
            # too verbose
            #try $WINE regedit "$WINETRICKS_TMP"/register-font.reg
            $WINE regedit "$WINETRICKS_TMP"/register-font.reg
            }

            #----- common download for several verbs
            helper_directx_dl() {
            # Mar 2009 DirectX 9c User Redistributable
            # http://www.microsoft.com/downloads/details.aspx?FamilyID=0cf368e5-5ce1-4032-a207-c693d210f616&displaylang=en
            download . http://download.microsoft.com/... 29957ee0d29b95019b082a47da5eab52f50cde0d

            DIRECTX_NAME=directx_mar2009_redist.exe
            }

            #----- One function per package, in alphabetical order ----------

            load_art2kmin() {
            # See https://support.microsoft.com/en-us/help/243957
            download . http://download.microsoft.com/... 73be2622254d1f857a204a03f068787542b985e9
            try $WINE "$WINETRICKS_CACHE"/art2kmin.exe
            cd "$WINEPREFIX/drive_c/ART2KMin Setup"
            try $WINE Setup.exe INSTALLPFILES=1 /wait $WINETRICKS_QUIET
            cd "$olddir"
            }

            #----------------------------------------------------------------

            load_autohotkey() {
            download . http://www.autohotkey.net/programs/AutoHotkey104706_Install.exe 3d3d8845473dea477d6983d063f0afc9999d880f
            try $WINE "$WINETRICKS_CACHE"/AutoHotkey104706_Install.exe $WINETRICKS_S
            }

            #----------------------------------------------------------------

            load_cc580() {
            # http://www.microsoft.com/downloads/details.aspx?familyid=6f94d31a-d1e0-4658-a566-93af0d8d4a1e
            download . http://download.microsoft.com/download/platformsdk/redist/5.80.2614.3600/w9xnt4/en-us/cc32inst.exe 94c3c494258cc54bd65d2f0153815737644bffde

            try $WINE "$WINETRICKS_CACHE"/cc32inst.exe "/T:`$WINE winepath -w "$WINETRICKS_TMP"`" /c $WINETRICKS_QUIET
            try $WINE "$WINETRICKS_TMP"/comctl32.exe
            try $WINE "$WINDIR"/temp/x86/50ComUpd.Exe "/T:`$WINE winepath -w "$WINETRICKS_TMP"`" /c $WINETRICKS_QUIET
            try cp "$WINETRICKS_TMP"/comcnt.dll "$WINDIR"/system32/comctl32.dll

            override_dlls native,builtin comctl32
            }

            #----------------------------------------------------------------

            load_comctl32ocx() {
            # http://www.microsoft.com/downloads/details.aspx?FamilyID=25437D98-51D0-41C1-BB14-64662F5F62FE
            download . http://download.microsoft.com/... f52cf2034488235b37a1da837d1c40eb2a1bad84

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/VisualBasic6-KB896559-v1-ENU.exe
            try cp "$WINETRICKS_TMP"/mscomctl.ocx "$WINDIR"/system32/mscomctl.ocx
            try cp "$WINETRICKS_TMP"/comctl32.ocx "$WINDIR"/system32/comctl32.ocx
            try $WINE regsvr32 comctl32.ocx
            try $WINE regsvr32 mscomctl.ocx
            }

            #----------------------------------------------------------------

            load_colorprofile() {
            download . http://download.microsoft.com/... 6b72836b32b343c82d0760dff5cb51c2f47170eb
            try unzip -o $WINETRICKS_UNIXQUIET -d "$WINETRICKS_TMP" "$WINETRICKS_CACHE"/ColorProfile.exe
            mkdir -p "$WINDIR"/system32/spool/drivers/color
            try cp -f "$WINETRICKS_TMP/sRGB Color Space Profile.icm" "$WINDIR"/system32/spool/drivers/color
            }

            #----------------------------------------------------------------

            load_controlpad() {
            # https://docs.microsoft.com/en-us/previous-versions/ms968493(v=msdn.10)?redirectedfrom=MSDN
            # Fixes error "Failed to load UniText..."
            load_wsh56
            download . http://download.microsoft.com/... 8921e0f52507ca6a373c94d222777c750fb48af7
            try cabextract --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/setuppad.exe
            echo "If setup says 'Unable to start DDE ...', press Ignore"
            try $WINE "$WINETRICKS_TMP"/setup $WINETRICKS_QUIET
            }

            #----------------------------------------------------------------

            load_corefonts() {
            # See http://corefonts.sourceforge.net/
            # TODO: let user pick mirror,
            # see http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec for how
            # TODO: add more fonts

            # Added More Fonts (see msttcorefonts)
            # [*] Pointed download locations to sites that actually contained the
            # fonts to download (as of 04-03-2008)
            #download . $SOURCEFORGE/corefonts/andale32.exe c4db8cbe42c566d12468f5fdad38c43721844c69
            download . $SOURCEFORGE/corefonts/arial32.exe 6d75f8436f39ab2da5c31ce651b7443b4ad2916e
            download . $SOURCEFORGE/corefonts/arialb32.exe d45cdab84b7f4c1efd6d1b369f50ed0390e3d344
            download . $SOURCEFORGE/corefonts/comic32.exe 2371d0327683dcc5ec1684fe7c275a8de1ef9a51
            download . $SOURCEFORGE/corefonts/courie32.exe 06a745023c034f88b4135f5e294fece1a3c1b057
            download . $SOURCEFORGE/corefonts/georgi32.exe 90e4070cb356f1d811acb943080bf97e419a8f1e
            download . $SOURCEFORGE/corefonts/impact32.exe 86b34d650cfbbe5d3512d49d2545f7509a55aad2
            download . $SOURCEFORGE/corefonts/times32.exe 20b79e65cdef4e2d7195f84da202499e3aa83060
            download . $SOURCEFORGE/corefonts/trebuc32.exe 50aab0988423efcc9cf21fac7d64d534d6d0a34a
            download . $SOURCEFORGE/corefonts/verdan32.exe f5b93cedf500edc67502f116578123618c64a42a
            download . $SOURCEFORGE/corefonts/webdin32.exe 2fb4a42c53e50bc70707a7b3c57baf62ba58398f

            # Natively installed versions of these fonts will cause the installers
            # to exit silently. Because there are apps out there that depend on the
            # files being present in the Windows font directory we use cabextract
            # to obtain the files and register the fonts by hand.

            # Andale needs a FontSubstitutes entry
            # try cabextract --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/andale32.exe

            # Display EULA
            test x"$WINETRICKS_QUIET" = x"" || try $WINE "$WINETRICKS_CACHE"/arial32.exe $WINETRICKS_QUIET

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/arial32.exe
            try cp -f "$WINETRICKS_TMP"/Arial*.TTF "$winefontsdir"
            register_font Arial.TTF "Arial (TrueType)"
            register_font Arialbd.TTF "Arial Bold (TrueType)"
            register_font Arialbi.TTF "Arial Bold Italic (TrueType)"
            register_font Ariali.TTF "Arial Italic (TrueType)"

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/arialb32.exe
            try cp -f "$WINETRICKS_TMP"/AriBlk.TTF "$winefontsdir"
            register_font AriBlk.TTF "Arial Black (TrueType)"

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/comic32.exe
            try cp -f "$WINETRICKS_TMP"/Comic*.TTF "$winefontsdir"
            register_font Comic.TTF "Comic Sans MS (TrueType)"
            register_font Comicbd.TTF "Comic Sans MS Bold (TrueType)"

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/courie32.exe
            try cp -f "$WINETRICKS_TMP"/cour*.ttf "$winefontsdir"
            register_font Cour.TTF "Courier New (TrueType)"
            register_font CourBD.TTF "Courier New Bold (TrueType)"
            register_font CourBI.TTF "Courier New Bold Italic (TrueType)"
            register_font Couri.TTF "Courier New Italic (TrueType)"

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/georgi32.exe
            try cp -f "$WINETRICKS_TMP"/Georgia*.TTF "$winefontsdir"
            register_font Georgia.TTF "Georgia (TrueType)"
            register_font Georgiab.TTF "Georgia Bold (TrueType)"
            register_font Georgiaz.TTF "Georgia Bold Italic (TrueType)"
            register_font Georgiai.TTF "Georgia Italic (TrueType)"

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/impact32.exe
            try cp -f "$WINETRICKS_TMP"/Impact.TTF "$winefontsdir"
            register_font Impact.TTF "Impact (TrueType)"

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/times32.exe
            try cp -f "$WINETRICKS_TMP"/Times*.TTF "$winefontsdir"
            register_font Times.TTF "Times New Roman (TrueType)"
            register_font Timesbd.TTF "Times New Roman Bold (TrueType)"
            register_font Timesbi.TTF "Times New Roman Bold Italic (TrueType)"
            register_font Timesi.TTF "Times New Roman Italic (TrueType)"

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/trebuc32.exe
            try cp -f "$WINETRICKS_TMP"/trebuc*.ttf "$winefontsdir"
            register_font Trebuc.TTF "Trebucet MS (TrueType)"
            register_font Trebucbd.TTF "Trebucet MS Bold (TrueType)"
            register_font Trebucbi.TTF "Trebucet MS Bold Italic (TrueType)"
            register_font Trebucit.TTF "Trebucet MS Italic (TrueType)"

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/verdan32.exe
            try cp -f "$WINETRICKS_TMP"/Verdana*.TTF "$winefontsdir"
            register_font Verdana.TTF "Verdana (TrueType)"
            register_font Verdanab.TTF "Verdana Bold (TrueType)"
            register_font Verdanaz.TTF "Verdana Bold Italic (TrueType)"
            register_font Verdanai.TTF "Verdana Italic (TrueType)"

            try cabextract -q --directory="$WINETRICKS_TMP" "$WINETRICKS_CACHE"/webdin32.exe
            try cp -f "$WINETRICKS_TMP"/Webdings.TTF "$winefontsdir"
            register_font Webdings.TTF "Webdings (TrueType)"
            }

            #----------------------------------------------------------------

            load_d3dx9() {
            helper_directx_dl

            # Kinder, less invasive directx - only extract and override d3dx9_??.dll
            cabextract -d "$WINETRICKS_TMP" -L -F '*d3dx9*x86*' "$WINETRICKS_CACHE"/$DIRECTX_NAME
            for x in `ls "$WINETRICKS_TMP"/*.cab`
            do
            cabextract -d "$WINDIR"/system32 -L -F '*.dll' "$x"
            done

            # For now, not needed, but when Wine starts preferring our builtin dll over native it will be.
            override_dlls native d3dx9_24 d3dx9_25 d3dx9_26 d3dx9_27 d3dx9_28 d3dx9_29 d3dx9_30
            override_dlls native d3dx9_31 d3dx9_32 d3dx9_33 d3dx9_34 d3dx9_35 d3dx9_36 d3dx9_37
            override_dlls native d3dx9_38 d3dx9_39 d3dx9_40 d3dx9_41
            }

            #----------------------------------------------------------------

            load_dirac08() {
            download . http://codecpack.nl/dirac_dsfilter_080.exe aacfcddf6b2636de5f0a50422ba9155e395318af
            try $WINE "$WINETRICKS_CACHE"/dirac_dsfilter_080.exe $WINETRICKS_SILENT
            }

            #----------------------------------------------------------------

            load_directx9() {
            helper_directx_dl

            # Stefan suggested that, when installing, one should override as follows:
            # 1) use builtin wintrust (we don't run native properly somehow?)
            # 2) disable mscoree (else if it's present some module misbehaves?)
            # 3) override native any directx DLL whose Wine version doesn't register itself well yet
            # For #3, I have no idea which DLLs don't register themselves well yet,
            # so I'm just listing a few of the basic ones. Let's whittle that
            # list down as soon as we can.
            echo "You probably shouldn't be using this. It's VERY invasive."
            echo "Use 'winetricks d3dx9' instead."
            set_winver win2k
            WINEDLLOVERRIDES="wintrust=b,mscoree=,ddraw,d3d8,d3d9,dsound,dinput=n" \
            try $WINE "$WINETRICKS_CACHE"/$DIRECTX_NAME /t:"$WINETRICKS_TMP_WIN" $WINETRICKS_QUIET

            # How many of these do we really need?
            # We should probably remove most of these...?
            override_dlls native d3dim d3drm d3dx8 d3dx9_24 d3dx9_25 d3dx9_26 d3dx9_27 d3dx9_28 d3dx9_29
            override_dlls native d3dx9_30 d3dx9_31 d3dx9_32 d3dx9_33 d3dx9_34 d3dx9_35 d3dx9_36 d3dx9_37
            override_dlls native d3dx9_38 d3dx9_39 d3dx9_40 d3dx9_41 d3dxof
            override_dlls native dciman32 ddrawex devenum dmband dmcompos dmime dmloader dmscript dmstyle
            override_dlls native dmsynth dmusic dmusic32 dnsapi dplay dplayx dpnaddr dpnet dpnhpast dpnlobby
            override_dlls native dswave dxdiagn mscoree msdmo qcap quartz streamci
            override_dlls builtin d3d8 d3d9 dinput dinput8 dsound

            try $WINE "$WINETRICKS_TMP_WIN"/DXSETUP.exe

            unset_winver
            }

            #----------------------------------------------------------------

            load_divx() {
            # 6.8.2: 02203fdc4dddd13e789c39b22902837da31d2a1d ?
            # 6.8.2: e36bf87c1675d0cf9169839bc0cd8f866b9db026 as of 4 jun 2008 as http://download.divx.com/divx/DivXInstaller.exe
            # 6.8.3: f4f4387ef89316aea440a29f3e24c1f1945e14af as of 20 jun 2008 as http://download.divx.com/divx/abt/b1/DivXInstaller.exe
            # 6.8.4: c5fcb1465a1bb24d1c104c2588fdb6706d1e1476 as of 10 Jul 2008 as http://download.divx.com/divx/abt/b1/DivXInstaller.exe
            # 6.8.4: d28a2b041f4af45d22c4dedfe7608f2958cf997d as of 23 Aug 2008 as http://download.divx.com/divx/DivXInstaller.exe

            # 7.? 4d91ef90ae26a6088851560c4263ef0cdbf09123 as of 22 Mar 2009 as http://download.divx.com/divx/DivXInstaller.exe
            # 7.0.? 19c9ba3104025d1fab335e405e7f411dfbbcb477 as of 28 May 2009 as http://download.divx.com/divx/DivXInstaller.exe
            # 7.0.? 786aef0f421df5e7358d2d740d9911f9afd055de as of 24 June 2009 as http://download.divx.com/divx/DivXInstaller.exe
            download divx-7 http://download.divx.com/divx/DivXInstaller.exe 786aef0f421df5e7358d2d740d9911f9afd055de

            try $WINE "$WINETRICKS_CACHE"/divx-7/DivXInstaller $WINETRICKS_SILENT
            }

            #----------------------------------------------------------------

            load_dcom98() {
            # Install native dcom per http://wiki.winehq.org/NativeDcom
            # to avoid https://bugs.winehq.org/show_bug.cgi?id=4228
            # See http://www.microsoft.com/downloads/details.aspx?familyid=08b1ac1b-7a11-43e8-b59d-0867f9bdda66
            download . http://download.microsoft.com/download/d/1/3/d13cd456-f0cf-4fb2-a17f-20afc79f8a51/DCOM98.EXE aff002bd03f17340b2bef2e6b9ea8e3798e9ccc1

            # Pick win98 so we can install native dcom
            set_winver win98

            # Avoid "err:setupapi:SetupDefaultQueueCallbackA copy error 5 ..."
            # Those messages are suspect, probably shouldn't be err's.
            rm -f "$WINDIR"/system32/ole32.dll
            rm -f "$WINDIR"/system32/olepro32.dll
            rm -f "$WINDIR"/system32/oleaut32.dll
            rm -f "$WINDIR"/system32/rpcrt4.dll

            # Normally only need to override ole32, but overriding advpack
            # as well gets us the correct exit status.
            WINEDLLOVERRIDES="ole32,advpack=n" try $WINE "$WINETRICKS_CACHE"/DCOM98.EXE $WINETRICKS_QUIET

            # Set native DCOM by default for all apps (ok, this might be overkill)
            override_dlls native,builtin ole32 oleaut32 rpcrt4

            # but not for a few builtin apps that don't like it
            override_app_dlls explorer.exe builtin ole32 oleaut32 rpcrt4
            override_app_dlls iexplore.exe builtin ole32 oleaut32 rpcrt4
            override_app_dlls services.exe builtin ole32 oleaut32 rpcrt4
            override_app_dlls wineboot.exe builtin ole32 oleaut32 rpcrt4
            override_app_dlls winedevice.exe builtin ole32 oleaut32 rpcrt4

            # and undo version win98
            unset_winver
            }

            #----------------------------------------------------------------

            load_dotnet11() {
            DOTNET_INSTALL_DIR="$WINDIR/Microsoft.NET/Framework/v1.1.4322"

            # need corefonts, else installer crashes
            load_corefonts

            # http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3
            download dotnet11 http://download.microsoft.com/... 16a354a2207c4c8846b617cbc78f7b7c1856340e
            try $WINE "$WINETRICKS_CACHE"/dotnet11/dotnetfx.exe $WINETRICKS_QUIET
            }

            #----------------------------------------------------------------

            load_dotnet20() {
            # Recipe from https://bugs.winehq.org/show_bug.cgi?id=10467#c57
            test -d "$WINDIR/gecko" || load_gecko
            set_winver win2k
            # See http://kegel.com/wine/l_intl-sh.txt for how l_intl.nls was generated
            download dotnet20 http://kegel.com/wine/l_intl.nls
            try cp -f "$WINETRICKS_CACHE"/dotnet20/l_intl.nls "$WINDIR/system32/"

            # http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5
            download dotnet20 http://download.microsoft.com/... a3625c59d7a2995fb60877b5f5324892a1693b2a
            if [ "$WINETRICKS_QUIET"x = ""x ]
            then
            try $WINE "$WINETRICKS_CACHE"/dotnet20/dotnetfx.exe
            else
            try $WINE "$WINETRICKS_CACHE"/dotnet20/dotnetfx.exe /q /c:"install.exe /q"
            fi
            unset_winver
            }

            #----------------------------------------------------------------

            # Fake IE per workaround in http://bugs.winehq.org/show_bug.cgi?id=3453
            # Just the first registry key works for most apps.
            # The App Paths part is required by a few apps, like Quickbooks Pro;
            # see https://www.winhelponline.com/xp/ie/qbooks.htm
            set_fakeie6() {

            cat > "$WINETRICKS_TMP"/fakeie6.reg <<"_EOF_"
            REGEDIT4

            [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer]
            "Version"="6.0.2900.2180"

            [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE]
            _EOF_

            echo -n '@="' >>"$WINETRICKS_TMP"/fakeie6.reg
            echo -n "${programfilesdir_win}" | sed "s/\\\\/\\\\\\\\/" >>"$WINETRICKS_TMP"/fakeie6.reg
            echo '\\\\Internet Explorer\\\\iexplore.exe"' >>"$WINETRICKS_TMP"/fakeie6.reg

            echo -n '"PATH"="' >>"$WINETRICKS_TMP"/fakeie6.reg
            echo -n "${programfilesdir_win}" | sed "s/\\\\/\\\\\\\\/" >>"$WINETRICKS_TMP"/fakeie6.reg
            echo '\\\\Internet Explorer"' >>"$WINETRICKS_TMP"/fakeie6.reg

            try $WINE regedit "$WINETRICKS_TMP"/fakeie6.reg

            # On old wineprefixes iexplore.exe is not created. Create a fake dll using
            # shdocvw.dll that should have similar VERSIONINFO.
            if [ ! -f "$programfilesdir_unix/Internet Explorer/iexplore.exe" ]
            then
            echo "You have an old wineprefix without iexplore.exe. Will create a fake now"
            if [ ! -d "$programfilesdir_unix/Internet Explorer/iexplore.exe" ]
            then
            try mkdir "$programfilesdir_unix/Internet Explorer";
            fi
            try cp -f "$WINDIR/system32/shdocvw.dll" "$programfilesdir_unix/Internet Explorer/iexplore.exe"
            fi
            }

            #----------------------------------------------------------------

            load_firefox() {
            download . "http://releases.mozilla.org/..." a9ef21ba8173a5d850b408fc448a7bc889eb68cb "Firefox Setup 3.5.exe"
            if [ "$WINETRICKS_QUIET"x = ""x ]
            then
            try $WINE "$WINETRICKS_CACHE"/"Firefox Setup 3.5.exe"
            else
            try $WINE "$WINETRICKS_CACHE"/"Firefox Setup 3.5.exe" -ms
            fi
            }

            #----------------------------------------------------------------

            load_ffdshow() {
            # ffdshow
            download . $SOURCEFORGE/ffdshow-tryout/ffdshow_beta5_rev2033_20080705_clsid.exe 6da6837e2f400923ff5294a6591a88a3eee5ee40
            try $WINE "$WINETRICKS_CACHE"/ffdshow_beta5_rev2033_20080705_clsid.exe $WINETRICKS_SILENT
            }

            #----------------------------------------------------------------

            load_flash() {
            # www.adobe.com/products/flashplayer/

            # Active X plugin
            # https://blogs.adobe.com/psirt/2008/03/preparing_for_april_flash_play.html/
            # http://fpdownload.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_active_x.msi
            # 2008-04-01: old version sha1sum f4dd1c0c715b791db2c972aeba90d3b78372996a
            # 2008-04-18: new version sha1sum 04ac79c4f1eb1e1ca689f27fa71f12bb5cd11cc2
            # Version 10 http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
            # 2008-11-27: 10 sha1sum 7f6850ae815e953311bb94a8aa9d226f97a646dd
            # 2009-02-27: shasum 86745020a25edc9695a1a6a4d59eae375665a0b3

            download . http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe 86745020a25edc9695a1a6a4d59eae375665a0b3
            try $WINE "$WINETRICKS_CACHE"/install_flash_player_ax.exe $WINETRICKS_S

            # Mozilla / Firefox plugin
            # 2008-07-22: sha1sum 1e6f7627784a5b791e99ae9ad63133dc11c7940b
            # 2008-11-27: sha1sum 20ec0300a8cae19105c903a7ec6c0801e016beb0
            # 2009-02-27: sha1sum 770db9ad471ffd4357358bc16ff0bb6c98d71e5d
            download . http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe 770db9ad471ffd4357358bc16ff0bb6c98d71e5d
            try $WINE "$WINETRICKS_CACHE"/install_flash_player.exe $WINETRICKS_S
            }

            #----------------------------------------------------------------

            load_fontfix() {
            # some versions of ukai.ttf and uming.ttf crash .net and picasa
            # See http://bugs.winehq.org/show_bug.cgi?id=7098#c9
            # Could fix globally, but that needs root, so just fix for wine
            if test -f /usr/share/fonts/truetype/arphic/ukai.ttf
            then
            gotsum=`$SHA1SUM < /usr/share/fonts/truetype/arphic/ukai.ttf | sed 's/ .*//'`
            # FIXME: do all affected versions of the font have same sha1sum as Gutsy? Seems unlikely.
            if [ "$gotsum"x = "96e1121f89953e5169d3e2e7811569148f573985"x ]
            then
            download . https://launchpadlibrarian.net/1499628/ttf-arphic-ukai_0.1.20060108.orig.tar.gz 92e577602d71454a108968e79ab667451f3602a2
            cd "$WINETRICKS_TMP/"
            tar -xzf "$WINETRICKS_CACHE/ttf-arphic-ukai_0.1.20060108.orig.tar.gz"
            try mv ttf-arphic-ukai-0.1.20060108/*.ttf "$winefontsdir"
            cd "$olddir"
            fi
            fi

            if test -f /usr/share/fonts/truetype/arphic/uming.ttf
            then
            gotsum=`$SHA1SUM < /usr/share/fonts/truetype/arphic/uming.ttf | sed 's/ .*//'`
            if [ "$gotsum"x = "2a4f4a69e343c21c24d044b2cb19fd4f0decc82c"x ]
            then
            download . https://launchpadlibrarian.net/1564410/ttf-arphic-uming_0.1.20060108.orig.tar.gz 1439cdd731906e9e5311f320c2cb33262b24ef91
            cd "$WINETRICKS_TMP/"
            tar -xzf "$WINETRICKS_CACHE/ttf-arphic-uming_0.1.20060108.orig.tar.gz"
            try mv ttf-arphic-uming-0.1.20060108/*.ttf "$winefontsdir"
            cd "$olddir"
            fi
            fi

            # The heterogeneity of SHA-1 checksums and paths for "bad" Samyak-Oriya.ttf
            # fonts make checking impractical, so we'll substitute in a good version
            # regardless of the installed version, if any.

            download . http://cvs.fedora.redhat.com/repo/pkgs/samyak-fonts/samyak-fonts-1.2.0.tar.gz/a57339ba2b4279938a2d792ebdf70377/samyak-fonts-1.2.0.tar.gz f06d0eaac201a3ec79418d69d46807a52150f047
            cd "$WINETRICKS_TMP/"
            tar -xzf "$WINETRICKS_CACHE/samyak-fonts-1.2.0.tar.gz"
            try mv samyak-fonts-1.2.0/oriya/Samyak-Oriya.ttf "$winefontsdir"
            cd "$olddir"
            }

            #----------------------------------------------------------------
            load_fs_disable() {
            cat > "$WINETRICKS_TMP"/fs_disable.reg <<_EOF_
            REGEDIT4

            [HKEY_CURRENT_USER\Control Panel\Desktop]
            "FontSmoothing"="0"
            "FontSmoothingGamma"=dword:00000578
            "FontSmoothingOrientation"=dword:00000001
            "FontSmoothingType"=dword:00000000

            _EOF_
            try $WINE regedit "$WINETRICKS_TMP"/fs_disable.reg
            }
            #----------------------------------------------------------------
            load_fs_grayscale() {
            cat > "$WINETRICKS_TMP"/fs_grayscale.reg <<_EOF_

            REGEDIT4

            [HKEY_CURRENT_USER\Control Panel\Desktop]
            "FontSmoothing"="2"
            "FontSmoothingGamma"=dword:00000578
            "FontSmoothingOrientation"=dword:00000001
            "FontSmoothingType"=dword:00000001

            _EOF_
            try $WINE regedit "$WINETRICKS_TMP"/fs_grayscale.reg
            }
            #----------------------------------------------------------------
            load_fs_bgr() {
            cat > "$WINETRICKS_TMP"/fs_bgr.reg <<_EOF_

            REGEDIT4

            [HKEY_CURRENT_USER\Control Panel\Desktop]
            "FontSmoothing"="2"
            "FontSmoothingGamma"=dword:00000578
            "FontSmoothingOrientation"=dword:00000000
            "FontSmoothingType"=dword:00000002

            _EOF_
            try $WINE regedit "$WINETRICKS_TMP"/fs_bgr.reg
            }
            #----------------------------------------------------------------
            load_fs_rgb() {
            cat > "$WINETRICKS_TMP"/fs_rgb.reg <<_EOF_

            REGEDIT4

            [HKEY_CURRENT_USER\Control Panel\Desktop]
            "FontSmoothing"="2"
            "FontSmoothingGamma"=dword:00000578
            "FontSmoothingOrientation"=dword:00000001
            "FontSmoothingType"=dword:00000002

            _EOF_
            try $WINE regedit "$WINETRICKS_TMP"/fs_rgb.reg
            }
            #----------------------------------------------------------------

            load_gecko() {
            # Load the HTML rendering Engine (Gecko)
            # FIXME: shouldn't this code be in some script installed
            # as part of Wine instead of in winetricks?
            # (e.g. we hardcode gecko's url here, but it's normally
            # only hardcoded in wine.inf, and fetched from the registry thereafter,
            # so we're adding a maintenance burden here.)
            case `$WINE --version` in
            wine-0*|wine-1.0*|wine-1.1|wine-1.1.?|wine-1.1.11)
            GECKO_VERSION=0.1.0
            GECKO_SHA1SUM=c16f1072dc6b0ced20935662138dcf019a38cd56
            ;;
            wine-1.1.1[234]*)
            GECKO_VERSION=0.9.0
            GECKO_SHA1SUM=5cf410ff7fdd3f9d625f481f9d409968728d3d09
            ;;
            *)
            GECKO_VERSION=0.9.1
            GECKO_SHA1SUM=9a49fc691740596517e381b47096a4bdf19a87d8
            ;;
            esac

            if test ! -f "$WINETRICKS_CACHE"/wine_gecko-$GECKO_VERSION.cab
            then
            # FIXME: busted if using curl!
            download . "http://source.winehq.org/winegecko.php?v=$GECKO_VERSION" $GECKO_SHA1SUM wine_gecko-$GECKO_VERSION.cab
            fi

            cat > "$WINETRICKS_TMP"/geckopath.reg <<_EOF_
            REGEDIT4

            [HKEY_CURRENT_USER\\Software\\Wine\\MSHTML\\$GECKO_VERSION]
            _EOF_

            #The registry-entry does not support an environment-variable
            printf '"GeckoPath"="' >>"$WINETRICKS_TMP"/geckopath.reg
            printf 'c:\\windows\\gecko\\'$GECKO_VERSION'\\wine_gecko\\"' | sed "s/\\\\/\\\\\\\\/g" >>"$WINETRICKS_TMP"/geckopath.reg

            # extract the files
            mkdir -p "$WINDIR"/gecko/$GECKO_VERSION
            cd "$WINDIR"/gecko/$GECKO_VERSION
            try cabextract $WINETRICKS_UNIXQUIET "$WINETRICKS_CACHE"/wine_gecko-$GECKO_VERSION.cab
            cd "$olddir"

            # set install-path
            try $WINE regedit "$WINETRICKS_TMP"/geckopath.reg
            }

            #----------------------------------------------------------------

            load_gecko_dbg() {
            # Load the HTML rendering Engine (Gecko), with debugging symbols
            # FIXME: shouldn't this code be in some script installed
            # as part of Wine instead of in winetricks?
            # (e.g. we hardcode gecko's url here, but it's normally
            # only hardcoded in wine.inf, and fetched from the registry thereafter,
            # so we're adding a maintenance burden here.)
            case `$WINE --version` in
            wine-0*|wine-1.0*|wine-1.1|wine-1.1.?|wine-1.1.11)
            echo "There isn't a gecko debug build for your Wine version."
            exit 1
            ;;
            wine-1.1.1[234]*)
            GECKO_VERSION=0.9.0
            GECKO_SHA1SUM=23e354a82d7b7e61a6abe0384cc44669fbf92f86
            ;;
            *)
            GECKO_VERSION=0.9.1
            GECKO_SHA1SUM=a9b58d3330f8c78524fe4683f348302bfce96ff4
            ;;
            esac

            if test ! -f "$WINETRICKS_CACHE"/wine_gecko-$GECKO_VERSION-dbg.cab
            then
            # FIXME: busted if using curl!
            download . "https://sourceforge.net/projects/wine/files/$GECKO_VERSION-dbg.cab" $GECKO_SHA1SUM wine_gecko-$GECKO_VERSION-dbg.cab
            fi

            cat > "$WINETRICKS_TMP"/geckopath.reg <<_EOF_
            REGEDIT4

            [HKEY_CURRENT_USER\\Software\\Wine\\MSHTML\\$GECKO_VERSION]
            _EOF_

            #The registry-entry does not support an environment-variable
            printf '"GeckoPath"="' >>"$WINETRICKS_TMP"/geckopath.reg
            printf 'c:\\windows\\gecko\\'$GECKO_VERSION'\\wine_gecko\\"' | sed "s/\\\\/\\\\\\\\/g" >>"$WINETRICKS_TMP"/geckopath.reg

            # extract the files
            mkdir -p "$WINDIR"/gecko/$GECKO_VERSION
            cd "$WINDIR"/gecko/$GECKO_VERSION
            try cabextract $WINETRICKS_UNIXQUIET "$WINETRICKS_CACHE"/wine_gecko-$GECKO_VERSION-dbg.cab
            cd "$olddir"

            # set install-path
            try $WINE regedit "$WINETRICKS_TMP"/geckopath.reg
            }

            #----------------------------------------------------------------

            load_gdiplus() {
            # gdiplus is documented here as a redistributable:
            # http://msdn.microsoft.com/library/en-us/gdicpp/GDIPlus/GDIPlus.asp
            # however, there's no standalone installer. So install a random
            # app that happens to bundle it.
            download . http://download.microsoft.com/download/a/1/a/a1adc39b-9827-4c7a-890b-91396aed2b86/ppviewer.exe 4d13ca85d1d366167b6247ac7340b7736b1bff87
            try $WINE "$WINETRICKS_CACHE"/ppviewer.exe $WINETRICKS_QUIET
            # And then make it globally available.
            try cp "$programfilesdir_unix/Microsoft Office/PowerPoint Viewer/GDIPLUS.DLL" "$WINDIR"/system32/

            # For some reason, native,builtin isn't good enough...?
            override_dlls native gdiplus
            }

            #----------------------------------------------------------------

            load_hosts() {
            # Create fake system32\drivers\etc\hosts and system32\drivers\etc\services files.
            # The hosts file is used to map network names to IP addresses without DNS.
            # The services file is used map service names to network ports.
            # Some apps depend on these files, but they're not implemented in wine.
            # Fortunately, empty files in the correct location satisfy those apps.
            # See http://bugs.winehq.org/show_bug.cgi?id=12076
            mkdir -p "$WINDIR"/system32/drivers/etc
            touch "$WINDIR"/system32/drivers/etc/hosts
            touch "$WINDIR"/system32/drivers/etc/services
            }

            #----------------------------------------------------------------
            load_icodecs() {
            # http://downloadcenter.intel.com/Detail_Desc.aspx?strState=LIVE&ProductID=355&DwnldID=2846
            download . http://downloadmirror.intel.com/2846/eng/codinstl.exe 2c5d64f472abe3f601ce352dcca75b4f02996f8a
            try $WINE "$WINETRICKS_CACHE"/codinstl.exe
            # Work around bug in codec's installer?
            # http://support.britannica.com/other/touchthesky/win/issues/TSTUw_150.htm
            # https://appdb.winehq.org/objectManager.php?sClass=version&iId=7091
            try $WINE regsvr32 ir50_32.dll
            }

            #----------------------------------------------------------------
            load_ie6() {
            load_msls31

            # Unregister Wine IE
            try $WINE iexplore -unregserver

            # Change the override to the native so we are sure we use and register them
            override_dlls native,builtin iexplore.exe itircl itss jscript mlang mshtml msimtf shdoclc shdocvw shlwapi urlmon

            # Remove the fake dlls from the existing WINEPREFIX
            mv "$programfilesdir_unix"/"Internet Explorer"/iexplore.exe "$programfilesdir_unix"/"Internet Explorer"/iexplore.exe.bak
            for dll in itircl itss jscript mlang mshtml msimtf shdoclc shdocvw shlwapi urlmon
            do
            test -f "$WINDIR"/system32/$dll.dll &&
            mv "$WINDIR"/system32/$dll.dll "$WINDI
            1. Bonjour, merci du renseignement, j'ai enfin réussi à installer MSN.
              Mais je n'arrive pas à me connecter. J'ai le message d'erreur suivant :

              Windows Live Messenger
              Signing in to Windows Live Messenger failed because the service is temporarily unavailable. Please try again later.
              Error code: 8009000a

              Retry Cancel Help

              Comment faire pour résoudre ce problème ?
              Et s'il vous plaît, comment faire pour mettre Windows Live Messenger en français ?

              Cordialement !
              Bonne journée.
              1. as tu modifier l'option dans la config de wine?

                aller dans la config de wine et selectionnez windows 2000 a l'onglet applications.

                puis voila si on lance wlm ca fonctionne on peux s connecter..
                1. "comment mettre wlm en francais"...

                  telecharge un executable wlm en francais si t'es mauvais en anglais et refait l'install
                  1. les paquets riched30, gdiplus, msxml3, gecko, flash doivent absolument etre installés avec succes sinon ca ne marchera pas, et il faut aussi obligatoirement modifier la configuration de wine en mettant sur windows 2000 en tapant dans la console:

                    winecfg

                    a l'onglet applications, version de Windows :

                    mettre sur WIndows 2000 et appliquer puis OK
                    1. Bonjour, merci pour vos conseils.

                      J’avais réussi à installer Windows Live Messenger 8.1 en anglais, et par la suite à me connecter. Mais le voulant en français, j’ai donc désinstallé la version anglaise.
                      J’ai essayé d’installer la version française, mais quand je veux l’installer, il me met :

                      Windows Live Messenger n'a pas été installé.

                      L'installation de Windows Live Messenger a été interrompue. Aucun changement n'a été apporté. Veuillez essayer d'installer Windows Live Messenger ultérieurement.

                      Pour fermer cet Assistant, cliquez sur Terminer.

                      Merci pour vos futurs conseils !
                      Bonne journée.
                      1. OK, merci quand même.

                        A+
                        1. Open Terminal & Type

                          wget http://www.kegel.com/wine/winetricks

                          then we will use these packages of Wine Tricks to help us to Install WLM

                          corefonts
                          flash
                          gecko
                          gdiplus
                          msls31
                          msxml3
                          riched20
                          riched30
                          tahoma

                          Now Type on Terminal :

                          sh winetricks corefonts flash gecko gdiplus msls31 msxml3 riched20 riched30 tahoma

                          Now we Installed Wine Tricks That we will Use.