home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
pmbu12.zip
/
InstEng.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-07-20
|
1KB
|
66 lines
/* install.cmd ** Installationroutine für PMBackup */
call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
call SysLoadFuncs
call SysCls
say
say "***** Installation of PMBackup *****"
say
say
say "Please enter the full path"
say "you want PMBackup to be installed :"
say
pull progPath
say
curDir = directory()
rc = SysMkDir(progPath)
if (rc <> 0) then
do
say "Error creating path : " progPath
say
say " try to continue Installation !"
end
say
/* Dateien kopieren */
say "copy file PMBUE.Exe from " curdir " to " progPath
quelle = curDir||"\PMBUE.EXE"
ziel = progPath||"\PMBUE.EXE"
copy quelle ziel
say "copy file PMBU.INI von " curdir " nach " progPath
quelle = curDir||"\PMBU.INI"
ziel = progPath||"\PMBU.INI"
copy quelle ziel
say "copy file Readme.txt von " curdir " nach " progPath
quelle = curDir||"\Readme.txt"
ziel = progPath||"\Readme.txt"
copy quelle ziel
say "copy file Register.txt von " curdir " nach " progPath
quelle = curDir||"\Register.txt"
ziel = progPath||"\Register.txt"
copy quelle ziel
say "copy file history.txt von " curdir " nach " progPath
quelle = curDir||"\history.txt"
ziel = progPath||"\history.txt"
copy quelle ziel
say
say "Creating program object on WPS"
exePath = progPath||"\PMBUE.EXE"
call SysCreateObject "WPProgram", "PMBackup", "<WP_DESKTOP>",,
"EXENAME="exePath
call SysDropFuncs
exit