home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
os2
/
dmlnch11.arj
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-04-03
|
2KB
|
73 lines
/* REXX - Install for DOOM Launcher for OS/2 V 1.1 */
/* INSTALL.CMD Version 1.1 */
/* (C) Copyright 1994, by Kevin Royalty */
Call RxFuncAdd 'SysLoadFuncs','REXXUTIL','SysLoadFuncs';
Call SysLoadFuncs;
say 'Enter the drive and path where DOOM Launcher is located'
say 'ex: C:\DOOMLNCH'
pull DLPath
rc=SysCreateObject("WPFolder","DOOM Launcher! "||'0A'X||"for OS/2 V 1.1","<WP_DESKTOP>",,
"OBJECTID=<Folder>;"||,
"HELPPANEL=15685;"||,
"NOPRINT=YES;"||,
"ICONPOS=17 19;"||,
"ICONVIEW=NONGRID,"||,
"NORMAL;"||,
"TREEVIEW=LINES,"||,
"NORMAL;"||,
"DETAILSVIEW=MINI;"||,
"ICONFONT=8.Helv;"||,
"DETAILSFONT=8.Helv;"||,
"TREEFONT=14.System;"||,
"", 'UpdateIfExists');
If rc<>1 Then Say "Object: DOOM Launcher! ^for OS/2 V 1.1 could not be created/updated !";
rc=SysCreateObject("WPProgram","Registration "||'0A'X||"Information","<Folder>",,
"HELPPANEL=15684;"||,
"NOPRINT=YES;"||,
"EXENAME=EPM.EXE;"||,
"PARAMETERS=" || DLPath || "\register.txt;"||,
"PROGTYPE=PM;"||,
"STARTUPDIR=" || DLPath || ";"||,
"", 'UpdateIfExists');
If rc<>1 Then Say "Object: Registration ^Information could not be created/updated !";
rc=SysCreateObject("WPProgram","README "||'0A'X||"FIRST","<Folder>",,
"HELPPANEL=15684;"||,
"NOPRINT=YES;"||,
"EXENAME=E.EXE;"||,
"PARAMETERS=" || DLPath || "\readme.1st;"||,
"PROGTYPE=PM;"||,
"STARTUPDIR=" || DLPath || ";"||,
"", 'UpdateIfExists');
If rc<>1 Then Say "Object: README ^FIRST could not be created/updated !";
rc=SysCreateObject("WPProgram","DOOM Launcher! "||'0A'X||"Documentation","<Folder>",,
"HELPPANEL=15684;"||,
"NOPRINT=YES;"||,
"EXENAME=VIEW.EXE;"||,
"PARAMETERS=" || DLPath || "\doomlnch.inf;"||,
"PROGTYPE=PM;"||,
"STARTUPDIR=" || DLPath || ";"||,
"", 'UpdateIfExists');
If rc<>1 Then Say "Object: DOOM Launcher! ^Documentation could not be created/updated !";
rc=SysCreateObject("WPProgram","DOOM Launcher! "||'0A'X||"for OS/2 V 1.1","<Folder>",,
"HELPPANEL=15684;"||,
"NOPRINT=YES;"||,
"EXENAME=" || DLPath || "\DOOMLNCH.EXE;"||,
"PROGTYPE=DEFAULT;"||,
"STARTUPDIR=" || DLPath || ";"||,
"", 'UpdateIfExists');
If rc<>1 Then Say "Object: DOOM Launcher! ^for OS/2 V 1.1 could not be created/updated !";