PortValhalla/scripts/Windows/Drivers/Tobii EyeX/Install.ps1

31 lines
1.1 KiB
PowerShell
Raw Normal View History

2023-07-15 19:37:52 +00:00
#!/bin/bash
param($context)
. "$PSScriptRoot/../../Scripts/SoftwarePackage.ps1";
2023-07-16 23:46:29 +00:00
choco install -y "dotnet-6.0-desktopruntime" vcredist2013;
2023-07-16 23:41:23 +00:00
$tempDir = $context.GetTempDirectory();
$installer = "setup.exe";
Push-Location $tempDir;
2023-07-16 21:23:27 +00:00
Write-Host "Installing Tobii Eye Tracking";
Write-Host "Installing Tobii EyeX";
2023-07-15 19:37:52 +00:00
Install-SoftwarePackage $context "https://files.update.tech.tobii.com/Tobii_Eye_Tracking_Core_v2.16.8.214_x86.exe";
2023-07-16 21:23:27 +00:00
Write-Host "Installing Tobii Ghost";
2023-07-16 23:41:23 +00:00
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";
2023-07-16 23:53:23 +00:00
Start-Process -Wait -FilePath "$PSScriptRoot/Ghost.ahk";
2023-07-16 21:23:27 +00:00
Write-Host "Installing Tobii Game Hub";
2023-07-16 23:53:36 +00:00
Write-Information "Downloading Tobii Game Hub installer";
Invoke-WebRequest "https://files.update.oem.tobii.com/GameHub/TobiiGameHub.3.0.1-Setup.exe" -OutFile $installer;
Write-Information "Running Tobii Game Hub installer";
Start-Process -Wait -FilePath "$PSScriptRoot/GameHub.ahk";
2023-07-16 23:41:23 +00:00
Pop-Location;
Remove-Item -Recurse $tempDir;