无法使用ms-appinstaller部署UWP应用

问题描述

我创建了UWP应用程序包,但是当我尝试安装时,ms-appinstaller向我显示错误

image

“分析应用程序包时出错。”,所有文件都可以通过浏览器下载

ms-appinstaller文件

<?xml version="1.0" encoding="utf-8"?>
<AppInstaller
    Uri="http://uwplauncher.politcubes.ru/PolitCubes_x64.appinstaller"
    Version="1.0.0.0" xmlns="http://schemas.microsoft.com/appx/appinstaller/2017/2">
    <MainPackage
        Name="60c86cc0-5a17-46a6-a7f9-1c6eec38e089"
        Version="1.0.0.0"
        Publisher="CN=redfo"
        Uri="C:/Users/redfo/Nginx-1.19.2/html/PolitCubes_1.0.0.0_x64_Test/PolitCubes_1.0.0.0_x64.msix"
        ProcessorArchitecture="x64" />
    <Dependencies>
        <Package
            Name="Microsoft.NET.Native.Framework.2.2"
            Publisher="CN=Microsoft Corporation,O=Microsoft Corporation,L=Redmond,S=Washington,C=US"
            Version="2.2.27912.0"
            ProcessorArchitecture="x64"
            Uri="http://uwplauncher.politcubes.ru/PolitCubes_1.0.0.0_x64_Test/Dependencies/x64/Microsoft.NET.Native.Framework.2.2.appx" />
        <Package
            Name="Microsoft.NET.Native.Runtime.2.2"
            Publisher="CN=Microsoft Corporation,C=US"
            Version="2.2.28604.0"
            ProcessorArchitecture="x64"
            Uri="http://uwplauncher.politcubes.ru/PolitCubes_1.0.0.0_x64_Test/Dependencies/x64/Microsoft.NET.Native.Runtime.2.2.appx" />
        <Package
            Name="Microsoft.VCLibs.140.00"
            Publisher="CN=Microsoft Corporation,C=US"
            Version="14.0.27810.0"
            ProcessorArchitecture="x64"
            Uri="http://uwplauncher.politcubes.ru/PolitCubes_1.0.0.0_x64_Test/Dependencies/x64/Microsoft.VCLibs.x64.14.00.appx" />
    </Dependencies>
    <UpdateSettings>
        <OnLaunch
            HoursBetweenUpdateChecks="0" />
    </UpdateSettings>
</AppInstaller>

如果我运行.msix,则它将成功安装我的应用。

(右窗口显示了我的应用程序已经安装了什么,因为我在提问前用.msix安装了它)

upd1:

我设置了mime类型,但这不起作用

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)