#!/bin/bash param($context) . "$PSScriptRoot/../../Scripts/SoftwarePackage.ps1"; choco install -y "dotnet-6.0-desktopruntime" vcredist2013; $tempDir = $context.GetTempDirectory(); $installer = "setup.exe"; [string]$processName = $null; Push-Location $tempDir; Write-Host "Installing Tobii Eye Tracking"; Write-Host "Installing Tobii EyeX"; Install-SoftwarePackage $context "https://files.update.tech.tobii.com/Tobii_Eye_Tracking_Core_v2.16.8.214_x86.exe"; Write-Host "Installing Tobii Ghost"; $processName = "TobiiGhost.exe"; Write-Information "Downloading Tobii Ghost installer"; Invoke-WebRequest "https://files.update.oem.tobii.com/Ghost/TobiiGhost.1.14.1-Setup.exe" -OutFile $installer; Write-Information "Running Tobii Ghost installer"; Start-Process -Wait -FilePath "$PSScriptRoot/Ghost.au3"; Write-Host "Installing Tobii Game Hub"; Install-SoftwarePackage $context "https://files.update.oem.tobii.com/GameHub/TobiiGameHub.3.0.1-Setup.exe"; Pop-Location; Remove-Item -Recurse $tempDir;