From 07adefd358de55b5e54b8faa3ef1a21e546739c8 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 30 Jul 2023 12:23:40 +0200 Subject: [PATCH] check for ADK added --- 07_MakeISO.cmd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/07_MakeISO.cmd b/07_MakeISO.cmd index c95be56..f3a50e2 100644 --- a/07_MakeISO.cmd +++ b/07_MakeISO.cmd @@ -18,6 +18,7 @@ if /I %DRIVE% == %SystemDrive% ( ) echo using drive [ %DRIVE% ] ... +echo. if NOT EXIST %DRIVE% ( echo ERROR: drive %DRIVE% not found! @@ -36,6 +37,12 @@ if EXIST %ISOFILE% ( exit /b ) +if NOT EXIST %OSCDPATH%\oscdimg.exe ( + echo ERROR: cannot find oscdimg.exe! + echo HINT: is "Assessment and Deployment Kit (ADK)" installed? + exit /b +) + %OSCDPATH%\oscdimg -l%OSLABEL% -m -u2 -b%OSCDPATH%\etfsboot.com %DRIVE%\ %ISOFILE% echo.