【笔记】通过UUP的方式下载Windows官方安装镜像

前言

通过UUP(Unified Update Platform)的方式下载Windows官方安装镜像
UUP是微软在Windows10上引用系统更新方式,采用增量更新的方法,以减少文件下载量

准备工作

在Mac上所需的依赖

1
2
3
4
5
6
7
8
9
10
brew install aria2
brew install cabextract
brew install wimlib
brew install cdrtools

curl -LO https://gist.github.com/minacle/e9dedb8c17025a23a453f8f30eced3da/raw/908b944b3fe2e9f348fbe8b8800daebd87b5966c/[email protected]
curl -LO https://gist.github.com/minacle/e9dedb8c17025a23a453f8f30eced3da/raw/908b944b3fe2e9f348fbe8b8800daebd87b5966c/chntpw.rb
brew install --formula --build-from-source ./[email protected]
brew install --formula --build-from-source ./chntpw.rb
rm ./[email protected] ./chntpw.rb

获取Windows镜像的内部版本号

下载构建包

Cumulative Update:累积更新版本,将补丁直接集成到系统中
Feture Update:功能更新版版,正式发布的大版本+补丁,在系统安装后会安装补丁
Insider Preview:内幕预览版

  • 选择语言->下一步

  • 根据自己的需要选择系统版本

  • 选择下载方式->创建下载包

下载方式:如果只需要刚刚选择的系统版本,直接选使用aria下载并转换即可,如果需要更多版本一并打包,可以选择使用aria2下载、转换并创建其他版本,并在选择其他版本中选择想要额外扩充的版本
构建选项:如果使用非Windows平台,那么前三项无效

Mac平台下载依赖(可选)

1
2
brew tap sidneys/homebrew
brew install aria2 cabextract wimlib cdrtools sidneys/homebrew/chntpw

开始构建

  • 下载好后解压构建脚本,进入目录,开始构建
1
2
cd 19044.1288_amd64_zh-cn_multi_feff71db_convert_virtual
sh uup_download_macos.sh

完成

参考文献

知乎——九谎
CSDN——迷人的派大星