From a12dad5a088da5a2c0f93714d15250fa211216e9 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Thu, 31 Oct 2024 18:15:07 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20vista/2008=20=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E6=97=B6=E9=9C=80=E8=A6=81=20boot.wim?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/trans.sh b/trans.sh index 6eb2bd3..d5e97aa 100644 --- a/trans.sh +++ b/trans.sh @@ -4725,6 +4725,12 @@ install_windows() { cp /os/boot.wim /os/installer/sources/boot.wim fi + # vista 安装时需要 boot.wim,原因见上面 + if [ "$nt_ver" = 6.0 ] && + ! [ -e /os/installer/sources/boot.wim ]; then + cp /os/boot.wim /os/installer/sources/boot.wim + fi + # windows 7 没有 invoke-webrequest # installer分区盘符不一定是D盘 # 所以复制 resize.bat 到 install.wim