installer/UnitfrmMain.pas
changeset 417 e4a791e7e3e6
parent 416 ce19c95e3f93
     1.1 --- a/installer/UnitfrmMain.pas	Sat Oct 13 20:10:19 2007 +0000
     1.2 +++ b/installer/UnitfrmMain.pas	Sat Oct 13 20:15:58 2007 +0000
     1.3 @@ -187,7 +187,7 @@
     1.4        eStr.Free;
     1.5      // check for orangebox directory
     1.6      Source := True;
     1.7 -    if (eStr.IndexOf('orangebox') <> -1) then begin
     1.8 +    if (AnsiSameText(ExtractFileName(trvDirectories.Selected.Text), 'tf')) then begin
     1.9        case MessageBox(Handle, 'It looks like your server is using the OrangeBox engine. Would you like to install the appropriate binaries for it?', PChar(Application.Title), MB_ICONQUESTION + MB_YESNOCANCEL) of
    1.10          mrYes: Source := False;
    1.11          mrNo: Source := True;