home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 3
/
CDPDIII.bin
/
fish
/
841-850
/
ff841
/
powerdata
/
installation
/
install_powerdata.iconx
next >
Wrap
Text File
|
1993-03-30
|
2KB
|
72 lines
FailAt 20
Echo "PowerData installation script for use with IconX"
Echo "Copyright © 1992, 1993, Michael Berg"
Echo ""
Echo "Installing libraries:"
Echo " reqtools.library"
Version > NIL: reqtools.library 37
If NOT WARN
Echo " You already have:
" NOLINE
Version reqtools.library
Echo "" NOLINE
Ask " Do you want to install version
38.1022
of reqtools.library?"
If WARN
Echo " Copying reqtools.library to your LIBS: ..."
Copy >NIL: /libs/reqtools.library LIBS:
Else
Echo " Skipped"
EndIf
EndIf
Echo " powerpacker.library"
Version > NIL: powerpacker.library 35
If NOT WARN
Echo " You already have:
" NOLINE
Version powerpacker.library
Echo "" NOLINE
Ask " Do you want to install version
35.344
of powerpacker.library?"
If WARN
Echo " Copying powerpacker.library to your LIBS: ..."
Copy >NIL: /libs/powerpacker.library LIBS:
Else
Echo " Skipped"
EndIf
EndIf
Avail >NIL: FLUSH
Echo ""
If EXISTS Locale:Catalogs
Ask "Do you wish to install the PowerData catalog files? [y/n]: "
If WARN
Copy >NIL: Locale Locale: All
Echo "Catalogs installed"
EndIf
Else
Echo "Catalog files not installed -- no Locale directory found"
EndIf
If EXISTS SYS:Tools/Commodities
SetEnv TargetDir Sys:Tools/Commodities
Else
SetEnv TargetDir Sys:
Endif
Ask "Do you wish to install the ARexx version of PowerData? [y/n]: "
If WARN
SetEnv SourceFile PowerDataARexx
Else
SetEnv SourceFile PowerData
EndIf
Echo "Installing the PowerData executable in $TargetDir..."
Copy >NIL: /$SourceFile $TargetDir
Copy >NIL: /$SourceFile.info $TargetDir
Echo "*nDone. Now close the window."