windows 8 - Add-AppDevPackage.ps1 asking for Name[0] parameter -


i created windows 8 app package following instructions at:

http://blogs.msdn.com/b/patricka/archive/2012/11/05/how-do-i-deploy-a-windows-8-app-to-another-device-for-testing.aspx

however, when run add-appdevpackage.ps1 on hp stream 7, administrator:

.\add-appdevpackage.ps1

i being asked parameter value:

name[0]:

i enter such "test", prompt:

name[1]:

then press enter. error:

cannot overwrite variable false because read-only or constant. @ c:\temp1234\apppackages\app3_1.0.0.0_anycpu_debug_test\add-appdevpackage.ps1:30 char:36 + [switch]$getdeveloperlicense = $false, + categoryinfo :writeerror (false:string) [], sessionstateunauthorizedaccessexception +fullyqualifiederrorid : variablenotwriteable  found package:  c:\temp1234\apppackages\app3_1.0.0.0_anycpu_debug_test\app3_1.0.0.0_anycpu_debug.appx found certificate: c:\temp1234\apppackages\app3_1.0.0.0_anycpu_debug_test\app3_1.0.0.0_anycpu_debug.cer  before installing app, need following:  - acquire developer license  - install signing certificate error: not acquire developer license.  more information, see http://go.microsoft.com/fwlink/?li.. press enter continue...: 

my question asking when prompts name[0] ?

thanks

i cant believe no 1 microsoft caught one! after wrestling days, figured problem. when created apppackage, had "debug" selected dropdown in visual studio 2013. selected "release", recreated package, rolled out folder on hp stream again , right clicked on ps1 file, chose "run powershell" , smooth after that. certificate , app installed fine , did not prompt asking name parameter.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -