Merge pull request #2 from neroux/master

Checking OS versions
This commit is contained in:
zeffy
2017-04-18 19:42:38 -07:00
committed by GitHub
4 changed files with 20 additions and 0 deletions

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.

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.

View File

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

View File

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