Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18087] CLI: Add support for the Windows Store Package hook for Windows platform

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-06-12T14:48:34.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsTooling, Windows
Labelsn/a
ReporterChris Barber
AssigneeDawson Toth
Created2014-11-25T10:43:55.000+0000
Updated2017-03-21T22:36:32.000+0000

Description

This hook is in the cli/hooks/ws-package.js file. This hook should copy the wp-package.js hook. It simply needs to sign the app and copy it to the output directory.

Comments

  1. Dawson Toth 2015-05-27

    Do we need to create a signing certificate for them, as well?
  2. Dawson Toth 2015-05-27

    Let me be a little more precise -- we talked about creating some tooling that will guide the user through creating a signing certificate, rather than just using a hard coded cert that might use our name, etc. Is this ticket for creating that tooling, too, or is that something else?
  3. Christopher Williams 2015-05-27

    [~dtoth] This ticket should be about whatever we need to help guide the user in building a Windows Store app beyond what we do currently. From my memory the issues here are: - We need the user to create and install a certificate they will use to sign their app using a private key generated from that cert. Right now just pointing them at the Windows docs on doing that would be better than nothing, though obviously in an ideal world we'd step them through that somehow if we knew they had no cert. - We need to generate the private key from that cert and embed it in the app. It may simply be that we again point them at the docs for generating the key from the cert and then tell them to place it in their Resources directory. If we see no pfx file, that may be the trigger to point them at the docs for the cert/key generation. - We need some way for the user to specify the publisherName they used for the cert, so that we place that in the appxmanifest we generate during the build. I'm assuming a tiapp.xml property would be the right place for this? It'd be a string like "CN=Contoso Software, O=Contoso Corporation, C=US". Ideally the CLI would again help in verifying that a value exists for store builds, and possibly prompting and setting it for them if not? https://msdn.microsoft.com/en-us/library/windows/desktop/jj835832%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
  4. Dawson Toth 2015-05-27

    Sounds good. Mind if I take a stab at it, cwilliams?
  5. Christopher Williams 2015-05-27

    [~dtoth] Nope, please take it :)
  6. Christopher Williams 2015-06-10

    https://github.com/appcelerator/titanium_mobile/pull/6903
  7. Christopher Williams 2015-06-10

    https://github.com/appcelerator/titanium_mobile_windows/pull/258
  8. Lee Morris 2017-03-21

    Closing ticket as fixed.

JSON Source