home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 9
/
FreshFishVol9-CD2.bin
/
bbs
/
util
/
defdticon-1.4.lha
/
DefDTIcon
/
Install_DDTI
< prev
next >
Wrap
Text File
|
1992-09-02
|
1KB
|
74 lines
; DefDTIcon install script for CBM Installer
; My first using CBM installer :-!
;$VER: DDTI_install 1.2
;$AUTHOR: Lee Kindness
; make sure OS 2+
(set vernum (getversion))
(set ver (/ vernum 65536))
(if (< vernum 37)
(abort 'Workbench 2 or higher required')
)
; copy datatype descriptors
(if (>= vernum 39)
(copyfiles
(prompt 'Copying DataType descriptors to DEVS:DataTypes')
(help 'These files are required to determine datatypes.\n\n'@copyfiles-help)
(source 'Datatypes')
(dest 'DEVS:Datatypes')
(pattern '#?')
(infos)
(confirm)
)
)
;copy icons
(copyfiles
(prompt 'Copying icons to ENVARC:Sys/')
(help 'These are the default icons.\n\n'@copyfiles-help)
(source 'Icons')
(dest 'ENVARC:Sys')
(pattern '#?.info')
(confirm)
)
;copy AskDDTI
(copyfiles
(prompt 'Copying commands to C:')
(help 'This is a support file that tells you what default icon would be loaded for a certain file.\n\n'@copyfiles-help)
(source 'AskDDTI')
(dest 'C:')
(confirm)
)
(set name
(askdir
(prompt 'Where will DefDTIcon be copied to?')
(help 'This is where you want the main program to be located.\n\n'@askdir-help)
(default 'SYS:Utilities')
)
)
(set @default-dest name)
(copyfiles
(help @copyfiles-help)
(source 'DefDTIcon')
(dest name)
(infos)
)
(transcript '\nDefDTIcon installed to '@default-dest'\n')
(exit '** A reboot is neccesary before using DefDTIcon **\n I hope you find DefDTIcon useful.\n LSK _\\\\//')