WIN10 离线环境安装 Microsoft.WindowsTerminal
如果遇到离线安装后 打开报错 “文件系统错误12029” 说明安装方式错误, 没有配置license导致
下面是安装步骤:
1. 下载安装文件
windows10 下载 Microsoft.WindowsTerminal_1.21.3231.0_8wekyb3d8bbwe.msixbundle_Windows10_PreinstallKit.zip
下载地址
https://github.com/microsoft/terminal/releases
下载Microsoft.WindowsTerminal_1.21.3231.0_8wekyb3d8bbwe.msixbundle_Windows10_PreinstallKit.zip后解压。并管理员身份打开终端,切换到解压路径下, 有以下文件
Microsoft.UI.Xaml.2.8_8.2310.30001.0_arm__8wekyb3d8bbwe.appx
Microsoft.UI.Xaml.2.8_8.2310.30001.0_arm64__8wekyb3d8bbwe.appx
Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe.appx
Microsoft.UI.Xaml.2.8_8.2310.30001.0_x86__8wekyb3d8bbwe.appx
MPAP_b79298bcbb3945749cf7a91baa551990_001.provxml
AUMIDs.txt
b79298bcbb3945749cf7a91baa551990_License1.xml
b79298bcbb3945749cf7a91baa551990.msixbundle
根据机器的架构选择先安装 Microsoft.UI.Xaml 比如我的cpu是x64 ,双击安装 Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe.appx
安装 Microsoft.WindowsTerminal 终端执行
Add-AppxProvisionedPackage -Online -PackagePath .\b79298bcbb3945749cf7a91baa551990.msixbundle -LicensePath .\b79298bcbb3945749cf7a91baa551990_License1.xml -CustomDataPath .\MPAP_b79298bcbb3945749cf7a91baa551990_001.provxml