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

25 lines
813 B
PowerShell
Raw Normal View History

2024-08-07 22:06:49 +00:00
& {
2024-11-01 12:12:16 +00:00
. "$PSScriptRoot/../../lib/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../lib/Software.ps1";
2024-08-07 22:06:49 +00:00
$softwarePath = "$PSScriptRoot/../../Software";
$appScripts = @(
2024-10-13 13:35:24 +00:00
"$softwarePath/tobii-ghost/Main.ps1",
"$softwarePath/tobii-gamehub/Main.ps1"
2024-08-07 22:06:49 +00:00
);
Start-SoftwareInstaller -Force @args `
2024-08-07 22:06:49 +00:00
-Installer {
Install-SetupPackage -Source "https://files.update.tech.tobii.com/Tobii_Eye_Tracking_Core_v2.16.8.214_x86.exe";
foreach ($script in $appScripts) {
. $script -Action ([InstallerAction]::Install) @parameters;
}
} `
-UserConfigurator {
foreach ($script in $appScripts) {
. $script -Action ([InstallerAction]::ConfigureUser) @parameters;
}
};
2024-09-30 03:00:20 +00:00
} @args;