This repository was archived by the owner on May 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Name: "erlang"; Description: "Install Erlang"; GroupDescription: "Erlang"; Check
68
68
Name : " erlang\32" ; Description : " {code:ConstGetErlangName32}" ; GroupDescription: " Erlang" ; Flags : exclusive
69
69
Name : " erlang\64" ; Description : " {code:ConstGetErlangName64}" ; GroupDescription: " Erlang" ; Flags : exclusive ; Check : IsWin64
70
70
Name : " erlang\newpath" ; Description : " Append Erlang directory to Path environment variable" ; GroupDescription: " Erlang"
71
- Name : " existingpath" ; Description : " Append {code:ConstGetExistingErlangPath}\bin to Path environment variable" ; GroupDescription: " Erlang" ; Check : CheckToAddErlangPath
71
+ Name : " existingpath" ; Description : " Append {code:ConstGetExistingErlangPath}\bin to Path environment variable" ; GroupDescription: " Erlang" ; Check : CheckToAddExistingErlangPath
72
72
73
73
[Code]
74
74
#include " src\u til.iss"
@@ -189,9 +189,9 @@ begin
189
189
end ;
190
190
191
191
function CheckToInstallErlang : Boolean; begin
192
- Result := (not ErlangInPath) and ( GetExistingErlangPath(GlobalErlangData.ERTSVersion) = ' ' ); end ;
193
- function CheckToAddErlangPath : Boolean; begin
194
- Result := not ErlangInPath; end ;
192
+ Result := (GetExistingErlangPath(GlobalErlangData.ERTSVersion) = ' ' ); end ;
193
+ function CheckToAddExistingErlangPath : Boolean; begin
194
+ Result := ( not CheckToInstallErlang) and ( not ErlangInPath) ; end ;
195
195
196
196
function ConstGetErlangName32 (Param: String): String; begin
197
197
Result := GlobalErlangData.Name32; end ;
You can’t perform that action at this time.
0 commit comments