Is there a way to change the default behavior for the toolkit to defer rather than close any open apps during the initial installation attempts? We would like the first two installation attempts to default to defer after ForceCloseAppsCountdown expires rather than closing open apps. We would only like to close any open apps after the ForceCloseAppsCountdown expires once the last deferral time has been used. This is how we currently have the user interface set up:
Show-InstallationWelcome -CloseApps $apptoclose -AllowDeferCloseApps -ForceCloseAppsCountdown 3600 -BlockExecution -DeferTimes 3 -DeferDays 7 -PersistPrompt -TopMost 0 -CustomText
So to summarize this is what we’re trying to do:
- Present the user with an option to defer up to 3 times.
- The first 2 times if the user doesn’t respond to the prompt, let the tool timeout after 1 hour and default to deferral. Do not close any open programs.
- On the final deferral, if the user doesn’t respond, force closure of any open programs.