Changeset 1609 for trunk


Ignore:
Timestamp:
Aug 8, 2011, 1:56:39 AM (14 years ago)
Author:
John Small
Message:

Ticket 460: Fix bug in standalone installation of FM/2 Utilities

Location:
trunk/warpin
Files:
2 edited

Legend:

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

    r1578 r1609  
    1616   28 Oct 08 JBS Ticket 294: Add support for new object icons.
    1717   12 Apr 10 JBS Ticket 430: Add deletion of the now obsolete FM2RES.STR, if present
     18   07 Aug 11 JBS Ticket 460: Fix bug in standalone installation of FM/2 Utilities (and
     19                             correct a couple of object settings)
    1820
    1921   NOTE: If a NON-EXTERNAL package (i.e. a package whose files
     
    7678  CREATEOBJECT="WPFolder|File Manager/2|<WP_DESKTOP>|ICONFILE=$(1)\icons\fm2fldr.ICO;ICONNFILE=1,$(1)\icons\fm2fldr2.ICO;CCVIEW=NO;OBJECTID=<FM3_Folder>;"
    7779  CREATEOBJECT="FAIL WPProgram|FM/2|<FM3_Folder>|EXENAME=$(1)\fm3.exe;PARAMETERS=%*;STARTUPDIR=$(1);CCVIEW=YES;OBJECTID=<FM/2>;"
    78   CREATEOBJECT="WPProgram|FM/2|<FM3_Folder>|EXENAME=$(1)\fm3.exe;STARTUPDIR=$(1);CCVIEW=YES;OBJECTID=<FM/2>;"
     80  CREATEOBJECT="WPProgram|FM/2|<FM3_Folder>|EXENAME=$(1)\fm3.exe;STARTUPDIR=$(1);OBJECTID=<FM/2>;"
    7981  CREATEOBJECT="FAIL WPProgram|FM/2 Lite|<FM3_Folder>|EXENAME=$(1)\fm4.exe;PARAMETERS=%*;STARTUPDIR=$(1);CCVIEW=YES;TITLE=FM/2 LITE;OBJECTID=<FM/2 LITE>;"
    80   CREATEOBJECT="WPProgram|FM/2 Lite|<FM3_Folder>|EXENAME=$(1)\fm4.exe;STARTUPDIR=$(1);CCVIEW=YES;TITLE=FM/2 LITE;OBJECTID=<FM/2 LITE>;"
     82  CREATEOBJECT="WPProgram|FM/2 Lite|<FM3_Folder>|EXENAME=$(1)\fm4.exe;STARTUPDIR=$(1);TITLE=FM/2 LITE;OBJECTID=<FM/2 LITE>;"
    8183  CREATEOBJECT="WPFolder|FM/2 Tools|<FM3_Folder>|ICONFILE=$(1)\icons\toolbox.ICO;ICONNFILE=1,$(1)\icons\toolbox2.ICO;OBJECTID=<FM3_Tools>;"
    8284  CREATEOBJECT="WPFolder|FM/2 Docs|<FM3_Folder>|ICONFILE=$(1)\icons\docs.ICO;ICONNFILE=1,$(1)\icons\docs2.ICO;OBJECTID=<FM3_Docs>;"
     
    107109  CLEARPROFILE="USER\FM/2"
    108110
    109 
    110111>This package contains the base File Manager/2 (FM/2) package.
    111112
     
    130131  CREATEOBJECT="WPProgram|Delete Tree|<FM2_Utilities>|EXENAME=*;PROGTYPE=WINDOWABLEVIO;PARAMETERS=/c ($(7)\deltree.exe [Enter directory to delete:] || pause);OBJECTID=<FM2Deltree>;"
    131132  CONFIGSYS="SET PATH=$(7); | ADDRIGHT"
    132   EXECUTE="$(7)\shdwmgr FM2UTILS"
     133  EXECUTE="$(1)\Utils\shdwmgr FM2UTILS"
    133134>This package contains the FM/2 Utilities, a
    134135collection of more than 60  utilities which may
     
    166167</PAGE>
    167168
    168 
    169169<!-- The TYPE=CONTAINER will list the packages which can be installed. -->
    170170<PAGE INDEX=3 TYPE=CONTAINER>
     
    172172<TEXT>Select your installation directory.</TEXT>
    173173</PAGE>
    174 
    175174
    176175<PAGE INDEX=4 TYPE=CONFIGURE>
     
    204203<TEXT>Please select/deselect the desired configuration option(s).
    205204
    206 The CONFIG.SYS modification is the addition of the FM/2 Utilities installation directory to end of the PATH (if it is not already on the PATH), simplifying access to the utiities from the command line.
    207 
    208 Uncheck "Modify CONFIG.SYS" if you do not want your PATH changed.</TEXT>
    209 </PAGE>
    210 
     205If "FM/2 Utilities" have been selected, a "CONFIG.SYS modification" will appear below. This modification is the addition of the FM/2 Utilities installation directory to end of the PATH (if it is not already on the PATH), simplifying access to the utiities from the command line.
     206
     207Uncheck "Modify CONFIG.SYS" (if present) if you do not want your PATH changed.</TEXT>
     208</PAGE>
    211209
    212210</BODY>
  • trunk/warpin/fm2Utils.wis

    r1239 r1609  
    11<!--
    22 $Id$
     3
     4 Change log:
     5   07 Aug 11 JBS Ticket 460: Fix bug in standalone installation of FM/2 Utilities
    36
    47 WARPIN VERSION 0.9.20 is required for PACKAGEID's with revision levels.
     
    1316   warpin_path = strip(SysIni(, 'WarpIN', 'Path'), 'T', '00'x)
    1417   database_file = warpin_path || '\DATBAS_' || left(SysBootDrive(), 1) || '.INI'
    15    call SysIni database_file, 'ALL:', 'apps.'
    1618   fm2_app_prefix = 'Netlabs\FM2\Base\'
    1719   fm2_app_prefix_len = length(fm2_app_prefix)
    18    do a = 1 to apps.0
    19       if left(apps.a, fm2_app_prefix_len) = fm2_app_prefix then
    20          leave
    21    end
    22    if a > apps.0 then
    23       target_path = WirexxGetEnv('WARPIN_DEFAULTTOOLSPATH')
    24    else
    25       target_path = strip(SysIni(database_file, apps.a, 'TargetPath'), 'T', '00'x) || '\Utils'
     20   target_path = WirexxGetEnv('WARPIN_DEFAULTTOOLSPATH') || '\FM2Utils'
     21   if SysIni( database_file, 'ALL:', 'apps.') \= 'ERROR:' then
     22      do a = 1 to apps.0
     23         if left(apps.a, fm2_app_prefix_len) = fm2_app_prefix then
     24            do
     25               target_path = strip(SysIni(database_file, apps.a, 'TargetPath'), 'T', '00'x) || '\Utils'
     26               leave
     27            end
     28      end
    2629   return target_path
    2730</REXX>
    2831
    2932<PCK INDEX=7
    30   PACKAGEID="Netlabs\FM2 Utilities\FM2Utils\1\0\0"
     33  PACKAGEID="Netlabs\FM2 Utilities\FM2Utils\1\1\1"
    3134  TITLE="FM/2 Utilities"
    3235  TARGET="=("FindFM2")"
Note: See TracChangeset for help on using the changeset viewer.