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

29 lines
771 B
PowerShell
Raw Normal View History

2024-08-07 14:17:49 +00:00
param(
$Action,
[hashtable] $Arguments
)
2024-08-07 22:06:49 +00:00
$null = New-Module {
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
$softwarePath = "$PSScriptRoot/../../Software";
2024-08-07 14:17:49 +00:00
2024-08-07 22:06:49 +00:00
$appScripts = @(
"$softwarePath/TobiiGhost/Manage.ps1",
"$softwarePath/TobiiGameHub/Manage.ps1"
);
Start-SoftwareInstaller @PSBoundParameters `
-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 @PSBoundParameters;
}
} `
-UserConfigurator {
foreach ($script in $appScripts) {
. $script @PSBoundParameters;
}
};
};