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

25 lines
821 B
PowerShell
Raw Normal View History

2024-08-07 22:06:49 +00:00
& {
2024-09-23 01:33:17 +00:00
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
2024-08-07 22:06:49 +00:00
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
$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
);
2024-09-30 03:00:20 +00:00
Start-SoftwareInstaller @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;