Installer harry-potter-and-the-order-of-retail-dvd

game:
  arch: win64
  exe: drive_c/Program Files (x86)/Electronic Arts/Harry Potter and the Order of the
    Phoenix/hp.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: ootp_icon.ico
- task:
    description: Creating Wine prefix
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    description: Installing...
    executable: $DISC/AutoRun.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    args: -c '[ "$(ls -1 "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts" |
      wc -l)" -eq 1 ]' || exit 1
    file: bash
- execute:
    args: -c '[ -d "$INSTALL_ROOT/$PRODUCT" ] || ln -s "$INSTALL_ROOT"/{*,"$PRODUCT"}'
    env:
      INSTALL_ROOT: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts
      PRODUCT: Harry Potter and the Order of the Phoenix
    file: bash
description: ''
game_slug: harry-potter-and-the-order-of-the-phoenix
gogslug: ''
humblestoreid: ''
installer_slug: harry-potter-and-the-order-of-retail-dvd
name: Harry Potter and the Order of the Phoenix
notes: ''
runner: wine
script:
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/Electronic Arts/Harry Potter and the Order of
      the Phoenix/hp.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: ootp_icon.ico
  - task:
      description: Creating Wine prefix
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      description: Installing...
      executable: $DISC/AutoRun.exe
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      args: -c '[ "$(ls -1 "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts"
        | wc -l)" -eq 1 ]' || exit 1
      file: bash
  - execute:
      args: -c '[ -d "$INSTALL_ROOT/$PRODUCT" ] || ln -s "$INSTALL_ROOT"/{*,"$PRODUCT"}'
      env:
        INSTALL_ROOT: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts
        PRODUCT: Harry Potter and the Order of the Phoenix
      file: bash
slug: harry-potter-and-the-order-of-retail-dvd
steamid: null
version: Retail, DVD
year: 2007
{
  "game_slug": "harry-potter-and-the-order-of-the-phoenix",
  "version": "Retail, DVD",
  "description": "",
  "notes": "",
  "name": "Harry Potter and the Order of the Phoenix",
  "year": 2007,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "harry-potter-and-the-order-of-retail-dvd",
  "installer_slug": "harry-potter-and-the-order-of-retail-dvd",
  "script": {
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/Electronic Arts/Harry Potter and the Order of the Phoenix/hp.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "ootp_icon.ico"
        }
      },
      {
        "task": {
          "description": "Creating Wine prefix",
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing...",
          "executable": "$DISC/AutoRun.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "args": "-c '[ \"$(ls -1 \"$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts\" | wc -l)\" -eq 1 ]' || exit 1",
          "file": "bash"
        }
      },
      {
        "execute": {
          "args": "-c '[ -d \"$INSTALL_ROOT/$PRODUCT\" ] || ln -s \"$INSTALL_ROOT\"/{*,\"$PRODUCT\"}'",
          "env": {
            "INSTALL_ROOT": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts",
            "PRODUCT": "Harry Potter and the Order of the Phoenix"
          },
          "file": "bash"
        }
      }
    ]
  }
}
Back to game