25 lines
819 B
PowerShell
25 lines
819 B
PowerShell
& {
|
|
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
|
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
|
$softwarePath = "$PSScriptRoot/../../Software";
|
|
|
|
$appScripts = @(
|
|
"$softwarePath/TobiiGhost/Main.ps1",
|
|
"$softwarePath/TobiiGameHub/Main.ps1"
|
|
);
|
|
|
|
Start-SoftwareInstaller @args `
|
|
-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;
|
|
}
|
|
};
|
|
} @args;
|