diff --git a/patch_scripts/windows7-x64-and-server2008r2-kb4012218-patch/w7s08r2x64-wuaueng.dll-patch.bat b/patch_scripts/windows7-x64-and-server2008r2-kb4012218-patch/w7s08r2x64-wuaueng.dll-patch.bat index 69ebe0c..3d9253c 100644 --- a/patch_scripts/windows7-x64-and-server2008r2-kb4012218-patch/w7s08r2x64-wuaueng.dll-patch.bat +++ b/patch_scripts/windows7-x64-and-server2008r2-kb4012218-patch/w7s08r2x64-wuaueng.dll-patch.bat @@ -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. diff --git a/patch_scripts/windows7-x86-kb4012218-patch/w7x86-wuaueng.dll-patch.bat b/patch_scripts/windows7-x86-kb4012218-patch/w7x86-wuaueng.dll-patch.bat index 022612e..e04f58f 100644 --- a/patch_scripts/windows7-x86-kb4012218-patch/w7x86-wuaueng.dll-patch.bat +++ b/patch_scripts/windows7-x86-kb4012218-patch/w7x86-wuaueng.dll-patch.bat @@ -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. diff --git a/patch_scripts/windows8.1-x64-and-server2012r2-kb4012219-patch/w81s12r2x64-wuaueng.dll-patch.bat b/patch_scripts/windows8.1-x64-and-server2012r2-kb4012219-patch/w81s12r2x64-wuaueng.dll-patch.bat index d2535d1..06e800b 100644 --- a/patch_scripts/windows8.1-x64-and-server2012r2-kb4012219-patch/w81s12r2x64-wuaueng.dll-patch.bat +++ b/patch_scripts/windows8.1-x64-and-server2012r2-kb4012219-patch/w81s12r2x64-wuaueng.dll-patch.bat @@ -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. diff --git a/patch_scripts/windows8.1-x86-kb4012219-patch/w81x86-wuaueng.dll-patch.bat b/patch_scripts/windows8.1-x86-kb4012219-patch/w81x86-wuaueng.dll-patch.bat index debb0ce..cf8b217 100644 --- a/patch_scripts/windows8.1-x86-kb4012219-patch/w81x86-wuaueng.dll-patch.bat +++ b/patch_scripts/windows8.1-x86-kb4012219-patch/w81x86-wuaueng.dll-patch.bat @@ -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.