home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wf.zip
/
Shareware
/
REGISTER.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-07-28
|
884b
|
32 lines
/* install-script for Object WorkFrame*/
Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
Call SysLoadFuncs
say "installing Object WorkFrame starts..."
curDir = directory();
instPath = 'ASSOCFILTER=*.OWF;EXENAME=';
instPath = insert(instPath, curDir);
instPath = insert(instPath, '\wf.exe;STARTUPDIR=');
instPath = insert(instPath, curDir);
SysIni( 'USER', 'Object WorkFrame', 'InstPath', curDir);
say "registering ObjectWorkFrame..."
if SysCreateObject('WPProgram', 'Object WorkFrame', '<WP_DESKTOP>', instPath) then
say "program registered";
else
say "registering Object WorkFrame failed, perhaps allready installed"
if SysCreateObject('WPDataFile', 'ObjectWorkFrame.OWF', '<WP_TEMPS>', 'TEMPLATE=YES') then
say "template registered"
else
say "registering template failed, perhaps allready installed\n"
say "install done"