如何强制删除AppX包

如何强制删除AppX包

本文介绍了如何强制删除AppX包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们注意到,在开发过程中,我们的一些HTML5 / JS应用程序会遇到困难,无法使用visual studio部署新版本或测试。按F5在VS中运行,或直接从AppPackages部署包都停止工作,
系统似乎处于奇怪的状态。没有多少重启或摆弄似乎有所帮助。我们尝试运行powershell"Remove-AppXPackage"。手动删除包但它仍然不起作用。


这似乎发生在已经发布到商店的应用程序上,我们正在开发应用程序的更新。 / p>

以下是一些示例错误:


错误  1 错误:DEP0900:无法取消注册应用程序"12345Company.Game1_1.0.0.1_neutral__kx24dqmazqk8j"。  

  Game1


  Remove-AppxPackage:部署失败,HRESULT:0x80073CFA,删除失败。请联系您的软件供应商。

(HRESULT的例外情况:0x80073CFA)


我们可以做些什么来让这些软件包再次拆解???


我们想强制卸载我假设的AppX包,但是remove-appxPackage会出错(事件日志中没有其他内容),并且包仍然保留在get-appxPackages列表中。



 



 



解决方案

We are noticing that very often in development, some of our HTML5/JS apps will get stuck and unable to deploy a new version or test with visual studio. Pressing F5 to run in VS, or deploying the package directly from AppPackages all stop working, and the system appears to be in a weird state. No amount of rebooting or fiddling seem to help. We try to run the powershell "Remove-AppXPackage" to remove the packages manually but it still doesn't work.

It seems to happen on apps that have been published to the store already, and we are developing an update for the app.

Here are some example errors:

Error 1 Error : DEP0900 : Failed to unregister application "12345Company.Game1_1.0.0.1_neutral__kx24dqmazqk8j". 
 Game1

 Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)

What can we do to make these packages depoloyable again???

We would like to force the uninstall of the AppX Package I assume, but remove-appxPackage gives errors (with nothing else listed in the Event Log), and the package still remains on the list show by get-appxPackages.

解决方案


这篇关于如何强制删除AppX包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 22:28