diff --git a/image/finish-boot.cmd b/image/finish-boot.cmd index c2ed0c0..ee799a6 100644 --- a/image/finish-boot.cmd +++ b/image/finish-boot.cmd @@ -1,9 +1,10 @@ @echo off set SOURCES=c:\TEMP\W10\sources set BOOT=c:\TEMP\BOOT +set SETTINGS=..\scripts\settings.cmd -if EXIST ..\settings.cmd ( - call ..\settings.cmd +if EXIST %SETTINGS% ( + call %SETTINGS% ) else ( set LANG=en-US ) @@ -21,10 +22,11 @@ dism /image:%BOOT% /Set-SysLocale:%LANG% echo replacing setup.exe with our installer utility ... copy /Y installer.exe %BOOT%\setup.exe -echo copy snapshot64 to boot image ... -if EXIST ..\personal\snapshot64.exe ( - copy /Y ..\personal\snapshot64.exe %BOOT% +if EXIST ..\company\snapshot64.exe ( + echo copying LICENSED snapshot64.exe to boot image ... + copy /Y ..\company\snapshot64.exe %BOOT% ) else ( + echo copying STANDARD snapshot64.exe to boot image ... copy /Y ..\software\snapshot64.exe %BOOT% )