You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; On Windows NT-derived operating systems, Python.org installer for Python 2.4
11
+
; can be installed for all users or current user only.
12
+
; define the following symbol to install if Python is installed only for current user.
13
+
; !define INSTALL_IF_PYTHON_FOR_CURRENT_USER
14
+
15
+
!define STRING_PYTHON_NOT_FOUND "Python is not installed on this system. $\nPlease install Python first. $\n$\nClick OK to cancel installation and remove installation Files."
16
+
17
+
!define STRING_PYTHON_CURRENT_USER_FOUND "Python is installed for the current user only. $\n$\nOpenBazaar does not support use with Python so configured. $\n$\nClick OK to cancel installation and remove installation Files."
18
+
19
+
var PythonRoot
20
+
var PythonExecutable
21
+
var StrNoUsablePythonFound
22
+
23
+
Function ValidatePythonVersion
24
+
ClearErrors
25
+
MessageBoxMB_OK"$PythonExecutable Here"
26
+
nsExec::ExecToStack'"$PythonExecutable" "-c" "import sys; ver=sys.version_info[:2]; exit({True:0,False:1}[ver<(2,7) or ver>(2,7)])"'
27
+
FunctionEnd
28
+
29
+
; This must be a macro because the registry root key cannot be a variable
0 commit comments