Changeset 21442 for trunk/tools


Ignore:
Timestamp:
Sep 5, 2010, 11:35:55 PM (15 years ago)
Author:
dmik
Message:

Fixed the WPI installer generation script (didn't work with new WarpIn versions).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/install/odin.cmd

    r21298 r21442  
    128128
    129129/* create warpin installation script */
    130 rc = lineout(sInstFile, '<WARPIN>', 1);
    131 rc = lineout(sInstFile, 'VERSION=0.9.6');
    132 rc = lineout(sInstFile, 'OS=OS2_3x');
     130rc = lineout(sInstFile, '<WARPIN VERSION="0.9.6" OS="OS2_3x">');
    133131rc = lineout(sInstFile, '<HEAD>');
    134132rc = lineout(sInstFile, '<TITLE>Odin32 'sType' - 'sVer'</TITLE>');
     
    434432rc = lineout(sInstFile, '('sVer'  - 'date()')');
    435433rc = lineout(sInstFile, '</TEXT>');
    436 rc = lineout(sInstFile, '<README>');
    437 
    438 /* Insert ChangeLog. */
    439 sChangeLog = '..\..\ChangeLog';
    440 sLogLine   = linein(sChangeLog);
    441 do while (lines(sChangeLog) > 0)
    442     rc = lineout(sInstFile, sLogLine);
    443     sLogLine = linein(sChangeLog);
    444 end
    445 call stream sChangeLog, 'c', 'close';
    446 
    447 rc = lineout(sInstFile, '</README>');
     434rc = lineout(sInstFile, '<README EXTRACTFROMPCK="1">ChangeLog</README>');
    448435rc = lineout(sInstFile, '</PAGE>');
    449436rc = lineout(sInstFile, '<PAGE INDEX=5 TYPE=CONTAINER>');
     
    453440rc = lineout(sInstFile, '</TEXT>');
    454441rc = lineout(sInstFile, '</PAGE>');
     442
    455443rc = lineout(sInstFile, '<PAGE INDEX=6 TYPE=CONFIGURE>');
    456444rc = lineout(sInstFile, '<NEXTBUTTON TARGET=7>~Next</NEXTBUTTON>');
     
    509497do
    510498    say 'Failed to open '''sWICFile'''. (rc='rc')';
    511     parse rc .':'irc
     499    parse var rc .':'irc
    512500    return irc;
    513501end
Note: See TracChangeset for help on using the changeset viewer.