将自签名XAP部署到Windows Phone 8 [英] Deploy self signed XAP to windows phone 8

查看:130
本文介绍了将自签名XAP部署到Windows Phone 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们为WP8开发了一个应用程序,并希望通过下载URL将其分发到XAP文件。我们已经采取的步骤:

we developed an app for WP8 and wanted to distribute it internally via a download URL to the XAP file. Steps we have taken so far:


  1. 使用Makecert.exe生成一个自签名XXX.cer与XXX.pvk )

  2. 使用Pvk2Pfx.exe创建包含私钥(带密码)的pfx文件

  3. 使用XapSignTool.exe签署我们的XXX_Release .xap

我们还将XXX.cer部署到手机设备,但我们仍然收到错误无法安装公司应用程序 。

We also deployed the XXX.cer to the phone device but we still get the error "Can't install company app".

之后,我们尝试使用AintGenerator.exe(不是100%确定,如果我们确实需要这样做)从输出XXX.pfx生成应用程序注册令牌(AET)退出时出现错误:

After that we tried to generate a Application enrollment token (AET) with AetGenerator.exe (not 100% sure if we do need this) from out XXX.pfx which exits with an error:


生成AET时出现未知错误startIndex不能大于
字符串长度。参数名称:startIndex

Unknown error while generating AET startIndex cannot be larger than length of string. Parameter name: startIndex

任何想法我们在做什么错误或建议什么是分发应用程序的方式?只有我们从赛门铁克获得证书才可能?

Any ideas what we are doing wrong or suggestions what would be the way to distribute an app like that? Is it only possible if we have obtained a certificate from Symantec?

谢谢!

通过MS文档和AETGenerator的PFX参数,它指出:

PS: I just browsed throught the MS Documentation and for the PFX parameter of the AETGenerator it states:


必需。从Symantec提供的企业移动代码签名证书生成的PFX文件的名称。

Required. The name of the PFX file generated from the enterprise mobile code-signing certificate provided by Symantec.

$ 299 /年证书是必需的。这是正确的假设吗?

So most probably it seems that a Symantec $299/year certificate is required. Would this be the correct assumption?

推荐答案

您可以使用pfx工具上的最新文档之后生成的任何自签名pfx来签名代码。

It was indeed as it seemed. You can sign you code with any self signed pfx generated after the latest documentation on the pfx tool.

无法部署应用没有公司帐户。这包括支付299美元,并通过赛门铁克的认证流程。

It is not possible to deploy an App without a company account. This involves paying the $299 and going through the certification process by Symantec.

这篇关于将自签名XAP部署到Windows Phone 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