Show-InstallationRestartPrompt, modify default button.

Topics: Archive - General
Sep 11, 2014 at 12:11 PM
Hi,
First, thanks for creating and maintaining this excellent toolkit!

I'm deploying my first application with the toolkit and i just got feedback from e number of users that their computers reboots without notification.
Reviewing logs and performing some installations on my own i suspect that the root cause is that the default button is "Restart now" and if the dialog appears when the user press SPACE key at that exact moment then the computer will reboot and they won't even see the dialog box.

Can this be modified? Don't find any option for -defaultbutton in the module help.

Thanks /Magnus
Coordinator
Sep 15, 2014 at 12:31 PM
We'll look to add to next release, we got a second request for the same from another user.
Developer
Nov 4, 2014 at 12:15 AM
This fix has been integrated into the toolkit with the latest 3.5.0 release.