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
6868Name : " erlang\32" ; Description : " {code:ConstGetErlangName32}" ; GroupDescription: " Erlang" ; Flags : exclusive
6969Name : " erlang\64" ; Description : " {code:ConstGetErlangName64}" ; GroupDescription: " Erlang" ; Flags : exclusive ; Check : IsWin64
7070Name : " 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
7272
7373[Code]
7474#include " src\u til.iss"
@@ -189,9 +189,9 @@ begin
189189end ;
190190
191191function 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 ;
195195
196196function ConstGetErlangName32 (Param: String): String; begin
197197 Result := GlobalErlangData.Name32; end ;
You can’t perform that action at this time.
0 commit comments