Cannot deploy UWP app with ms-appinstaller

574 Views Asked by At

I created my UWP app package, but ms-appinstaller shows me error when I try to install.

image

"Error in parsing the app package.", all files can be downloaded via browser

ms-appinstaller file:

<?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, O=Microsoft Corporation, L=Redmond, S=Washington, 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, O=Microsoft Corporation, L=Redmond, S=Washington, 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>

If I run .msix, then it install my app successfully.

(right window shows what my app already installed 'cause I installed it with .msix before my question)

upd1:

I set mime types , but this don't work

0

There are 0 best solutions below