Show-InstallationWelcome CloseApp / Countdown issue

I have been encountering some issues with the countdown timers, my objective is to display the welcome message with a timer to allow the user to defer the installations or continue the installation along with closing the running applications.

The problem I am encountering is that the count down reaches 0 and disappears but will flash for a split second and disappear again over and over until I kill the PowerShell process. Thus halting the deployment and eventually reporting back to SCCM as failed.

Show-InstallationWelcome -CloseApps ‘CPNClientTransfer,CPNClientUpgrade,CPNServiceEvent,cmd’ -AllowDefer -DeferTimes 3 -CheckDiskSpace -PersistPrompt -ForceCountdown 60

I have also attempted to change the switch to -ForceCloseAppsCountdown, however when the timer reaches 0, it does not auto continue if none of the processes are currently running but if the processes are running it will close the running apps and continue with the installation.

Show-InstallationWelcome -CloseApps ‘CPNClientTransfer,CPNClientUpgrade,CPNServiceEvent,cmd’ -AllowDefer -DeferTimes 3 -CheckDiskSpace -PersistPrompt -ForceCloseAppsCountdown 60

If I use both switches (-ForceCloseAppsCountdown 60 -ForceCountdown 60), it will do the same just stop at 0 and not continue if none of the processes are running.

Show-InstallationWelcome -CloseApps ‘CPNClientTransfer,CPNClientUpgrade,CPNServiceEvent,cmd’ -AllowDefer -DeferTimes 3 -CheckDiskSpace -PersistPrompt -ForceCloseAppsCountdown 60 -ForceCountdown 60

I need the Show-InstallationWelcome message to appear, prompt the user to defer or continue and close the running app’s before continuing with the installation or auto continue if no one is present or does not respond to the prompts. Those are my requirements for this software deployment.

Hey buddy,

Have you tried disabling DynamicRunningProcessEvaluation ? It is in XML.

Changed it’s value to False and try.

  • Peace.

I made the change suggested, however, that had no effect on the behavior/issue. Any other ideas?


using the latest toolkit…
If you use the following…

I would expect the beaviour to…
give users option to “defer” = installation stops until rerun
give users option to “continue” = check for process that needs to be closed and reask user to close if still open ( untill the 60 second timer kicks in )
give users option to “close apps” = closes apps you want closed, then start installation ( until the 60 second timer kicks in )

If user dosnt click anything = closes apps afer 60 seconds and the app should install.
If the above behaviour isnt working then i would do the following…

Ensure the install works without any closeapps etc first
then add your closeapps etc again…

if still not working as expected…
Re-download the toolkit files and try again.

An issue was created on Github for this:
This issue has been resolved.
Download the latest sources from Github: