cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7144) Windows8 run fails if replace default certificate
Date Mon, 21 Jul 2014 19:42:39 GMT

    [ https://issues.apache.org/jira/browse/CB-7144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069121#comment-14069121
] 

ASF subversion and git services commented on CB-7144:
-----------------------------------------------------

Commit dabf44423d1aecbc927578283a7c23f0c1ccaba5 in cordova-windows's branch refs/heads/master
from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=dabf444 ]

CB-7144 Windows8 run fails if replace default certificate


> Windows8 run fails if replace default certificate
> -------------------------------------------------
>
>                 Key: CB-7144
>                 URL: https://issues.apache.org/jira/browse/CB-7144
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows 8
>            Reporter: Sergey Grebnov
>            Assignee: Jesse MacFadyen
>
> This occurs in the following situations:
> 1.	User has replaced his original certificate (.pfx) with another one, or changed his
certificate inside Visual Studio. Cordova script incorrectly handles this situation so runs
.ps file with ‘–force’ parameter (since we test for Developer license only). 
> 2.	(unlikely) Publisher certificate was removed from  local certificates’ store (manually
or automatically).
> 3.	(unlikely) Some error occurred during first launch of ‘cordova run windows8’ on
clean machine, so Developer license was acquired but no publisher certificate was installed.
> In all situations above 'cordova run windows8' will fail with the following error
> Before installing this app, you need to do the following:
>         - Install the signing certificate
> You must provide administrator credentials to proceed.  Please run this script
> ithout the -Force parameter or from an elevated PowerShell window.
> powershell -ExecutionPolicy RemoteSigned ". .\\cordova\lib\WindowsStoreAppUtils
> ps1; Start-Locally 'io.cordova.hellocordova'"
> ActivateApplication:  !
> Get-AppxPackageManifest : Cannot validate argument on parameter 'Package'. The
> argument is null or empty. Provide an argument that is not null or empty, and
> then try the command again.
> At C:\Users\clantz\Documents\cordova\win8run\platforms\windows8\cordova\lib\Win
> dowsStoreAppUtils.ps1:108 char:41
> +     $manifest = Get-appxpackagemanifest $package
> +                                         ~~~~~~~~
>     + CategoryInfo          : InvalidData: (:) [Get-AppxPackageManifest], Para
>    meterBindingValidationException
>     + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Windo
>    ws.Appx.PackageManager.Commands.GetAppxPackageManifestCommand
> Exception calling "ActivateApplication" with "4" argument(s): "Value does not
> fall within the expected range."
> At C:\Users\clantz\Documents\cordova\win8run\platforms\windows8\cordova\lib\Win
> dowsStoreAppUtils.ps1:115 char:5
> +
> $appActivator.ActivateApplication($applicationUserModelId,$null,[StoreAppRun
> ...
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~
>     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
>     + FullyQualifiedErrorId : ArgumentException
> Error: C:\Users\clantz\Documents\cordova\win8run\platforms\windows8\cordova\run
> bat: Command failed with exit code 2
>     at ChildProcess.whenDone (C:\Users\clantz\AppData\Roaming\npm\node_modules\
> ordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
>     at ChildProcess.EventEmitter.emit (events.js:98:17)
>     at maybeClose (child_process.js:735:16)
>     at Process.ChildProcess._handle.onexit (child_process.js:802:5)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message