From 3882aeb74840f5cc2cfb62df6f4de55b3cd8a501 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 7 May 2015 18:57:00 +0300 Subject: check_ddk.bat: ensure cert utils are present --- check_ddk.bat | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'check_ddk.bat') diff --git a/check_ddk.bat b/check_ddk.bat index 6e810ac..2ddc666 100644 --- a/check_ddk.bat +++ b/check_ddk.bat @@ -15,7 +15,10 @@ if not exist %root%\sign.bat ( exit /b 1 ) -where build.exe >nul || goto :build_not_found +where build.exe >nul 2>&1 || goto :build_not_found +where signtool.exe >nul 2>&1 || goto :signtool_not_found +where makecert.exe >nul 2>&1 || goto :makecert_not_found +where certmgr.exe >nul 2>&1 || goto :certmgr_not_found exit /b 0 :ddk_not_set @@ -25,3 +28,15 @@ exit /b 1 :build_not_found echo Error: build.exe not found ^(perhaps you forgot to set up the WinDDK environment^) exit /b 1 + +:signtool_not_found +echo Error: signtool.exe not found ^(perhaps you forgot to set up the WinDDK environment^) +exit /b 1 + +:makecert_not_found +echo Error: makecert.exe not found ^(perhaps you forgot to set up the WinDDK environment^) +exit /b 1 + +:certmgr_not_found +echo Error: certmgr.exe not found ^(perhaps you forgot to set up the WinDDK environment^) +exit /b 1 -- cgit v1.2.3