Install UWP application by application installer from web error, missing dependency package

I have a UWP application and am trying to install it from the Internet through the App Installer. According to the docs, I can install .appx / .appxbundle / *. Installinstaller, and I have the appxbundle generated by VS 2017.

When I put appxbundle (also all generated folders / files, such as Add-AppDev {ackage.resources and Dependencies) on my host server and try to download / install it, App Installer is called and correctly displays information about my application.

However, the installation fails on my client machine and complains that “ the application installer was unable to install the package dependencies. Ask the developer about the Microsoft.NET.CoreRuntime.1.1 package . It actually installed on my dev machine because I assume that I have all sdks are already installed.

I tried putting dependency information in my appinstaller file as below, but still not good.

<?xml version="1.0" encoding="utf-8"?>
<AppInstaller 
    xmlns="http://schemas.microsoft.com/appx/appinstaller/2017" 
    Version="1.0.0.0" 
    Uri="http://myhost.com/myapp.appinstaller" > 
    <MainBundle 
        Name="MyApp"
        Publisher="CN=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
        Version="0.0.1"
        Uri="http://myhost.com/myApp.appxbundle" />
<Dependencies>
    <Package Name="Microsoft.NET.CoreRuntime.1.1" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="1.1.25305.1" ProcessorArchitecture="x86" Uri="http://myhost.com/Dependencies/x86/Microsoft.NET.CoreRuntime.1.1.appx" />
    <Package Name="Microsoft.NET.CoreRuntime.1.1" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Version="1.1.25305.1" ProcessorArchitecture="x64" Uri="http://myhost.com/Dependencies/x64/Microsoft.NET.CoreRuntime.1.1.appx" />
</Dependencies>
</AppInstaller>

Can someone tell me what is wrong?

Thank!

+4
source share
1 answer

, Microsoft.NET.CoreRuntime.1.1 , . - . microsoft doc, , appxinstaller.

0

Source: https://habr.com/ru/post/1688437/


All Articles