Configure software implicitly
This commit is contained in:
parent
39600c813f
commit
1f20af3bc5
17 changed files with 6 additions and 96 deletions
scripts/Common/Software/PowerShell
|
@ -8,13 +8,6 @@ param (
|
|||
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
||||
|
||||
Start-SoftwareInstaller @PSBoundParameters `
|
||||
-Installer {
|
||||
param(
|
||||
[scriptblock] $Installer
|
||||
)
|
||||
|
||||
& $Installer -Action ([InstallerAction]::Configure);
|
||||
} `
|
||||
-Configurator {
|
||||
[string] $globalDir = $null;
|
||||
$indicator = "# Profile Files";
|
||||
|
|
|
@ -30,7 +30,6 @@ $null = New-Module {
|
|||
};
|
||||
installer = {
|
||||
param(
|
||||
[scriptblock] $Installer,
|
||||
[hashtable] $Arguments
|
||||
)
|
||||
|
||||
|
@ -46,7 +45,6 @@ $null = New-Module {
|
|||
}
|
||||
|
||||
Remove-Item Env:\PENDING_MODULE_NAME;
|
||||
& $Installer -Action ([InstallerAction]::Configure) @PSBoundParameters;
|
||||
};
|
||||
|
||||
configurator = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue