BAT files: change PATH for lookin DLL file check

This commit is contained in:
Tomasz Przybył 2016-12-16 11:34:13 +01:00
parent 100d0dfb88
commit 38ab381c8c
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ if not exist "%WINDIR%\py.exe" (
GOTO PY35RT
)
:PY35RT
if not exist "%PROGRAMFILES%\python35\Python35.dll" (
if not exist "%LOCALAPPDATA%\Programs\Python\Python35\Python35.dll" (
ECHO :: ERROR :: Python 3.5 Runtime NOT FOUND...
ECHO :: ERROR :: Download and install lastest Python 3.5 for Windows from https://www.python.org/downloads/
ECHO :: ERROR :: Exit...

View File

@ -13,7 +13,7 @@ if not exist "%WINDIR%\py.exe" (
GOTO PY35RT
)
:PY35RT
if not exist "%PROGRAMFILES%\python35\Python35.dll" (
if not exist "%LOCALAPPDATA%\Programs\Python\Python35\Python35.dll" (
ECHO :: ERROR :: Python 3.5 Runtime NOT FOUND...
ECHO :: ERROR :: Download and install lastest Python 3.5 for Windows from https://www.python.org/downloads/
ECHO :: ERROR :: Exit...