windows 8 - Add-AppDevPackage.ps1 asking for Name[0] parameter -
i created windows 8 app package following instructions at:
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
Post a Comment