bugfixing

This commit is contained in:
Michael H.G. Schmidt 2023-01-02 16:00:47 +01:00
parent 5d07b15343
commit cf43980a19
1 changed files with 7 additions and 5 deletions

View File

@ -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%
)