From 08fe9f41ccc3e81b882b3addc267b345240eff19 Mon Sep 17 00:00:00 2001 From: neroux Date: Tue, 18 Apr 2017 23:42:48 +0200 Subject: [PATCH] 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.