Added Python compatibilty check to d7II

* Fixes issue #84
This commit is contained in:
2Shirt 2019-05-06 19:59:10 -06:00
parent 07f2f338a2
commit 7b65833c20
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
5 changed files with 66 additions and 3 deletions

View file

@ -0,0 +1,30 @@
:: Python compatibility check
@echo off
setlocal
pushd "%~dp0\..\.."
set "bin=%cd%"
set "python=%bin%\Python\x32\python.exe"
rem Verify Python can run
"%python%" --version >nul || goto ErrorPythonUnsupported
goto Done
:ErrorPythonUnsupported
rem The Windows installation lacks Windows update KB2999226 needed to run Python
echo.
echo ERROR: Failed to run Python, try installing Windows update KB2999226.
echo NOTE: That update is from October 2015 so this system is SEVERELY outdated
echo.
echo Please stop Auto Mode, exit this script, install the update, and try again.
echo.
echo Press Enter to exit...
pause>nul
if exist "%bin%\..\Installers\Extras\Windows Updates" (
start "" "explorer.exe"
start "" "explorer.exe" "%bin%\..\Installers\Extras\Windows Updates"
)
:Done
popd
endlocal

View file

@ -5,7 +5,7 @@ Autoruns (Verify and Log)=Manages Startup Items
Google Chrome Software Removal Tool=Remove add-ons, extensions, toolbars, and other software that may interfere with the operation of Google Chrome.
VipreRescueScanner (Deep Scan)=Virus scanner (Designed for both the Malware Removal and the Offline Operations tab)
VipreRescueScanner (Quick Scan)=Virus scanner (Designed for both the Malware Removal and the Offline Operations tab)
=Install/Upgrade MBAM
=Python Check
[ReportDesc]
Autoruns=Examined Windows startup items and removed unnecessary entries.
Autoruns_Copy=Examined Windows startup items and removed unnecessary entries.
@ -36,4 +36,4 @@ VipreRescueScanner (Quick Scan)=Ran virus scans (Vipre)
22=Repaired the Windows Update services responsible for Windows Update functionality.
38=Performed repair routines to ensure the Winsock is operating properly.
83=Examined internet speed/bandwidth.
=Malwarebytes installed successfully.
=Python compatibility check

View file

@ -0,0 +1,32 @@
[Config]
LastEditDate=5/6/2019 6:48:27 PM
PostRunApp=
AppDesc=Python Check
App=Python_Check.cmd
UseFTPServer=0
AlwaysAttemptDownload=0
DLafterXdays=5
AppWait=0
EmailBeforeExecution=0
PriorAlert=0
ServiceWait=0
AppMsgBox=0
AppWaitTime=30
AppRandomize=0
SaveConfigAfter=0
MoveSnatchReports=0
SnatchReportsToMalwareLogs=1
RunInCMD=0
SendEnter=0
RunWithSystemAccess=0
IsDLInstaller=0
LogVerbiage=Python compatibility check
32=1
64=1
XP=1
Vista=1
7=1
8=1
Servers=1
NonDirectURLs=0
AutoFlag=0

View file

@ -782,6 +782,7 @@ WizardKit System Diagnostics=1
1=1
RKill (Auto)=1
Disable Windows Updates=1
Python Check=1
[Malware3]
ComboFix=0
ComboFix (Uninstall)=0

View file

@ -1 +1 @@
Disable Windows Updates|98|RKill (Auto)|Kaspersky TDSSKiller (Silent)|WizardKit System Diagnostics|34|Emsisoft a2cmd Deep Scan|HitmanPro|1|98|
Python Check|Disable Windows Updates|98|RKill (Auto)|Kaspersky TDSSKiller (Silent)|WizardKit System Diagnostics|34|Emsisoft a2cmd Deep Scan|HitmanPro|1|98|