无法在Windows Phone 8上安装公司应用 [英] Cannot install company app on windows phone 8

查看:154
本文介绍了无法在Windows Phone 8上安装公司应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在为Windows Phone 8开发公司应用程序.

We are developing a company app for windows phone 8.

我已按照公司应用中所述的每个步骤进行操作Windows Phone的发行版

这是我所做的:

  • 注册的公司帐户
  • 从Symantec购买了企业证书.
  • 使用私钥导出的PFX文件
  • 从PFX生成的注册令牌(AETX文件).
  • 开发的应用程序,使用Visual Studio构建并获取xap文件 生成的. (将其命名为App.xap)
  • 预编译托管程序集,并使用证书对其进行签名 BuildMDILXap.ps1 powershell脚本. (所有消息均表示成功).
  • 在我们的Web服务器上托管了AETX并签名了XAP文件.
  • Registered company account
  • Bought an enterprise certificate from Symantec.
  • Exported PFX file with private key
  • Generated Enrollment Token (AETX file) from PFX.
  • Developed application, built with visual studio and get xap file generated. (Name it App.xap)
  • Precompiled managed assemblies and Signed it with certificate using BuildMDILXap.ps1 powershell script. (All messages indicated success).
  • Hosted AETX and signed XAP file on our web server.

这时,当wp8手机尝试不首先安装AETX而下载XAP文件时,手机会给出正确的错误消息:在安装此应用之前,您需要添加XXXX公司帐户.请与您公司的支持人员联系以获取帮助. ".

At this point, when a wp8 phone tries to download XAP file without first installing AETX, The phone gives proper error message: "Before you install this app, you need to add XXXX company account. Contact your company's support person for help".

在安装AETX之后,当wp8手机尝试安装XAP文件时,手机会要求您确认:您要从XXXX安装App1吗?"单击安装"按钮后,没有任何反应.没有成功消息,没有错误消息,没有安装指示,并且该应用程序未显示在应用程序列表中.

After installing AETX, when wp8 phone tries to install XAP file, the phone asks for confirmation: "Would you like to install App1 from XXXX?" After clicking "install" button, nothing happens. There is no success message, no error message, no indication of installation, and the application does not show in application list.

我还尝试过通过电子邮件发送AETX和XAP文件(以防Internet Explorer或IIS无法处理文件类型),结果相同.

I have also tried sending AETX and XAP files over email (in case internet explorer or iis cannot handle file types), same result.

我也尝试过对我们公司的枢纽应用程序执行相同的操作,结果相同.

I have also tried doing the same for our company hub app, same result.

据我了解,公司中心应用只是另一个应用(当然是出于不同的目的),普通应用和中心应用都可以以相同的方式(通过网址或电子邮件等)分发,对吗?

As far as I understand, company hub app is just another app (of course for different purpose) and both normal app and hub app can be distributed same way (over web address or email etc), right?

怎么了?在这里找不到问题? 有什么想法吗?

What is wrong? Cannot find the problem here? Any ideas?

推荐答案

我敢打赌,您没有适当的代码签名设置.容易错过的重要步骤之一是安装企业代码签名证书(从Symantec获得)的父证书.具体来说,下载并导入以下两个证书,然后尝试再次对XAP文件进行签名.

I bet you don't have a proper setup for code signing. One important step that is easy to miss is to install the parent certificates of your enterprise code signing certificate (that you got from Symantec). Specifically, download and import the following two certificates and then try to sign the XAP file again.

https://knowledge.verisign.com/library/VERISIGN/ALL_OTHER/Symantec_Enterprise_Mobile_Root_for_Microsoft.cer https://knowledge.verisign.com/library/VERISIGN/ALL_OTHER/Symantec_Enterprise_Mobile_CA_for_Microsoft_Cert.cer

令人遗憾的是,签名工具没有报告任何错误,但是输出不是WP8会接受的经过正确签名的XAP.

It is sad that the signing tool does not report any errors, yet the output is not a correctly signed XAP that WP8 would accept.

这篇关于无法在Windows Phone 8上安装公司应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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