Changeset 969


Ignore:
Timestamp:
Feb 22, 2008, 9:24:05 PM (17 years ago)
Author:
John Small
Message:

Ticket 231: Stop auto-select of FM/2 Utilities of already installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/warpin/fm2.wis.in

    r964 r969  
    2222   WARPIN VERSION 0.9.9  is required for EXTRACTFROMPCK.
    2323
     24   22 Feb 08 JBS Ticket 231: Stop auto-select of FM/2 Utilities of already installed.
     25
    2426-->
    2527<WARPIN VERSION 0.9.20>
     
    3133   else
    3234      return '5'
     35</REXX>
     36
     37<REXX NAME=FM2UtilitiesSelect>
     38   call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
     39   call SysLoadFuncs
     40   warpin_path = strip(SysIni(, 'WarpIN', 'Path'), 'T', '00'x)
     41   database_file = warpin_path || '\DATBAS_' || left(SysBootDrive(), 1) || '.INI'
     42   ver = "@@@FM2UTILS_VER@@@"  /* PACKAGEID (do not delete this comment, SED needs this */
     43   do forever
     44     parse var ver '\' major '\' minor '\' sublevel '\' revision
     45     if revision = '' then
     46       ver = ver || '\0'
     47     else
     48       leave
     49   end
     50   fm2_utils_app = "Netlabs\FM2 Utilities\FM2Utils" || ver
     51   call SysIni database_file, fm2_utils_app, 'ALL:', 'keys.'
     52   if keys.0 = 0 then
     53        return 'SELECT'
     54   else
     55        return ''
    3356</REXX>
    3457
     
    88111  EXTERNAL="fm2utils@@@FM2UTILS_VER@@@.wpi"
    89112  TARGET="$(1)\Utils"
    90   SELECT
     113  =("FM2UtilitiesSelect")
    91114  CREATEOBJECT="WPFolder|FM/2 Utilities|<WP_DESKTOP>|OBJECTID=<FM2_Utilities>;"
    92115  CREATEOBJECT="WPProgram|Make Object|<FM2_Utilities>|EXENAME=$(7)\makeobj.cmd;PARAMETERS=%*;OBJECTID=<FM2MakeObj>;"
     
    103126PTREE and many more.
    104127</PCK>
    105 
    106128
    107129</HEAD>
Note: See TracChangeset for help on using the changeset viewer.