Changeset 5273

Show
Ignore:
Timestamp:
01/31/10 14:39:30 (7 months ago)
Author:
pmoura
Message:

Update the Windows installer script in order to check for the new name of the SWI-Prolog executable (swipl-win.exe) when creating the integrations shortcuts.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/RELEASE_NOTES.txt

    r5270 r5273  
    11================================================================ 
    22Logtalk - Open source object-oriented logic programming language 
    3 Release 2.38.2 
     3Release 2.38.3 
    44 
    55Copyright (c) 1998-2010 Paulo Moura.        All Rights Reserved. 
     
    1212RELEASE NOTES 
    1313============= 
     14 
     15 
     162.38.3 - February ??, 2010 
     17 
     18    Update the Windows installer script in order to check for the new 
     19    name of the SWI-Prolog executable (swipl-win.exe) when creating the 
     20    integrations shortcuts. 
    1421 
    1522 
  • trunk/scripts/windows/logtalk.iss

    r5256 r5273  
    408408begin 
    409409  if RegQueryStringValue(HKLM, 'Software\SWI\Prolog\', 'home', Home) then 
    410     Result := Home + '\bin\plwin.exe' 
     410    if FileExists(Home + '\bin\plwin.exe') then 
     411      Result := Home + '\bin\plwin.exe' 
     412    else if FileExists(Home + '\bin\swipl-win.exe') then 
     413      Result := Home + '\bin\swipl-win.exe' 
     414    else begin 
     415      Warning := 'Failed to detect SWI-Prolog executable.' + Chr(13) + 'Logtalk integration shortcut not created.'; 
     416      MsgBox(Warning, mbError, MB_OK); 
     417      Result := 'lgt_exe_does_not_exist' 
     418    end 
    411419  else begin 
    412420    Warning := 'Failed to detect SWI-Prolog installation.' + Chr(13) + 'Logtalk integration shortcut not created.';