Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5CB1E200C00 for ; Wed, 18 Jan 2017 12:02:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5B38B160B44; Wed, 18 Jan 2017 11:02:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A3095160B3A for ; Wed, 18 Jan 2017 12:02:49 +0100 (CET) Received: (qmail 52352 invoked by uid 500); 18 Jan 2017 11:02:48 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 52343 invoked by uid 99); 18 Jan 2017 11:02:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2017 11:02:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9AF2EDFA85; Wed, 18 Jan 2017 11:02:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: daserge@apache.org To: commits@cordova.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: docs commit: CB-8486 Corrected the docs on signing Certificate Thumbprint was being extracted from wrong path Documented WindowsStoreIdentityName, WindowsStorePublisherName, WindowsStoreDisplayName and windows-packageVersion Date: Wed, 18 Jan 2017 11:02:48 +0000 (UTC) archived-at: Wed, 18 Jan 2017 11:02:50 -0000 Repository: cordova-docs Updated Branches: refs/heads/master 1a99ca2aa -> 4018342d3 CB-8486 Corrected the docs on signing Certificate Thumbprint was being extracted from wrong path Documented WindowsStoreIdentityName, WindowsStorePublisherName, WindowsStoreDisplayName and windows-packageVersion Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/4018342d Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/4018342d Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/4018342d Branch: refs/heads/master Commit: 4018342d36c2bea2a860d9e699ce536972a35ec9 Parents: 1a99ca2 Author: daserge Authored: Wed Jan 11 12:52:53 2017 +0300 Committer: daserge Committed: Wed Jan 11 14:34:51 2017 +0300 ---------------------------------------------------------------------- www/docs/en/dev/guide/platforms/win8/index.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/4018342d/www/docs/en/dev/guide/platforms/win8/index.md ---------------------------------------------------------------------- diff --git a/www/docs/en/dev/guide/platforms/win8/index.md b/www/docs/en/dev/guide/platforms/win8/index.md index 030749c..d053081 100644 --- a/www/docs/en/dev/guide/platforms/win8/index.md +++ b/www/docs/en/dev/guide/platforms/win8/index.md @@ -235,6 +235,20 @@ In Windows project, identity details are kept in a file named package.appxmanife ![]({{ site.baseurl }}/static/img/guide/platforms/win8/packaging.png) +*Name* and *Version* can also be set as platform-specific preferences in **config.xml** in the following way: + +```xml + + +``` + +*PublisherDisplayName* and *DisplayName* can also be overriden: + +```xml + + +``` + A signing certificate can be provided from either CLI or through build.json file. The certificate related CLI flags are: | Parameter | Flag | Description @@ -244,7 +258,7 @@ A signing certificate can be provided from either CLI or through build.json file Example: ``` -cordova build -- --packageCertificateKeyFile="platforms\windows\CordovaApp_TemporaryKey.pfx" --packageThumbprint="ABCABCABCABC123123123123"` +cordova build -- --packageCertificateKeyFile="platforms\windows\CordovaApp_TemporaryKey.pfx" --packageThumbprint="ABCABCABCABC123123123123" ``` Alternatively, these values could be specified using a build configuration file (build.json) using CLI (--buildConfig). A sample build configuration file: @@ -282,7 +296,7 @@ Where: Once installed, next step is to add packageThumbprint and packageCertificateKeyFile to build.json. In order to find the packageThumbprint, search for the CommonName you've associated with the certificate: ```powershell -powershell -Command " & {dir -path cert:\LocalMachine\My | where { $_.Subject -like \"*FakeCorp.com*\" }}" +powershell -Command " & {dir -path cert:\CurrentUser\My | where { $_.Subject -like \"*FakeCorp.com*\" }}" ``` Once these final values are provided. Cordova should successfully package and sign the app. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org