我的电脑上的 Microsoft Edge 确实不稳定。每天死机好几次……我彻底删除了 Microsft Edge 文件夹。我删除它是为了能够重新安装它,但我遇到了问题。
当我尝试使用以下命令重新安装它时:
Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -Verbose}
我收到错误
Add-AppxPackage : Cannot find path 'C:\AppXManifest.xml' because it does not exist. At line:1 char:68
+ ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register“$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo:ObjectNotFound:(C:\AppXManifest.xml:String)[Add-AppxPackage],ItemNotFoundException + FullyQualifiedErrorId:PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
有任何想法吗?