22 lines
542 B
PowerShell
22 lines
542 B
PowerShell
|
param (
|
||
|
$Action,
|
||
|
[hashtable] $Arguments
|
||
|
)
|
||
|
|
||
|
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
||
|
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
||
|
|
||
|
Start-SoftwareInstaller @PSBoundParameters `
|
||
|
-Installer {
|
||
|
param(
|
||
|
[scriptblock] $Installer
|
||
|
)
|
||
|
|
||
|
& $Installer -Action ([InstallerAction]::Configure);
|
||
|
} `
|
||
|
-Configurator {
|
||
|
. "$PSScriptRoot/../../../Common/Software/PowerShell/Manage.ps1" `
|
||
|
-Action ([InstallerAction]::Configure) `
|
||
|
-Arguments @{ Linux = $false };
|
||
|
};
|