mirror of
https://github.com/dragonflylee/WimHelper.git
synced 2025-01-08 11:37:37 +08:00
修复版本号识别
This commit is contained in:
parent
a5ee5b5f61
commit
c7bb7a3f95
@ -186,6 +186,12 @@ Windows Registry Editor Version 5.00
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MINIE]
|
||||
"ShowTabsBelowAddressBar"=dword:00000000
|
||||
|
||||
;½ûÓÃWindows Search
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Search\Preferences]
|
||||
"WholeFileSystem"=dword:00000001
|
||||
;[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Service\TimeZoneInformation]
|
||||
;"RealTimeIsUniversal"=dword:00000001
|
||||
|
||||
;UTC ʱ¼ä
|
||||
;[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\TimeZoneInformation]
|
||||
;"RealTimeIsUniversal"=dword:00000001
|
||||
|
@ -82,7 +82,7 @@ rem ת
|
||||
rem 生成ISO镜像
|
||||
for /f "tokens=3" %%f in ('%Dism% /English /Get-ImageInfo /ImageFile:"%~1" /Index:1 ^| findstr /i Architecture') do ( set "ImageArch=%%f" )
|
||||
for /f "tokens=3 delims=." %%f in ('%Dism% /English /Get-ImageInfo /ImageFile:"%~1" /Index:1 ^| findstr /i Version') do ( set "ImageRevision=%%f" )
|
||||
for /f "tokens=4" %%f in ('%Dism% /English /Get-ImageInfo /ImageFile:"%~1" /Index:1 ^| find "ServicePack Level"') do ( set "ImageBuild=%%f" )
|
||||
for /f "tokens=4" %%f in ('%Dism% /English /Get-ImageInfo /ImageFile:"%~1" /Index:1 ^| find "ServicePack Build"') do ( set "ImageBuild=%%f" )
|
||||
for /f "tokens=* delims=" %%f in ('Dism.exe /English /Get-ImageInfo /ImageFile:"%~1" /Index:1 ^| findstr /i Default') do ( set "ImageLanguage=%%f" )
|
||||
call "%~dp0MakeISO.cmd" "%~2" "Win10_%ImageRevision%.%ImageBuild%_%ImageArch%_%ImageLanguage:~1,-10%"
|
||||
rem 生成二合一镜像
|
||||
|
Loading…
Reference in New Issue
Block a user