echo.s
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
net session >nul 2>&1 || (
|
net session >nul 2>&1 || (
|
||||||
echo This batch script requires administrator privileges. Right-click on
|
echo This batch script requires administrator privileges. Right-click on
|
||||||
echo %~nx0 and select "Run as administrator".
|
echo %~nx0 and select "Run as administrator".
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -13,14 +12,12 @@ echo.
|
|||||||
wmic /output:stdout qfe get hotfixid | find "KB4012218" >nul || (
|
wmic /output:stdout qfe get hotfixid | find "KB4012218" >nul || (
|
||||||
echo Detected that update KB4012218 is not installed, please verify that
|
echo Detected that update KB4012218 is not installed, please verify that
|
||||||
echo you are trying to install the right patch file and try again.
|
echo you are trying to install the right patch file and try again.
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
wmic /output:stdout os get osarchitecture | find "64-bit" >nul || (
|
wmic /output:stdout os get osarchitecture | find "64-bit" >nul || (
|
||||||
echo Detected that you are not running 64-bit Windows, please verify
|
echo Detected that you are not running 64-bit Windows, please verify
|
||||||
echo that you are trying to install the right patch file and try again.
|
echo that you are trying to install the right patch file and try again.
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -100,6 +97,7 @@ pause >nul
|
|||||||
exit
|
exit
|
||||||
|
|
||||||
:cancel
|
:cancel
|
||||||
|
echo.
|
||||||
echo Canceled by user input, press any key to close . . .
|
echo Canceled by user input, press any key to close . . .
|
||||||
pause >nul
|
pause >nul
|
||||||
exit
|
exit
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
net session >nul 2>&1 || (
|
net session >nul 2>&1 || (
|
||||||
echo This batch script requires administrator privileges. Right-click on
|
echo This batch script requires administrator privileges. Right-click on
|
||||||
echo %~nx0 and select "Run as administrator".
|
echo %~nx0 and select "Run as administrator".
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -13,14 +12,12 @@ echo.
|
|||||||
wmic /output:stdout qfe get hotfixid | find "KB4012218" >nul || (
|
wmic /output:stdout qfe get hotfixid | find "KB4012218" >nul || (
|
||||||
echo Detected that update KB4012218 is not installed, please verify that
|
echo Detected that update KB4012218 is not installed, please verify that
|
||||||
echo you are trying to install the right patch file and try again.
|
echo you are trying to install the right patch file and try again.
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
wmic /output:stdout os get osarchitecture | find "32-bit" >nul || (
|
wmic /output:stdout os get osarchitecture | find "32-bit" >nul || (
|
||||||
echo Detected that you are not running 32-bit Windows, please verify
|
echo Detected that you are not running 32-bit Windows, please verify
|
||||||
echo that you are trying to install the right patch file and try again.
|
echo that you are trying to install the right patch file and try again.
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -100,6 +97,7 @@ pause >nul
|
|||||||
exit
|
exit
|
||||||
|
|
||||||
:cancel
|
:cancel
|
||||||
|
echo.
|
||||||
echo Canceled by user input, press any key to close . . .
|
echo Canceled by user input, press any key to close . . .
|
||||||
pause >nul
|
pause >nul
|
||||||
exit
|
exit
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
net session >nul 2>&1 || (
|
net session >nul 2>&1 || (
|
||||||
echo This batch script requires administrator privileges. Right-click on
|
echo This batch script requires administrator privileges. Right-click on
|
||||||
echo %~nx0 and select "Run as administrator".
|
echo %~nx0 and select "Run as administrator".
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -13,14 +12,12 @@ echo.
|
|||||||
wmic /output:stdout qfe get hotfixid | find "KB4012219" >nul || (
|
wmic /output:stdout qfe get hotfixid | find "KB4012219" >nul || (
|
||||||
echo Detected that update KB4012219 is not installed, please verify that
|
echo Detected that update KB4012219 is not installed, please verify that
|
||||||
echo you are trying to install the right patch file and try again.
|
echo you are trying to install the right patch file and try again.
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
wmic /output:stdout os get osarchitecture | find "64-bit" >nul || (
|
wmic /output:stdout os get osarchitecture | find "64-bit" >nul || (
|
||||||
echo Detected that you are not running 64-bit Windows, please verify
|
echo Detected that you are not running 64-bit Windows, please verify
|
||||||
echo that you are trying to install the right patch file and try again.
|
echo that you are trying to install the right patch file and try again.
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -100,6 +97,7 @@ pause >nul
|
|||||||
exit
|
exit
|
||||||
|
|
||||||
:cancel
|
:cancel
|
||||||
|
echo.
|
||||||
echo Canceled by user input, press any key to close . . .
|
echo Canceled by user input, press any key to close . . .
|
||||||
pause >nul
|
pause >nul
|
||||||
exit
|
exit
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
net session >nul 2>&1 || (
|
net session >nul 2>&1 || (
|
||||||
echo This batch script requires administrator privileges. Right-click on
|
echo This batch script requires administrator privileges. Right-click on
|
||||||
echo %~nx0 and select "Run as administrator".
|
echo %~nx0 and select "Run as administrator".
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -13,14 +12,12 @@ echo.
|
|||||||
wmic /output:stdout qfe get hotfixid | find "KB4012219" >nul || (
|
wmic /output:stdout qfe get hotfixid | find "KB4012219" >nul || (
|
||||||
echo Detected that update KB4012219 is not installed, please verify that
|
echo Detected that update KB4012219 is not installed, please verify that
|
||||||
echo you are trying to install the right patch file and try again.
|
echo you are trying to install the right patch file and try again.
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
wmic /output:stdout os get osarchitecture | find "32-bit" >nul || (
|
wmic /output:stdout os get osarchitecture | find "32-bit" >nul || (
|
||||||
echo Detected that you are not running 32-bit Windows, please verify
|
echo Detected that you are not running 32-bit Windows, please verify
|
||||||
echo that you are trying to install the right patch file and try again.
|
echo that you are trying to install the right patch file and try again.
|
||||||
echo.
|
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -100,6 +97,7 @@ pause >nul
|
|||||||
exit
|
exit
|
||||||
|
|
||||||
:cancel
|
:cancel
|
||||||
|
echo.
|
||||||
echo Canceled by user input, press any key to close . . .
|
echo Canceled by user input, press any key to close . . .
|
||||||
pause >nul
|
pause >nul
|
||||||
exit
|
exit
|
||||||
|
Reference in New Issue
Block a user