@@ -92,51 +92,51 @@ workdir:
92
92
SetOutPath " ${WORKDIR}"
93
93
end_workdir:
94
94
95
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("WINPYDIR", "${WINPYDIR}").r0'
96
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("WINPYVER", "${WINPYVER}").r0'
95
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("WINPYDIR", "${WINPYDIR}").r0'
96
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("WINPYVER", "${WINPYVER}").r0'
97
97
98
98
; Addition of R_HOME Environment Variable if %R_Home%\bin exists
99
99
StrCmp " ${R_HOME}" " " end_Rsettings
100
100
IfFileExists " ${R_HOME}\bin\*.*" 0 end_Rsettings
101
101
102
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("R_HOME", "${R_HOME}").r0'
102
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("R_HOME", "${R_HOME}").r0'
103
103
104
104
end_Rsettings:
105
105
106
106
; Addition of JULIA and JULIA_HOME Environment Variable if %JULIA% program exists
107
107
StrCmp " ${JULIA}" " " end_Julia_settings
108
108
IfFileExists " ${JULIA}" 0 end_Julia_settings
109
109
110
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("JULIA", "${JULIA}").r0'
110
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("JULIA", "${JULIA}").r0'
111
111
112
112
StrCmp " ${JULIA_HOME}" " " end_Julia_settings
113
113
IfFileExists " ${JULIA_HOME}\*.*" 0 end_Julia_settings
114
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("JULIA_HOME", "${JULIA_HOME}").r0'
114
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("JULIA_HOME", "${JULIA_HOME}").r0'
115
115
116
116
; Addition for JULIA_PKGDIR
117
117
StrCmp " ${JULIA_PKGDIR}" " " end_Julia_settings
118
118
IfFileExists " ${JULIA_PKGDIR}\*.*" 0 end_Julia_settings
119
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("JULIA_PKGDIR", "${JULIA_PKGDIR}").r0'
119
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("JULIA_PKGDIR", "${JULIA_PKGDIR}").r0'
120
120
121
121
end_Julia_settings:
122
122
123
123
124
124
; Addition for QT_API=pyqt5 if Qt5 detected
125
125
IfFileExists " ${WINPYDIR}\Lib\site-packages\PyQt5\*.*" 0 end_QT_API_settings
126
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("QT_API", "pyqt5").r0'
126
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("QT_API", "pyqt5").r0'
127
127
128
128
end_QT_API_settings:
129
129
130
130
; jupyter
131
131
StrCmp " ${JUPYTER_DATA_DIR}" " " end_jupyter_data_setting
132
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("JUPYTER_DATA_DIR", "${JUPYTER_DATA_DIR}").r0'
132
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("JUPYTER_DATA_DIR", "${JUPYTER_DATA_DIR}").r0'
133
133
134
134
end_jupyter_data_setting:
135
135
136
136
; ================================================================
137
137
; Settings directory
138
138
IfFileExists " $EXEDIR\settings\*.*" 0 end_settings
139
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("HOME", "$EXEDIR\settings").r0'
139
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("HOME", "$EXEDIR\settings").r0'
140
140
StrCmp " ${SETTINGSDIR}" " " end_settings
141
141
CreateDirectory " $EXEDIR\settings\${SETTINGSDIR}"
142
142
; Handle portability in Spyder's settings
@@ -180,7 +180,7 @@ ReadINIStr $R7 $R6 "debug" "state"
180
180
StrCmp $R7 " " no_debug
181
181
StrCmp $R7 " disabled" no_debug
182
182
StrCpy $R7 " enabled"
183
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("WINPYDEBUG", "True").r0'
183
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("WINPYDEBUG", "True").r0'
184
184
no_debug:
185
185
186
186
@@ -198,7 +198,7 @@ envvar_loop:
198
198
199
199
${StrFilter} $1 " +" " " " " $1 ; Upper case + remove trailing spaces
200
200
StrCmp $1 " PATH" found_path
201
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("$1", "$2").r0'
201
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("$1", "$2").r0'
202
202
Goto end_found_path
203
203
204
204
found_path:
@@ -212,7 +212,7 @@ envvar_loop:
212
212
envvar_done:
213
213
214
214
StrCpy $R0 " ${PREPATH};$R0;${POSTPATH}"
215
- System::Call ' Kernel32::SetEnvironmentVariableA (t, t) i("PATH", R0).r0'
215
+ System::Call ' Kernel32::SetEnvironmentVariable (t, t) i("PATH", R0).r0'
216
216
; ================================================================
217
217
218
218
0 commit comments