V4.0.5 - Show-ADTInstallationRestartPrompt - can it be configured to show two buttons?

Hello,

I’ve started using 4.0.5 script recently and got a question regarding Show-ADTInstallationRestartPrompt - can it be configured to show two buttons? One to do the restart and second to not do it right now?

Thank you for all the suggestions

You could possibly use the Show-ADTInstallationPrompt function:

However, I personally would notify the user in advance of any install taking place via a Show-ADTInstallationWelcome:

as you can give the user a little bit of control over when they choose to install the software by your choice of using the deferal option. Then when they get to the end of the install the restart is not a surprise and less disruptive. (Some software Needs a restart when the install has completed, so delaying it is not optional)

2 Likes

You are right, Show-ADTInstallationPrompt should be enough for my needs, thank you!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.