使用 PowerShell Add-AppxPackage 安装 Windows Terminal .msixbundle

Foa*_*oad 4 windows powershell installation windows-terminal

我正在尝试在没有任何管理员权限的 Windows 10 v1803 [build 17134.13.04] 上安装Windows 终端,并且 Microsoft Store 也已停用。我.msixbundleGitHub 发布页面下载并使用了这里的命令:

add-appxpackage -Path ".\Microsoft.WindowsTerminal_1.4.3141.0_8wekyb3d8bbwe.msixbundle"
Run Code Online (Sandbox Code Playgroud)

但是,我收到错误:

add-appxpackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened.
error 0x8007007B: Opening the package from location Microsoft.WindowsTerminal_1.4.3141.0_8wekyb3d8bbwe.msixbundle
failed.

NOTE: For additional information, look for [ActivityId] b425a102-b6a8-0001-5add-56b4a8b6d601
in the Event Log or use the command line Get-AppxLog -ActivityID b425a102-b6a8-0001-5add-56b4a8b6d601

At line:1 char:1 
+ add-appxpackage -Path ".\Microsoft.WindowsTerminal_1.4.3141.0_8wekyb3 ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo          : OpenError: (C:\Users\Farima...bbwe.msixbundle:String) [Add-AppxPackage], FileNotFoundException 
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand 
Run Code Online (Sandbox Code Playgroud)

有什么问题,我该如何解决?

d3X*_*t3r 6

您可能收到该错误的原因是 Window Terminal 需要 Windows 10 v1903 或更高版本。

Windows 终端需要 Windows 10 1903(内部版本 18362)或更高版本

https://github.com/Microsoft/Terminal#installing-and-running-windows-terminal