This commit is contained in:
Michael H.G. Schmidt 2021-03-28 00:45:34 +01:00
parent 20ba564de3
commit 10a8ab3bbf
2 changed files with 16 additions and 10 deletions

View File

@ -28,6 +28,11 @@ for %%S in (
finish-boot.cmd finish-boot.cmd
export-image.cmd export-image.cmd
IF %ERRORLEVEL% NEQ 0 (
echo ERROR while exporting image
exit /b
)
mount-image.cmd mount-image.cmd
remove-apps.cmd remove-apps.cmd
remove-packages.cmd remove-packages.cmd

View File

@ -5,6 +5,17 @@ set WIM=%SOURCES%\install.wim
set W10PRO=%SOURCES%\w10pro.wim set W10PRO=%SOURCES%\w10pro.wim
set STATEFILE=%SOURCES%\w10pro.txt set STATEFILE=%SOURCES%\w10pro.txt
if EXIST %STATEFILE% (
echo.
echo INFO: found %STATEFILE%
echo nothing todo. all work was already done.
echo READY.
exit /b
)
if EXIST %ESD% ( if EXIST %ESD% (
echo. echo.
@ -54,15 +65,5 @@ if EXIST %WIM% (
) )
if EXIST %STATEFILE% (
echo.
echo INFO: found %STATEFILE%
echo nothing todo. all work was already done.
echo READY.
exit /b
)
set ERRORLEVEL=9009 set ERRORLEVEL=9009