PortValhalla/scripts/Windows/Software/aliae/Main.ps1

19 lines
628 B
PowerShell
Raw Normal View History

2024-09-23 01:33:17 +00:00
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
2024-08-23 20:38:28 +00:00
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
& {
$base = "$PSScriptRoot/../../../Common/Software/aliae/Main.ps1";
2024-09-30 03:00:20 +00:00
Start-SoftwareInstaller @args `
2024-08-23 20:38:28 +00:00
-Installer {
2024-10-06 19:25:34 +00:00
Install-WingetPackage JanDeDobbeleer.Aliae -ArgumentList "--scope", "machine";
2024-08-23 20:38:28 +00:00
} `
-Configurator {
2024-09-30 03:00:20 +00:00
. $base -Action ([InstallerAction]::Configure) @args;
2024-08-23 20:38:28 +00:00
} `
-UserConfigurator {
2024-09-30 03:00:20 +00:00
. $base -Action ([InstallerAction]::ConfigureUser) @args;
2024-08-23 20:38:28 +00:00
};
2024-09-30 03:00:20 +00:00
} @args;