How to get rid of that "Press Enter key to continue.." message when installing appx from command line

    General discussion

  • Hi There,

    If i type following command on my command prompt, "powershell .\Add-AppDevPackage.ps1", it installs the app on my local machine.

    In command prompt I see a message: "Press Enter key to continue..". When I press enter then only the package gets install, and i can see the app tile on my applications page.

    Is there a way, I can get rid of that "Press Enter key to continue.." message, when installing package from command line?

    Any help is appreciated..

    Thanks, Viral Brahmbhatt

    Tuesday, August 28, 2012 2:49 PM

All replies

  • I have make it working at my own. There is no more "Press Enter Key to Continue..." message on command line now..

    Thanks, Viral Brahmbhatt

    Wednesday, August 29, 2012 11:46 AM
  • Hi,

    maybe you can post your solution?




    Wednesday, October 31, 2012 10:20 AM
  • Michael,

    In Add-AppDevPackage.ps1 file, search for [switch]$Force = $false, and change the value to $true.

    That's it !

    Thanks, Viral Brahmbhatt

    Thursday, November 1, 2012 10:59 AM