MSIX Add-AppxPackage not working after WindowsUpdate(KB5005033) installed

Copper Contributor

 

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
   ion
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

 

this is worked when I uninstalled WindowsUpdate(KB5005033) or change uri from webserver to local storage or change min version from 1903 to 1803(from msix to appx)

 

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

スクリーンショット 2021-08-12 145256.png

 

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

スクリーンショット 2021-08-12 145314.png

 

 

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

 

スクリーンショット 2021-08-12 145334.png

 

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.

 

スクリーンショット 2021-08-12 145353.png

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

KB5005033 change logs isn`t written anything like that
https://support.microsoft.com/ja-jp/topic/2021-%E5%B9%B4-8-%E6%9C%88-10-%E6%97%A5-kb5005033-os-%E3%8...

 

Differential updates for MSIX app packages
https://docs.microsoft.com/en-us/windows/msix/desktop/managing-your-msix-deployment-update

Is there a problem with the difference update?

 

windows : 10.0.19043
visual studio : 16.11.0

 

Thank you

 

2 Replies

@ShinnosukeKubo0329 

 

I resolved when change from https to http

My Web Server using [Azure Web App] and [App Service Free Managed SSL Certificate]

 

May be a certificate issue

https://msrc.microsoft.com/update-guide/vulnerability/ADV210003

 

 

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.