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