mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +08:00
windows: vista/2008 安装时需要 boot.wim
This commit is contained in:
parent
619671f77c
commit
a12dad5a08
6
trans.sh
6
trans.sh
@ -4725,6 +4725,12 @@ install_windows() {
|
|||||||
cp /os/boot.wim /os/installer/sources/boot.wim
|
cp /os/boot.wim /os/installer/sources/boot.wim
|
||||||
fi
|
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
|
# windows 7 没有 invoke-webrequest
|
||||||
# installer分区盘符不一定是D盘
|
# installer分区盘符不一定是D盘
|
||||||
# 所以复制 resize.bat 到 install.wim
|
# 所以复制 resize.bat 到 install.wim
|
||||||
|
Loading…
x
Reference in New Issue
Block a user