From 08fe9f41ccc3e81b882b3addc267b345240eff19 Mon Sep 17 00:00:00 2001 From: neroux Date: Tue, 18 Apr 2017 23:42:48 +0200 Subject: [PATCH 1/4] Added OS version check --- .../w81x86-wuaueng.dll-patch.bat | 5 +++++ 1 file changed, 5 insertions(+) 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. From b1e3d85c8b8536cbd9a2ad2c6c16a9fe35e095e3 Mon Sep 17 00:00:00 2001 From: neroux Date: Tue, 18 Apr 2017 23:43:21 +0200 Subject: [PATCH 2/4] Added OS version check --- .../w81s12r2x64-wuaueng.dll-patch.bat | 5 +++++ 1 file changed, 5 insertions(+) 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. From fab83c46a04aedfce93ddd4a42a243e71022d7a8 Mon Sep 17 00:00:00 2001 From: neroux Date: Tue, 18 Apr 2017 23:44:07 +0200 Subject: [PATCH 3/4] Added OS version check --- .../windows7-x86-kb4012218-patch/w7x86-wuaueng.dll-patch.bat | 5 +++++ 1 file changed, 5 insertions(+) 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. From e00e74a38e43d1231602963e7a3bb8d0b17f3541 Mon Sep 17 00:00:00 2001 From: neroux Date: Tue, 18 Apr 2017 23:44:49 +0200 Subject: [PATCH 4/4] Added OS version check --- .../w7s08r2x64-wuaueng.dll-patch.bat | 5 +++++ 1 file changed, 5 insertions(+) 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.