如何使用 powershell 正确安装 Windows Store 应用?

如何使用 powershell 正确安装 Windows Store 应用?

我尝试使用 PS 命令安装 Windows Store App:

Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_2015.9.9.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode

但失败了:

PS C:\WINDOWS\system32> Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_2015.9.9.0_x64
wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
Merge Failure : error 0x80070003 : Cannot register the Microsoft.WindowsStore_2015.9.9.0_x64__8wekyb3d8bbwe package
because there was a merge failure with the following file: C:\Program
Files\WindowsApps\Microsoft.WindowsStore_2015.9.9.0_neutral_split.language-uk_8wekyb3d8bbwe\resources.pri
NOTE: For additional information, look for [ActivityId] 412c5922-f9c0-0006-1e5f-2c41c0f9d001 in the Event Log or use
the command line Get-AppxLog -ActivityID 412c5922-f9c0-0006-1e5f-2c41c0f9d001
At line:1 char:1
+ Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Win ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\Program File...ppxManifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

如何安装Microsoft.WindowsStore_2015.9.9.0_x64__8wekyb3d8bbwe对我来说合适吗?

相关内容