home *** CD-ROM | disk | FTP | other *** search
- /***********************************************************************
- @ECHO OFF
- ECHO OS/2 Procedures Language 2/REXX not installed.
- ECHO Run Selective Installation from the Setup Folder to
- ECHO install REXX support.
- pause
- exit
- ***********************************************************************
- * INSTCMSU *
- * *
- * Purpose: To CD to the directory that contains the Communication *
- * manager and call its install *
- * *
- ***********************************************************************
- * (C) Copyright IBM Corporation 1994 *
- ***********************************************************************/
- parse arg CDr .
- trace 'o'
-
- call Initialize
-
- if RxCaDD.OpType = 'REMOVE'
- then do
- call 'MessageBox' Ctl.!ProgName, 'Remove is not supported. Add the application',
- 'again to recreate the program object.'
- call 'CaDDExit'
- exit 0
- end /* Do */
-
-
- CurDir = directory()
- call directory CDr'comm\commgr\programs'
-
- '@cmsetup'
- InstallRC = RC
-
- call directory CurDir
-
-
- call 'CaddComplete' 12
- call 'CaddExit'
- exit 0
-
-
- Initialize:
- /*******************************************************************/
- /* Load required REXXUTIL (part of 2.0) utilites and the required */
- /* RXUTILS (part of CORE and avail on OS2TOOLS) utilites */
- /*******************************************************************/
- CurDir = directory()
- call directory CDr'INSTALL'
- call Rxfuncadd 'CADDINIT', 'RXCADD', 'CADDINIT'
- signal on syntax
- ver = 'CAddInit'()
- signal off syntax
- if abbrev(ver, 'ERROR:')
- then call syntax
- call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
- call SysLoadFuncs
- return
-