home *** CD-ROM | disk | FTP | other *** search
- /* TableWPS - Install Table.exe */
-
- IF RxFuncQuery('SysLoadFuncs') THEN DO
- CALL RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
- CALL SysLoadFuncs
- END
- CALL SysCls
- SAY ' '
- SAY 'This program will create Program Object for Table.exe on your Desktop,'
- SAY ' '
- SAY 'Press 'Y' (and Enter) to start Installation, any other key to exit...'
- PULL answer
- IF answer <> "Y" THEN DO
- Exit
- END
- SAY ' '
- ProgramTitle = 'Table 1.01'
- EXE = 'Table.exe'
- InstallDir = DIRECTORY()
- WorkDir = DIRECTORY()
- Setup = 'EXENAME='InstallDir'\'EXE';STARTUPDIR='WorkDir''
- Action = Replace
- SAY 'Creating Program object - Table'
- CALL SysCreateObject 'WPProgram',ProgramTitle,'<WP_DESKTOP>',Setup,Action
- SAY ' '
- SAY 'Program object created!'
- SAY ' '
- SAY 'Installation complete. You can start Table now.'
- SAY 'Press any key to exit...'
- PULL answer
- Exit
-
- /* Kraj procedure TableWPS */