I really like this wrapper. I have a small issue I haven’t been able to figure out.
Ideally, I want to give my users the ability to defer at the inital prompt, but once they continue they should not have a defer option to close open apps, just a countdown.
As it executes now, the open apps check launches first, and then the intro screen about ‘The following application is about to be installed’. Is there any way to have the welcome screen show first, and then do the -CloseApps check after?
I’ve tried messing around with the order of the parameters but it doesn’t seem to matter.
Well I think I figured it out on my own. I added a second line of Show-InstllationWelcome after the first.
I removed any CloseApps references from the first instance, and put them all in the second.
This seems to give the correct behavior. The only issue now is that the countdown does not work. Not sure if it’s getting confused because I’ve done a Show-InstallationWelcome call back to back.