24 lines
674 B
PowerShell
24 lines
674 B
PowerShell
param (
|
|
$Action,
|
|
[hashtable] $Arguments
|
|
)
|
|
|
|
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
|
|
. "$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;
|