Show-InstallationWelcome red X to cancel not working

//Show-InstallationWelcome red X to cancel not working
Show-InstallationWelcome red X to cancel not working 2017-01-02T22:19:10+00:00

The Toolkit Forums General Show-InstallationWelcome red X to cancel not working

  • Author
    Posts
  • Shaun
    Participant
    Post count: 3

    In all of my packages when the Show-InstallationWelcome message box appears, clicking the red X in the top right corner of the window does not close the installation sequence. It is behaving as though the -PersistPromt attribute is enabled but it is not enabled. I even tried -PersistPrompt:$false but it didn’t help.

    How do I enable the red X to close the installation window without having to click install and running through the whole script?

  • Shaun
    Participant
    Post count: 3

    Sorry that should read the Show-InstallationPrompt message box.

  • Seán Lillis
    Keymaster
    Post count: 16

    Hi Shaun,

    This is disabled by design to prevent users from exiting the prompt without choosing a relevant installation response.

    The PersistPrompt parameter forces the window to return to focus/center in case the user tries to move it off screen.

    Sean

    • Shaun
      Participant
      Post count: 3

      Ok that makes sense. Thanks for the reply.

You must be logged in to reply to this topic.