Add scripts for installing Tobii apps
This commit is contained in:
parent
e3b616200f
commit
5d0c332ab5
3 changed files with 74 additions and 5 deletions
scripts/Windows/Drivers/Tobii EyeX
|
@ -3,9 +3,28 @@ param(
|
|||
[hashtable] $Arguments
|
||||
)
|
||||
|
||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
||||
& {
|
||||
param($parameters);
|
||||
|
||||
Start-SoftwareInstaller @PSBoundParameters `
|
||||
-Installer {
|
||||
Install-SetupPackage -Source "https://files.update.tech.tobii.com/Tobii_Eye_Tracking_Core_v2.16.8.214_x86.exe";
|
||||
};
|
||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
||||
$softwarePath = "$PSScriptRoot/../../Software";
|
||||
|
||||
$appScripts = @(
|
||||
"$softwarePath/TobiiGhost/Manage.ps1",
|
||||
"$softwarePath/TobiiGameHub/Manage.ps1"
|
||||
);
|
||||
|
||||
Start-SoftwareInstaller @parameters `
|
||||
-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;
|
||||
}
|
||||
};
|
||||
} $PSBoundParameters;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue