qxl-wddm-dod/qxldod/checkWin8Tools.bat

16 lines
647 B
Batchfile
Raw Normal View History

2013-12-30 12:59:42 +01:00
@echo off
reg query "HKLM\Software\Microsoft\Windows Kits\WDK" /v WDKProductVersion >nul 2>nul
2014-08-18 15:14:54 +02:00
if %ERRORLEVEL% EQU 0 goto checkVS12
2013-12-30 12:59:42 +01:00
reg query "HKLM\Software\Wow6432Node\Microsoft\Windows Kits\WDK" /v WDKProductVersion > nul 2>nul
2014-08-18 15:14:54 +02:00
if %ERRORLEVEL% EQU 0 goto checkVS12
2013-12-30 12:59:42 +01:00
echo ERROR building Win8 drivers: Win8 WDK is not installed
exit /b 1
2014-08-18 15:14:54 +02:00
:checkVS12
reg query HKLM\Software\Microsoft\VisualStudio\12.0 /v InstallDir > nul 2>nul
2013-12-30 12:59:42 +01:00
if %ERRORLEVEL% EQU 0 exit /b 0
2014-08-18 15:14:54 +02:00
reg query HKLM\Software\Wow6432Node\Microsoft\VisualStudio\12.0 /v InstallDir > nul 2>nul
2013-12-30 12:59:42 +01:00
if %ERRORLEVEL% EQU 0 exit /b 0
echo ERROR building Win8 drivers: VS11 is not installed
exit /b 2