Allow running further installer actions within an installer
This commit is contained in:
parent
5ba6a48eac
commit
b1544a6a60
2 changed files with 20 additions and 8 deletions
scripts/Windows/Software/Windows
|
@ -12,6 +12,13 @@ param(
|
|||
. "$PSScriptRoot/../../Types/InstallerAction.ps1";
|
||||
|
||||
Start-SoftwareInstaller @PSBoundParameters `
|
||||
-Installer {
|
||||
param(
|
||||
[scriptblock] $Installer
|
||||
)
|
||||
|
||||
& $Installer -Action ([InstallerAction]::Configure)
|
||||
} `
|
||||
-Configurator {
|
||||
$dir = New-TemporaryDirectory;
|
||||
Push-Location $dir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue