19 lines
628 B
PowerShell
19 lines
628 B
PowerShell
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
|
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
|
|
|
& {
|
|
$base = "$PSScriptRoot/../../../Common/Software/aliae/Main.ps1";
|
|
|
|
Start-SoftwareInstaller @args `
|
|
-Installer {
|
|
Install-WingetPackage JanDeDobbeleer.Aliae -ArgumentList "--scope", "machine";
|
|
} `
|
|
-Configurator {
|
|
. $base -Action ([InstallerAction]::Configure) @args;
|
|
} `
|
|
-UserConfigurator {
|
|
. $base -Action ([InstallerAction]::ConfigureUser) @args;
|
|
};
|
|
} @args;
|