Added OS version check

This commit is contained in:
neroux
2017-04-18 23:44:07 +02:00
committed by GitHub
parent b1e3d85c8b
commit fab83c46a0

View File

@@ -9,6 +9,11 @@ net session >nul 2>&1 || (
echo Checking system requirements...
echo.
wmic /output:stdout os get version | find "6.1" > nul || (
echo Detected that you are not running Windows 7. Please verify that
echo you are trying to install the right patch file and try again.
)
wmic /output:stdout qfe get hotfixid | find "KB4012218" >nul || (
echo Detected that update KB4012218 is not installed, please verify that
echo you are trying to install the right patch file and try again.