{
  "installer": {
    "product": {
      "guid": "{521c89be-637f-4274-a840-baaf7460c2b2}",
      "name": "{brand} G HUB",
      "icon": "{frontend_root}/lghub.exe",
      "publisher": "{brand}",
      "linkAbout": "http://www.logitechg.com",
      "linkHelp": "http://support.logitech.com"
    },
    "shortcuts": [
      {
        "name": "{brand} G HUB",
        "path": "{backend_root}/system_tray/lghub_system_tray.exe",
        "onStartMenu": true,
        "onDesktop": true
      }
    ],
    "installer": {
      "executable": "{depot}/LGHUB/lghub_updater.exe",
      "arguments": [
        "--install"
      ]
    },
    "updater": {
      "executable": "{depot}/LGHUB/lghub_software_manager.exe",
      "arguments": [
        "--update",
        "--log"
      ]
    },
    "uninstaller": {
      "executable": "{updater_root}/lghub_updater.exe",
      "arguments": [
        "--uninstall"
      ]
    },
    "userRepair": {
      "executable": "{backend_root}/lghub_software_manager.exe",
      "arguments": [
        "--repair"
      ]
    },
    "userUninstaller": {
      "executable": "{backend_root}/lghub_software_manager.exe"
    },
    "processControl": {
      "identifiers": [
        "lghub_system_tray",
        "lghub",
        "lghub_installer",
        "lghub_agent"
      ]
    },
    "will_connect_to_lus_ipc": {
      "identifier": "lghub_updater",
      "within_seconds": 300
    },
    "launchables": [
      {
        "service": "LGHUBUpdaterService",
        "displayName": "LGHUB Updater Service",
        "command": {
          "executable": "{updater_root}/lghub_updater.exe",
          "arguments": [
            "--run-as-service"
          ]
        },
        "conditionalMask": "ANY_INSTALL_UPDATE_RESTART",
        "type": "SYSTEM_SERVICE"
      },
      {
        "service": "LGHUB",
        "command": {
          "executable": "{backend_root}/system_tray/lghub_system_tray.exe",
          "arguments": [
            "--minimized"
          ]
        },
        "asConsoleUser": true,
        "conditionalMask": "ANY_INSTALL_UPDATE_RESTART",
        "type": "USER_SERVICE"
      },
      {
        "command": {
          "executable": "{backend_root}/system_tray/lghub_system_tray.exe"
        },
        "asConsoleUser": true,
        "conditionalMask": "ANY_INSTALL_UPDATE_RESTART",
        "type": "FRONTEND"
      }
    ],
    "files": [
      {
        "source": "LGHUB",
        "destination": "{install_root}"
      },
      {
        "source": "sdks/trueforce_sdk_x86.dll",
        "destination": "{backend_root}",
        "registerLibrary": true
      },
      {
        "source": "sdks/trueforce_sdk_x64.dll",
        "destination": "{backend_root}",
        "registerLibrary": true
      },
      {
        "source": "sdks/sdk_legacy_led_x86.dll",
        "destination": "{backend_root}",
        "registerLibrary": true
      },
      {
        "source": "sdks/sdk_legacy_led_x64.dll",
        "destination": "{backend_root}",
        "registerLibrary": true
      }
    ]
  }
}
