Installer em-client-latest

files:
- installer: https://www.emclient.com/dist/latest/setup.msi
game:
  arch: win64
  exe: drive_c/Program Files (x86)/eM Client/MailClient.exe
  prefix: $GAMEDIR
installer:
- task:
    app: win81
    name: winetricks
- task:
    arch: win64
    install_gecko: false
    install_mono: false
    name: create_prefix
- task:
    app: corefonts
    name: winetricks
    silent: true
- execute:
    command: cd "$GAMEDIR/drive_c/windows/Fonts" && BASE="https://github.com/mrbvrz/segoe-ui/raw/master/font"
      && curl -sLo segoeui.ttf   "$BASE/segoeui.ttf"   && curl -sLo segoeuib.ttf  "$BASE/segoeuib.ttf"  &&
      curl -sLo segoeuii.ttf  "$BASE/segoeuii.ttf"  && curl -sLo segoeuiz.ttf  "$BASE/segoeuiz.ttf"  &&
      curl -sLo segoeuil.ttf  "$BASE/segoeuil.ttf"  && curl -sLo seguili.ttf   "$BASE/seguili.ttf"   &&
      curl -sLo segoeuisl.ttf "$BASE/segoeuisl.ttf" && curl -sLo seguisli.ttf  "$BASE/seguisli.ttf"  &&
      curl -sLo seguisb.ttf   "$BASE/seguisb.ttf"   && curl -sLo seguisbi.ttf  "$BASE/seguisbi.ttf"  &&
      curl -sLo seguibl.ttf   "$BASE/seguibl.ttf"   && curl -sLo seguibli.ttf  "$BASE/seguibli.ttf"  &&
      curl -sLo seguihis.ttf  "$BASE/seguihis.ttf"  && curl -sLo seguisym.ttf  "$BASE/seguisym.ttf"  &&
      curl -sLo seguiemj.ttf  "$BASE/seguiemj.ttf"
    description: Downloading Segoe UI fonts...
- task:
    key: Decorated
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    type: REG_SZ
    value: N
