Press Any Key @ end of silent uninstall

//Press Any Key @ end of silent uninstall
Press Any Key @ end of silent uninstall 2017-11-22T16:47:20+00:00

The Toolkit Forums General Press Any Key @ end of silent uninstall

  • Author
    Posts
  • Randy
    Participant
    Post count: 1

    I have an application I am trying to uninstall. Before I can install the new version.

    For some odd reason, the vendor makes you “press any key” to finish the uninstall of the application. (They have provided the silent uninstall commands, but not really silent.

    Is there any way for a key to be pressed to finish the uninstall in the powershell script?

  • Jim
    Participant
    Post count: 54

    Have you tried using the Send-Keys function?

    Send-Keys -WindowTitle 'foobar - Notepad' -Key 'Hello world'

    You may need to use Get-WindowTitle to find the Window title first…

You must be logged in to reply to this topic.