Changeset 21458 for trunk/tools/install


Ignore:
Timestamp:
Sep 24, 2010, 5:23:27 PM (15 years ago)
Author:
ydario
Message:

Add new registry keys, make config.sys changes optional, some improved scripting.

Location:
trunk/tools/install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/install/makefile

    r5425 r21458  
    1616STATIC_CRT = 1
    1717NO_MAIN_BIN_COPY = 1
    18 CLEANEXTRAS = odin32inst.wis *.wpi
     18CLEANEXTRAS = odin32inst.wis *.wpi config.sys
    1919
    2020
  • trunk/tools/install/odin.cmd

    r21443 r21458  
    7878    end
    7979
     80    /* empty (dummy) config.sys for package#5 */
     81    rc = lineout('config.sys', '');
     82    rc = lineout('config.sys');
     83
    8084    rc = PackFiles('odin32inst.wis', asArg.i, MakeArchiveName(asArg.i));
    8185    if (rc <> 0) then
     
    128132
    129133/* create warpin installation script */
    130 rc = lineout(sInstFile, '<WARPIN VERSION="0.9.6" OS="OS2_3x">');
     134rc = lineout(sInstFile, '<WARPIN VERSION="1.0.19" OS="OS2_3x">');
    131135rc = lineout(sInstFile, '<HEAD>');
    132136rc = lineout(sInstFile, '<TITLE>Odin32 'sType' - 'sVer'</TITLE>');
     
    157161rc = lineout(sInstFile, title);
    158162rc = lineout(sInstFile, '     EXECUTE="odininst.exe"');
    159 rc = lineout(sInstFile, '     CONFIGSYS="LIBPATH=$(1)\SYSTEM32 | ADDRIGHT"');
    160 rc = lineout(sInstFile, '     CONFIGSYS="SET PATH=$(1)\SYSTEM32 | ADDRIGHT"');
     163rc = lineout(sInstFile, '     CLEARPROFILE="USER\KLIBC\OdinPath"');
     164rc = lineout(sInstFile, '     WRITEPROFILE="USER\KLIBC\OdinPath|$(2)"');
    161165rc = lineout(sInstFile, '     >Installation of Odin System files .</PCK>');
    162166rc = lineout(sInstFile, '');
     
    185189    rc = lineout(sInstFile, '');
    186190end
     191
     192rc = lineout(sInstFile, '<PCK INDEX=5');
     193rc = lineout(sInstFile, '     PACKAGEID="Odin\Odin\Changes to Config.sys\'sPackVer'"');
     194rc = lineout(sInstFile, '     TARGET="C:\ODIN\SYSTEM32"');
     195rc = lineout(sInstFile, '     FIXED');
     196title = "     TITLE=""Update Config.sys PATH and LIBPATH""";
     197rc = lineout(sInstFile, title);
     198rc = lineout(sInstFile, '     CONFIGSYS="LIBPATH=$(1)\SYSTEM32 | ADDRIGHT"');
     199rc = lineout(sInstFile, '     CONFIGSYS="SET PATH=$(1)\SYSTEM32 | ADDRIGHT"');
     200rc = lineout(sInstFile, '     >Updates PATH and LIBPATH entries in Config.sys.</PCK>');
     201rc = lineout(sInstFile, '');
    187202
    188203rc = lineout(sInstFile, '</HEAD>');
     
    542557    call lineout sWICFile, '4 -c'||sDllDir '*.sym';
    543558
     559
     560/*
     561 * Packet 5 is only for config.sys line but it seems like we have to add something.
     562 */
     563call lineout sWICFile, '5 config.sys';
     564
     565
    544566/*
    545567 * Close input file.
Note: See TracChangeset for help on using the changeset viewer.