Skip to content

ForceCloseAppsCountdown  #334

@hipslu

Description

@hipslu

if an installation is started with

Show-InstallationWelcome -CloseApps $apps -BlockExecution -ForceCloseAppsCountdown $WaitSeconds -CheckDiskSpace -PersistPrompt -AllowDefer -DeferTimes 3

and the $apps are not running, it will countdown to zero and then wait forever without starting at all.
fix which seems to work: changed line 6274 of AppDeployToolkitMain.ps1 from

$buttonCloseApps.PerformClick()

to

if ($script:runningProcessDescriptions) {
$buttonCloseApps.PerformClick()
} else {
$buttonContinue.PerformClick()
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions