Changeset 4287

Show
Ignore:
Timestamp:
05/29/08 02:49:16 (4 months ago)
Author:
pmoura
Message:

Updated the Windows installer script to search the registry for the location of the YAP installation (for YAP 5.1.3 or later versions).

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/RELEASE_NOTES.txt

    r4286 r4287  
    1616    setting the initial stack, heap, and tail data area sizes. These settings 
    1717    are no longer necessary for recent YAP versions. 
     18 
     19    Updated the Windows installer script to search the registry for the  
     20    location of the YAP installation (for YAP 5.1.3 or later versions). 
    1821 
    1922    Added missing implementation of the predicate as_dictionary/2 to the  
  • trunk/scripts/windows/logtalk.iss

    r4283 r4287  
    131131Name: "{group}\Logtalk - XSB-MT"; Filename: "C:\XSB\config\i686-pc-cygwin-mt\bin\xsb.exe"; Parameters: "--shared_predicates -l -e ""['%LOGTALKUSER%\\configs\\xsb.config', '%LOGTALKHOME%\\compiler\\logtalk.pl', '%LOGTALKUSER%\\libpaths\\libpaths.pl']."""; Comment: "Runs Logtalk with XSB-MT"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\xsb; Flags: createonlyiffileexists 
    132132 
    133 Name: "{group}\Logtalk - YAP"; Filename: "C:\Yap\bin\yap.exe"; Parameters: "-l ""$LOGTALKHOME/integration/logtalk_yap.pl"""; Comment: "Runs Logtalk with YAP"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\yap; Flags: createonlyiffileexists 
     133Name: "{group}\Logtalk - YAP"; Filename: "{code:GetYAPExePath}"; Parameters: "-l ""$LOGTALKHOME/integration/logtalk_yap.pl"""; Comment: "Runs Logtalk with YAP"; WorkingDir: "{code:GetLgtUserDir}"; Components: prolog\yap; Flags: createonlyiffileexists 
    134134 
    135135Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"; Components: base 
     
    330330    Result := 'lgt_exe_does_not_exist' 
    331331end; 
     332 
     333function GetYAPExePath(Param: String): String; 
     334var 
     335  Home: String; 
     336begin 
     337  if RegQueryStringValue(HKLM, 'Software\YAP\Prolog\', 'home', Home) then 
     338    Result := Home + '\bin\yap.exe' 
     339  else 
     340    Result := 'lgt_exe_does_not_exist' 
     341end;