home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / sirexx.zip / REXXSAMP.PKG < prev   
Text File  |  1994-07-25  |  4KB  |  86 lines

  1. ******************************************************************************
  2. * SAMPLE REXXSAMP.PKG                                                        *
  3. *                                                                            *
  4. * ABSTRACT:                                                                  *
  5. * --------                                                                   *
  6. * This file a part of a package made available free to all paying Software   *
  7. * Installer customers.  This package comprises of a .DLL that contains       *
  8. * entry points for the Software Installer functions getvar and putvar.       *
  9. * The package also includes a sample using these functions.                  *
  10. *                                                                            *
  11. * COPYRIGHT:                                                                 *
  12. * ----------                                                                 *
  13. * Copyright (C) International Business Machines Corp., 1991, 1994.           *
  14. *                                                                            *
  15. * DISCLAIMER OF WARRANTIES:                                                  *
  16. * -------------------------                                                  *
  17. * The following [enclosed] code is sample code created by IBM                *
  18. * Corporation.  This sample code is not part of any standard IBM product     *
  19. * and is provided to you solely for the purpose of assisting you in the      *
  20. * development of your applications.  The code is provided "AS IS",           *
  21. * without warranty of any kind.  IBM shall not be liable for any damages     *
  22. * arising out of your use of the sample code, even if they have been         *
  23. * advised of the possibility of such damages.                                *
  24. ******************************************************************************
  25. *!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  26. * Note:                                                                      *
  27. *                                                                            *
  28. * In order for this package to work properly you must rename the             *
  29. * EPFIREXX.DLL to match your prefix.  To rename this .DLL, issue the         *
  30. * command EPFRCOPY EPFIREXX.DLL ABC  where ABC is your 3 letter prefix.      *
  31. * EPFRCOPY.EXE is installed in the C:\IBB\BIN directory when you install     *
  32. * Software Installer.                                                        *
  33. *!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  34. SERVICELEVEL
  35.    level = 000000
  36.  
  37. PATH
  38.    FILE = C:\REXXSAMP,
  39.    FILELABEL = 'Executable directory:'
  40.  
  41. FILE
  42.    WHEN = 'OUTOFDATE',
  43.    PWSPATH = 'FILE',
  44.    SOURCE = 'DRIVE: EPFIREXX.DLL',
  45.    UNPACK = NO,
  46.    PWS = 'EPFIREXX.DLL',
  47.    DATE = '940117',
  48.    TIME = '1230'
  49.  
  50. FILE
  51.    WHEN = 'OUTOFDATE',
  52.    PWSPATH = 'FILE',
  53.    SOURCE = 'DRIVE: REXXSAMP.CMD',
  54.    UNPACK = NO,
  55.    PWS = 'REXXSAMP.CMD',
  56.    DATE = '940117',
  57.    TIME = '1230'
  58.  
  59. ********************************************************
  60. * Invoke the REXX exit (only on INSTALL)               *
  61. ********************************************************
  62. FILE
  63.    EXITWHEN = 'INSTALL',
  64.    EXIT     = 'EXEC FG TW %EPFIFILEDIR%/REXXSAMP.CMD'
  65.  
  66. ********************************************************
  67. * If action is INSTALL and the MYREXXVAR               *
  68. * installation variable is ANDREI, then perform        *
  69. * a fullscreen DIR command                             *
  70. ********************************************************
  71. FILE
  72.    EXITWHEN = 'INSTALL && "%MYREXXVAR%"==ANDREI',
  73.    EXIT     = 'EXEC FG FS CMD.EXE /C DIR/P'
  74.  
  75. ********************************************************
  76. * If the file is OUTOFDATE and the MYREXXVAR           *
  77. * installation variable is ANDREI, then transfer       *
  78. * the file, else don't transfer it                     *
  79. ********************************************************
  80. FILE
  81.    WHEN = 'OUTOFDATE && "%MYREXXVAR%"==ANDREI',
  82.    PWSPATH = 'FILE',
  83.    SOURCE = 'DRIVE: REXXSAMP.DOC',
  84.    UNPACK = NO,
  85.    PWS = 'REXXSAMP.DOC'
  86.