windows11 ltsc 2024完全离线安装winget
Add-AppxPackage -Path "C:\Winget\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33728.0_x64__8wekyb3d8bbwe.Appx" -ForceUpdateFromAnyVersion Add-AppxPackage -Path "C:\Winget\Microsoft.UI.Xaml.2.8.x64.appx" -ForceUpdateFromAnyVersion Add-AppxPackage -Path "C:\Winget\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" -ForceUpdateFromAnyVersion
这里的C:\Winget是下载后三个文件的存放目录。根据实际情况改变。
包名 | 下载链接 |
---|---|
VCLibs (x64) | 这里我提供一下这个文件下载,默认提供的 VCLibs 包是 Desktop 版本,但是 App Installer (WinGet) 需要的是 UWPDesktop 版本。
|
UI.Xaml 2.8 (x64) | https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx |
App Installer (msixbundle) | https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle |
这里还有一个比较简便的安装方法,参考这个链接:https://1688fs.net/index.php/post/62.html