- task:
    key: Segoe UI (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: segoeui.ttf
- task:
    key: Segoe UI Bold (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: segoeuib.ttf
- task:
    key: Segoe UI Bold Italic (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: segoeuiz.ttf
- task:
    key: Segoe UI Light (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: segoeuil.ttf
- task:
    key: Segoe UI Light Italic (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: seguili.ttf
- task:
    key: Segoe UI Semilight (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: segoeuisl.ttf
- task:
    key: Segoe UI Semilight Italic (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: seguisli.ttf
- task:
    key: Segoe UI Semibold (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: seguisb.ttf
- task:
    key: Segoe UI Semibold Italic (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: seguisbi.ttf
- task:
    key: Segoe UI Black (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: seguibl.ttf
- task:
    key: Segoe UI Black Italic (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: seguibli.ttf
- task:
    key: Segoe UI Historic (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: seguihis.ttf
- task:
    key: Segoe UI Symbol (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: seguisym.ttf
- task:
    key: Segoe UI Emoji (TrueType)
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
    type: REG_SZ
    value: seguiemj.ttf
- task:
    args: /passive
    description: Installing eM Client... When done, uncheck 'Set eM Client as default
      application' and 'Run on Windows startup', then click Finish.
    exclude_processes: MailClient.exe
    executable: installer
    name: wineexec
wine:
  overrides:
    windows.applicationmodel: disabled
description: ''
game_slug: em-client
gogslug: ''
humblestoreid: ''
installer_slug: em-client-latest
name: eM Client
notes: Consider using UMU-Proton Wine Runner if notification text or license activation
  doesn't work. https://github.com/Open-Wine-Components/umu-proton
runner: wine
script:
  files:
  - installer: https://www.emclient.com/dist/latest/setup.msi
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/eM Client/MailClient.exe
    prefix: $GAMEDIR
  installer:
  - task:
      app: win81
      name: winetricks
  - task:
      arch: win64
      install_gecko: false
      install_mono: false
      name: create_prefix
  - task:
      app: corefonts
      name: winetricks
      silent: true
  - execute:
      command: cd "$GAMEDIR/drive_c/windows/Fonts" && BASE="https://github.com/mrbvrz/segoe-ui/raw/master/font"
        && curl -sLo segoeui.ttf   "$BASE/segoeui.ttf"   && curl -sLo segoeuib.ttf  "$BASE/segoeuib.ttf"  &&
        curl -sLo segoeuii.ttf  "$BASE/segoeuii.ttf"  && curl -sLo segoeuiz.ttf  "$BASE/segoeuiz.ttf"  &&
        curl -sLo segoeuil.ttf  "$BASE/segoeuil.ttf"  && curl -sLo seguili.ttf   "$BASE/seguili.ttf"   &&
        curl -sLo segoeuisl.ttf "$BASE/segoeuisl.ttf" && curl -sLo seguisli.ttf  "$BASE/seguisli.ttf"  &&
        curl -sLo seguisb.ttf   "$BASE/seguisb.ttf"   && curl -sLo seguisbi.ttf  "$BASE/seguisbi.ttf"  &&
        curl -sLo seguibl.ttf   "$BASE/seguibl.ttf"   && curl -sLo seguibli.ttf  "$BASE/seguibli.ttf"  &&
        curl -sLo seguihis.ttf  "$BASE/seguihis.ttf"  && curl -sLo seguisym.ttf  "$BASE/seguisym.ttf"  &&
        curl -sLo seguiemj.ttf  "$BASE/seguiemj.ttf"
      description: Downloading Segoe UI fonts...
  - task:
      key: Decorated
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
      type: REG_SZ
      value: N
  - task:
      key: Segoe UI (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: segoeui.ttf
  - task:
      key: Segoe UI Bold (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: segoeuib.ttf
  - task:
      key: Segoe UI Bold Italic (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: segoeuiz.ttf
  - task:
      key: Segoe UI Light (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: segoeuil.ttf
  - task:
      key: Segoe UI Light Italic (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: seguili.ttf
  - task:
      key: Segoe UI Semilight (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: segoeuisl.ttf
  - task:
      key: Segoe UI Semilight Italic (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: seguisli.ttf
  - task:
      key: Segoe UI Semibold (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: seguisb.ttf
  - task:
      key: Segoe UI Semibold Italic (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: seguisbi.ttf
  - task:
      key: Segoe UI Black (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: seguibl.ttf
  - task:
      key: Segoe UI Black Italic (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: seguibli.ttf
  - task:
      key: Segoe UI Historic (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: seguihis.ttf
  - task:
      key: Segoe UI Symbol (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: seguisym.ttf
  - task:
      key: Segoe UI Emoji (TrueType)
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts
      type: REG_SZ
      value: seguiemj.ttf
  - task:
      args: /passive
      description: Installing eM Client... When done, uncheck 'Set eM Client as default
        application' and 'Run on Windows startup', then click Finish.
      exclude_processes: MailClient.exe
      executable: installer
      name: wineexec
  wine:
    overrides:
      windows.applicationmodel: disabled
slug: em-client-latest
steamid: null
version: Latest
year: 2007
{
  "game_slug": "em-client",
  "version": "Latest",
  "description": "",
  "notes": "Consider using UMU-Proton Wine Runner if notification text or license activation doesn't work. https://github.com/Open-Wine-Components/umu-proton",
  "name": "eM Client",
  "year": 2007,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "em-client-latest",
  "installer_slug": "em-client-latest",
  "script": {
    "files": [
      {
        "installer": "https://www.emclient.com/dist/latest/setup.msi"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/eM Client/MailClient.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "app": "win81",
          "name": "winetricks"
        }
      },
      {
        "task": {
          "arch": "win64",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix"
        }
      },
      {
        "task": {
          "app": "corefonts",
          "name": "winetricks",
          "silent": true
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/windows/Fonts\" && BASE=\"https://github.com/mrbvrz/segoe-ui/raw/master/font\" && curl -sLo segoeui.ttf   \"$BASE/segoeui.ttf\"   && curl -sLo segoeuib.ttf  \"$BASE/segoeuib.ttf\"  && curl -sLo segoeuii.ttf  \"$BASE/segoeuii.ttf\"  && curl -sLo segoeuiz.ttf  \"$BASE/segoeuiz.ttf\"  && curl -sLo segoeuil.ttf  \"$BASE/segoeuil.ttf\"  && curl -sLo seguili.ttf   \"$BASE/seguili.ttf\"   && curl -sLo segoeuisl.ttf \"$BASE/segoeuisl.ttf\" && curl -sLo seguisli.ttf  \"$BASE/seguisli.ttf\"  && curl -sLo seguisb.ttf   \"$BASE/seguisb.ttf\"   && curl -sLo seguisbi.ttf  \"$BASE/seguisbi.ttf\"  && curl -sLo seguibl.ttf   \"$BASE/seguibl.ttf\"   && curl -sLo seguibli.ttf  \"$BASE/seguibli.ttf\"  && curl -sLo seguihis.ttf  \"$BASE/seguihis.ttf\"  && curl -sLo seguisym.ttf  \"$BASE/seguisym.ttf\"  && curl -sLo seguiemj.ttf  \"$BASE/seguiemj.ttf\"",
          "description": "Downloading Segoe UI fonts..."
        }
      },
      {
        "task": {
          "key": "Decorated",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
          "type": "REG_SZ",
          "value": "N"
        }
      },
      {
        "task": {
          "key": "Segoe UI (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "segoeui.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Bold (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "segoeuib.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Bold Italic (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "segoeuiz.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Light (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "segoeuil.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Light Italic (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "seguili.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Semilight (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "segoeuisl.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Semilight Italic (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "seguisli.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Semibold (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "seguisb.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Semibold Italic (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "seguisbi.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Black (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "seguibl.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Black Italic (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "seguibli.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Historic (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "seguihis.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Symbol (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "seguisym.ttf"
        }
      },
      {
        "task": {
          "key": "Segoe UI Emoji (TrueType)",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts",
          "type": "REG_SZ",
          "value": "seguiemj.ttf"
        }
      },
      {
        "task": {
          "args": "/passive",
          "description": "Installing eM Client... When done, uncheck 'Set eM Client as default application' and 'Run on Windows startup', then click Finish.",
          "exclude_processes": "MailClient.exe",
          "executable": "installer",
          "name": "wineexec"
        }
      }
    ],
    "wine": {
      "overrides": {
        "windows.applicationmodel": "disabled"
      }
    }
  }
}
Back to game