dependency
1 TopicWebView2 external dependency cannot be installed from an MSIX package on a Windows 10 target machine
Hi, I have built an MSIX package that includes https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-win32dependencies-externaldependency using Microsoft Packaging Tool (also tried to build same MSIX with Advanced Installer too). When trying to install the MSIX on a Windows 10 machine (v21h2) I get the following WebView error: There was a problem installing. Error code: 0x80040c01 Is there any known issue with WebView2 external dependency installation from an MSIX on Windows 10 machines? How can I troubleshoot this issue? Here it is the full manifest of the sample MSIX I have built: <?xml version="1.0" encoding="utf-8"?> <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:win32dependencies="http://schemas.microsoft.com/appx/manifest/externaldependencies" xmlns:build="http://schemas.microsoft.com/developer/appx/2015/build" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap rescap build win32dependencies"> <Identity Name="YourCompany.YourApplication" ProcessorArchitecture="x64" Publisher="CN=TestCert_2022-3-30_10-31-15" Version="1.0.1.0" /> <Properties> <PublisherDisplayName>Your Company</PublisherDisplayName> <DisplayName>Your Application</DisplayName> <Logo>Assets\Store50x50Logo.png</Logo> </Properties> <Resources> <Resource Language="en-US" /> <Resource uap:Scale="100" /> </Resources> <Dependencies> <TargetDeviceFamily MaxVersionTested="10.0.22000.0" MinVersion="10.0.17763.0" Name="Windows.Desktop" /> <win32dependencies:ExternalDependency Name="Microsoft.WebView2" Publisher="CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" MinVersion="1.1.1.1" Optional="true" /> </Dependencies> <Applications> <Application EntryPoint="Windows.FullTrustApplication" Executable="AI_STUBS\AiStub.exe" Id="updater.exe"> <uap:VisualElements BackgroundColor="transparent" Description="Advanced Updater" DisplayName="updater.exe" Square150x150Logo="Assets\updater.exeSquare150x150Logo.png" Square44x44Logo="Assets\updater.exeSquare44x44Logo.png"> <uap:InitialRotationPreference> <uap:Rotation Preference="portrait" /> <uap:Rotation Preference="landscape" /> </uap:InitialRotationPreference> </uap:VisualElements> </Application> </Applications> <build:Metadata> <build:Item Name="OperatingSystem" Version="10.0.22000.708" /> <build:Item Name="AdvancedInstaller" Version="19.6 (bf52c98e)" /> <build:Item Name="ProjectLicenseType" Version="architect" /> <build:Item Name="SignTool.exe" Version="10.0.20348.1" /> <build:Item Name="MakePri.exe" Version="10.0.20348.1" /> </build:Metadata> <Capabilities> <rescap:Capability Name="runFullTrust" /> </Capabilities> </Package> Thanks, Daniel5.7KViews0likes12Comments