2024-08-23 20:38:28 +00:00
|
|
|
param (
|
|
|
|
$Action,
|
|
|
|
[hashtable] $Arguments
|
|
|
|
)
|
|
|
|
|
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";
|
|
|
|
|
|
|
|
& {
|
|
|
|
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;
|