Give logged on user a choice
Has anyone come up with a solution to give the logged on user a choice whether or not to accept the deployment?
I have some large deployments and want to give the user a choice, to wait for the deployment or postpone it, or just cancel it.
-
You can use a PowerShell step like this:
- exit (new-object -ComObject wscript.shell).Popup("Do you want to install the package?",120,"Package Install?",36)
See here for more options: https://ss64.com/vb/popup.html
Set the success code to 6 for a "Yes", have the step run as the logged user and choose to stop with success or stop with an error.
-
See my post here:
-
Will try this as well.
Please sign in to leave a comment.
Comments
4 comments