24 lines
618 B
PowerShell
24 lines
618 B
PowerShell
|
param (
|
||
|
$Action,
|
||
|
[hashtable] $Arguments
|
||
|
)
|
||
|
|
||
|
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
||
|
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
||
|
|
||
|
& {
|
||
|
param($Parameters)
|
||
|
$base = "$PSScriptRoot/../../../Common/Software/aliae/Main.ps1";
|
||
|
|
||
|
Start-SoftwareInstaller @Parameters `
|
||
|
-Installer {
|
||
|
Install-WingetPackage JanDeDobbeleer.Aliae;
|
||
|
} `
|
||
|
-Configurator {
|
||
|
. $base -Action ([InstallerAction]::Configure);
|
||
|
} `
|
||
|
-UserConfigurator {
|
||
|
. $base -Action ([InstallerAction]::ConfigureUser);
|
||
|
};
|
||
|
} $PSBoundParameters;
|