使用Desktop App Converter创建UWP后安装失败 [英] Installation Failed after creating UWP with Desktop App Converter

查看:190
本文介绍了使用Desktop App Converter创建UWP后安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我决定在转换我的工具时遇到另一个难题( https://github.com/mikecann/Windows7-Taskbar-Monitor )到使用Desktop App Converter的Windows应用商店.

I decided to have another crack at converting my tool (https://github.com/mikecann/Windows7-Taskbar-Monitor) to a windows store app using the Desktop App Converter.

我这次做的事情:

1)强制将我的机器更新为周年纪念更新. 2)下载了Desktop App Converter和.wim文件. 3)设置基本映像.wim 4)使用以下程序在我的自解压安装程序中运行转换器:

1) Force-updated my machine to the anniversary update. 2) Downloaded Desktop App Converter and .wim file. 3) Setup the base image .wim 4) Ran the converter on my self-extracting installer with the following:

.\ DesktopAppConverter.ps1-安装程序C:\ tmp \ TaskbarSystemMonitorInstaller.exe -InstallerArguments"/T:c:\ out/C"-目标C:\ Out2 -PackageName"TaskbarSystemMonitor"-发布者"CN = mikecann.co .uk"-版本0.0.0.1 -MakeAppx -Verbose -AppExecutable C:\ Out2 \ TaskbarSystemMonitor.exe -Sign

.\DesktopAppConverter.ps1 -Installer C:\tmp\TaskbarSystemMonitorInstaller.exe -InstallerArguments "/T:c:\out /C" -Destination C:\Out2 -PackageName "TaskbarSystemMonitor" -Publisher "CN=mikecann.co.uk" -Version 0.0.0.1 -MakeAppx -Verbose -AppExecutable C:\Out2\TaskbarSystemMonitor.exe -Sign

5)我得到一个.appx文件,但是当我尝试运行它时,我得到了:

5) I get a .appx file but when I try to run it I get:

6)这是我的第一个Windows应用商店,所以我不确定我需要做些什么.因此,我决定尝试将其上传到商店,但是出现以下错误:

6) This is my first winows store app so im not sure exactly what I need to do cert wise. So I decided to have a go at uploading it to the store, but I get the following errors:

7)我不知道该如何处理第一个错误,我可以修复的第二个和第三个错误,不确定的第四个错误.

7) I dont know what to do about the first error, the second and third error I tihnk I can fix, the fourth error im not sure about.

任何帮助都会很棒.

谢谢!

迈克

推荐答案

5)我得到一个.appx文件,但是当我尝试运行它时,我得到了

5) I get a .appx file but when I try to run it I get

  • 在文件资源管理器中,右键单击您已使用测试证书签名的appx,然后从上下文菜单中选择属性.
  • 点击或点击数字签名标签.
  • 单击或点击证书,然后选择详细信息.
  • 单击或点击查看证书.
  • 单击或点击安装证书.
  • 在"商店位置"组中,选择"本地计算机".
  • 单击或点击下一步确定以确认UAC对话框.
  • 在证书导入向导"的下一个屏幕中,将选定的选项更改为将所有证书放置在以下存储中.
  • 点击或点击浏览.在选择证书存储区"窗口中,向下滚动并选择受信任的人,然后单击或点击确定.
  • 单击或点击下一步.出现一个新屏幕.点击或点击完成.
  • 应出现一个确认对话框.如果是这样,请点击确定.如果其他对话框表明证书存在问题,则可能需要对证书进行一些故障排除. 注意:要使Windows信任证书,证书必须位于证书(本地计算机)>受信任的根证书颁发机构>证书节点或证书(本地计算机)>受信任的人中>证书节点.只有这两个位置中的证书才能在本地计算机的上下文中验证证书信任.否则,将出现类似于以下字符串的错误消息:
    1. In File Explorer, right click an appx that you've signed with a test cert and choose Properties from the context menu.
    2. Click or tap the Digital Signatures tab.
    3. Click or tap on the certificate and choose Details.
    4. Click or tap View Certificate.
    5. Click or tap Install Certificate.
    6. In the Store Location group, select Local Machine.
    7. Click or tap Next and OK to confirm the UAC dialog.
    8. In the next screen of the Certificate Import Wizard, change the selected option to Place all certificates in the following store.
    9. Click or tap Browse. In the Select Certificate Store window, scroll down and select Trusted People and click or tap OK.
    10. Click or tap Next. A new screen appears. Click or tap Finish.
    11. A confirmation dialog should appear. If so, click OK. If a different dialog indicates that there is a problem with the certificate, you may need to do some certificate troubleshooting. Note: For Windows to trust the certificate, the certificate must be located in either the Certificates (Local Computer) > Trusted Root Certification Authorities > Certificates node or the Certificates (Local Computer) > Trusted People > Certificates node. Only certificates in these two locations can validate the certificate trust in the context of the local machine. Otherwise, an error message that resembles the following string appears:

    "Add-AppxPackage:部署失败,出现HRESULT:0x800B0109,A 证书链已处理,但以根证书终止 不被信任提供者信任. (来自HRESULT的异常: 0x800B0109)错误0x800B0109:签名中的根证书 该应用程序包必须是受信任的."

    "Add-AppxPackage : Deployment failed with HRESULT: 0x800B0109, A certificate chain processed, but terminated in a rootcertificate which is not trusted by the trust provider. (Exception from HRESULT: 0x800B0109) error 0x800B0109: The root certificate of the signature in the app package must be trusted."


    所以我决定尝试将其上传到商店,但是出现以下错误

    So I decided to have a go at uploading it to the store, but I get the following errors

    发布之前,您需要从Windows Store获得有效的认证并退出您的应用.在Desktop App Converter中使用-Sign标志将自动生成测试证书.请参阅这里

    You need to get a valid certification from Windows Store and resign your app before publishing. Using the -Sign flag in the Desktop App Converter will auto-generate a testing certificate. See here

    -----更新(09/14/2016)------

    关于发布Desktop Bridge Apps,也请参阅非常重要的部分,其中描述了

    About publishing Desktop Bridge Apps, please also see the very important part which described here

    此外,我们将开始使用 桌面桥.当我们将管道构建到Windows应用商店中时, 发布这些应用程序后,我们的团队将直接与开发人员合作以获取 他们转换后的应用和游戏进入Windows应用商店. 联系我们 团队 此处 如果您有兴趣使用Desktop Bridge将应用程序提交到 Windows应用商店.

    In addition, we will begin the process of accepting apps using the Desktop Bridge. While we build the pipeline into the Windows Store to publish these apps, our team will work directly with developers to get their converted apps and games into the Windows Store. Contact our team here if you are interested in submitting an app using the Desktop Bridge to the Windows Store.

    这篇关于使用Desktop App Converter创建UWP后安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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