home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 79
/
af079sub.adf
/
LAUNCHPAD
/
launch.lzx
/
launchpadv41
/
LaunchPadInstall
< prev
next >
Wrap
Text File
|
1997-05-09
|
3KB
|
106 lines
; $VER: V4.1 LaunchPad Installation 4.1 (4.6.95)
; Script to install V4.1 of LaunchPad
(set newHandlerVersion (getversion "LaunchPad"))
(set newVer (/ newHandlerVersion 65536))
(set newRev (- newHandlerVersion (* newVer 65536)))
(complete 0)
(set #introduction
(cat "\n\nThis program lets you install V" ("%ld.%ld" newVer newRev) " of LaunchPad "
))
(set #important
(cat "\n***************************************************** "
"* LaunchPad is CookieWare!! * "
"***************************************************** "
"* This means you will have to send me * "
"* cookies if you use LaunchPad. Send them to: * "
"* Martin Stengle * "
"* Hofmarkstr.1 * "
"* 81211 Germering * "
"* Germany * "
"***************************************************** "
"\nPlease abort this install and delete these files if "
"you can't comply with these instructions\n\n "
))
(set #info
(cat "LaunchPad is a program that lets you start any "
"application from its window by simply selecting "
"the a button with the mouse. You can start either "
"from WorkBench, CLI, Batch, AREXX, or define "
"pop-up- and pull-down-menus in the display. "
))
(set #which-launchpad
(cat "In which directory should LaunchPad be installed? "
))
(set #which-launchpad-help
(cat "\nThis section lets you choose on which hard drive directory "
"LaunchPad will be installed. This should normally go to the "
"directory SYS:WBStartup.\n\n"
@askdir-help
))
(set #ask-language
(cat "Which language do you want to install:"
))
(set #ask-language-help @askoptions-help
)
(set #WBHandler-text
(cat "\nInstalling WBStart-Handler\n\nCopyright ©1991-93 Stefan Becker"
))
(set #WBHandler-help
(cat "This will copy WBStart-Handler into your L: directory.\nCopyright ©1991-93 Stefan Becker\n\n"
@copylib-help
))
(complete 0)
(message #introduction)
(complete 10)
(message #important)
(complete 20)
(message #info)
(complete 30)
(set target1
(askdir (prompt #which-launchpad)
(help #which-launchpad-help)
(default "SYS:WBStartup")
(disk)))
(complete 50)
(set formatmask (askoptions (prompt #ask-language)
(help #ask-language-help)
(choices "deutsch"
"english"
)
(default 2)
)
)
(if (IN formatmask 0)
(copyfiles (source 'catalogs/deutsch/LaunchPad.catalog') (dest 'LOCALE:catalogs/deutsch'))
)
(complete 70)
(copyfiles (source 'LaunchPad') (dest target1))
(complete 80)
(copyfiles (source 'LaunchPad.info') (dest target1))
(copyfiles (source 'LaunchPad.prefs') (dest 'envarc:' ))
(copyfiles (source 'LaunchPad.prefs') (dest 'env:' ))
(complete 90)
(copylib (prompt #WBHandler-text) (help #WBHandler-help) (source "WBStart-Handler") (dest "L:") (confirm) )
(transcript '\nLaunchPad installed to 'target1'\n')
(complete 100)