home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / epdf2b5.zip / install.cmd < prev    next >
OS/2 REXX Batch file  |  2002-12-01  |  972b  |  17 lines

  1. /* ePDF installation script v.02*/
  2.  
  3.  call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  4.  call SysLoadFuncs
  5.  
  6. /* Get curent directory */
  7. InstDir = directory()
  8.  
  9. say "Creating WPS objects..."
  10.  
  11. Call SysCreateObject 'WPFolder', 'ePDF', '<WP_DESKTOP>', 'OBJECTID=<ePDFFOLDER>', 'Update'
  12. Call SysCreateObject 'WPProgram', 'ePDF', '<ePDFFOLDER>', 'OBJECTID=<epdfexe>;EXENAME='||InstDir||'\ePDF.exe;STARTUPDIR='||InstDir||';PROGTYPE=PM', 'Update'
  13. Call SysCreateObject 'WPProgram', 'PrintMon PS', '<ePDFFOLDER>', 'OBJECTID=<PrintMonPS>;EXENAME='||InstDir||'\print2ps.cmd;STARTUPDIR='||InstDir||';PROGTYPE=WINDOWABLEVIO;PARAMETERS=lpt3;MINIMIZED=YES', 'Update'
  14. Call SysCreateObject 'WPProgram', 'ReadMe', '<ePDFFOLDER>', 'OBJECTID=<epdfreadme>;EXENAME=e.exe;STARTUPDIR='||InstDir||';PROGTYPE=PM;PARAMETERS=readme.txt', 'Update'
  15. Call SysCreateObject 'WPUrl', 'SubSys homepage', '<ePDFFOLDER>', 'OBJECTID=<ePDFwww>;URL=http://www.subsys.de', 'Update'
  16.  
  17. say "done."