MSIX AddPackage not working after WindowsUpdate(KB5005033) installed

槙之介 久保 96 Reputation points
   var uri = "https://mywebserver/MyApp.msix";  
   var asyncProgress = packagemanager.AddPackageAsync(  
   await Task.Run(() =>  
         while (asyncProgress.Status == AsyncStatus.Started)  

this code is worked when I uninstalled WindowsUpdate or change uri from webserver to local storage.


   Add-AppxPackage https://mywebserver/MyApp.msix  
   Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened.  
   Error 0x80D05011: Opening the package from location MyApp.msix failed.  
   For additional information, look for [ActivityId] 7c6dcda0-9004-0002-04af-6e7c0490d701 in the Event Log or use the command line Get-AppxLog -ActivityID 7c6dcda0-9004-0002-04af-6e7c0490d701  
   At line:1 char:1  
   + Add-AppxPackage https://mywebserver/MyApp.msix  
   + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
       + CategoryInfo          : OpenError: (https://mywebserver/MyApp.msix:String) [Add-AppxPackage], FileNotFoundExcept  
       + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand  

I can install msix created in Visual Studio PackageProject before Windows Update.
But can't install msix created in Visual Studio PackageProject after Windows Update.
I think the problem is with the issued msix after Windows Update.

Event Viewer Logs

error 0x80D05011 Could not open the package from CareDataCenter.msix

error 0x80070002 Could not open the Msix vs package from CareDataCenter.msix.
Make sure you have Msixvc Support Services installed.

error 0x80D05011: Could not get staging session due to https://mywebserver/CareDataCenter.msix

AppX deployment operation failed (package, error 0x80073CF0). Error specific to this error Text: Error 0x80D05011: The package could not be opened from the location CareDataCenter.msix.

I can access mywebserver from browser.
mywebserver not restrict access.

KB5005033 change logs isn`t written anything like that

windows : 10.0.19043
visual studio : 16.11.0

Thank you

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,407 questions
{count} votes

Accepted answer
  1. 槙之介 久保 96 Reputation points

    The problem was renaming the published Msix file.

    Don't change it like this
    "CareDataCenter.Package_1.0.0.0_x86_Debug.msix" to "CareDatacenter.msix".

    This seems to happen when the url protcol is https or http.

    0 comments No comments

0 additional answers

Sort by: Most helpful