Hi Sean,
I was able to add a parameter (ForceCloseAppsCountdown) and that only required to change 4 lines in the main toolkit code. No UI modification was necessary because the toolkit automatically fits everything accordingly. This is what I did with version 3.2.0:
Added the following parameter to the function Show-InstallationWelcome:
Regards,
Anderson Cassimiro
I was able to add a parameter (ForceCloseAppsCountdown) and that only required to change 4 lines in the main toolkit code. No UI modification was necessary because the toolkit automatically fits everything accordingly. This is what I did with version 3.2.0:
Added the following parameter to the function Show-InstallationWelcome:
[switch] $ForceCloseAppsCountdown = $false
Changed line 2859 from:$promptResult = Show-WelcomePrompt -ProcessDescriptions $runningProcessDescriptions -CloseAppsCountdown $closeAppsCountdownGlobal -PersistPrompt $PersistPrompt -AllowDefer -DeferTimes $deferTimes -DeferDeadline $deferDeadlineUniversal -MinimizeWindows $minimizeWindows
To:$promptResult = Show-WelcomePrompt -ProcessDescriptions $runningProcessDescriptions -CloseAppsCountdown $closeAppsCountdownGlobal -PersistPrompt $PersistPrompt -AllowDefer -DeferTimes $deferTimes -DeferDeadline $deferDeadlineUniversal -MinimizeWindows $minimizeWindows -ForceCloseAppsCountdown $ForceCloseAppsCountdown
Changed line 3033 from:If ($showDefer -ne $true) {
To:If ($showDefer -ne $true -or $ForceCloseAppsCountdown -ne $false) {
Changed line 3288 from:ElseIf ($showCountdown -eq $true) {
To:If ($showCountdown -eq $true) {
Do you think that it would be possible to include that in the next versions of the toolkit?Regards,
Anderson Cassimiro