Changeset 3943 for trunk/scripts

Show
Ignore:
Timestamp:
12/04/07 14:36:23 (13 months ago)
Author:
pmoura
Message:

Updated the Windows GUI installer to support running Logtalk with CxProlog? 0.96.1 and later versions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/scripts/windows/logtalk.iss

    r3941 r3943  
    5252Name: "prolog\bp"; Description: "B-Prolog integration (version 7.0 or later)"; Types: full prolog custom; Flags: disablenouninstallwarning 
    5353Name: "prolog\ciao"; Description: "Ciao Prolog integration (version 1.10#5 or later)"; Types: full prolog custom; Flags: disablenouninstallwarning 
     54Name: "prolog\cxprolog"; Description: "CxProlog integration (version 0.96.1 or later)"; Types: full prolog custom; Flags: disablenouninstallwarning 
    5455Name: "prolog\eclipse"; Description: "ECLiPSe integration (version 5.10#26 or later)"; Types: full prolog custom; Flags: disablenouninstallwarning 
    5556Name: "prolog\gprolog"; Description: "GNU Prolog integration (version 1.2.16 or later)"; Types: full prolog custom; Flags: disablenouninstallwarning 
     
    107108 
    108109Name: "{group}\Logtalk - Ciao Prolog"; Filename: "{code:GetCiaoExePath}"; Parameters: "-l ""$LOGTALKHOME/integration/logtalk_ciao.pl"""; Comment: "Runs Logtalk with Ciao Prolog"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\ciao; Flags: createonlyiffileexists 
     110 
     111Name: "{group}\Logtalk - CxProlog"; Filename: "{code:GetCxExePath}"; Parameters: "--goal ""silent_consult('%LOGTALKHOME%/integration/logtalk_cx.pl')"""; Comment: "Runs Logtalk with CxProlog"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\cxprolog; Flags: createonlyiffileexists 
    109112 
    110113Name: "{group}\Logtalk - ECLiPSe"; Filename: "{code:GetEclipseExePath}"; Parameters: "-b ""%LOGTALKHOME%\integration\logtalk_eclipse.pl"""; Comment: "Runs Logtalk with ECLiPSe"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\eclipse; Flags: createonlyiffileexists 
     
    232235end; 
    233236 
     237function GetCxExePath(Param: String): String; 
     238var 
     239  CxDir: String; 
     240begin 
     241  if RegQueryStringValue(HKLM, 'Software\CxProlog\', 'CXPROLOGDIR', CxDir) then 
     242    Result := CxDir + '\cxprolog.exe' 
     243  else 
     244    Result := 'lgt_exe_does_not_exist' 
     245end; 
     246 
    234247function GetEclipseExePath(Param: String): String; 
    235248var