cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dase...@apache.org
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 GMT
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 <v-seshak@microsoft.com>
Authored: Wed Jan 11 12:52:53 2017 +0300
Committer: daserge <v-seshak@microsoft.com>
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
+<widget windows-packageVersion="2.0.0" ...> <!-- windows-packageVersion overrides
version -->
+<preference name="WindowsStoreIdentityName" value="12345FakeCorp.CoolApp"/> <!--
WindowsStoreIdentityName overrides widget.id -->
+```
+
+*PublisherDisplayName* and *DisplayName* can also be overriden:
+
+```xml
+<preference name="WindowsStorePublisherName" value="FakeCorp"/> <!-- WindowsStorePublisherName
overrides author -->
+<preference name="WindowsStoreDisplayName" value="CoolApp"/> <!-- WindowsStorePublisherName
overrides name -->
+```
+
 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


Mime
View raw message