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

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

问题描述

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

We are developing a company app for windows phone 8.

我已按照公司应用程序中描述的每一步进行操作Windows Phone 发行版

这是我所做的:

  • 注册公司帐号
  • 从赛门铁克购买了企业证书.
  • 使用私钥导出的 PFX 文件
  • 从 PFX 生成的注册令牌(AETX 文件).
  • 开发的应用程序,使用visual studio构建并获取xap文件生成.(将其命名为 App.xap)
  • 预编译托管程序集并使用证书对其进行签名BuildMDILXap.ps1 powershell 脚本.(所有消息都表明成功).
  • 在我们的网络服务器上托管 AETX 和签名的 XAP 文件.

此时,当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?

推荐答案

我敢打赌你没有正确的代码签名设置.很容易错过的一个重要步骤是安装您的企业代码签名证书(您从赛门铁克获得)的父证书.具体来说,下载并导入以下两个证书,然后再次尝试对 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.cerhttps://knowledge.verisign.com/library/VERISIGN/ALL_OTHER/Symantec_Enterprise_Mobile_CA_for_Microsoft_Cert.cer

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

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天全站免登陆