home *** CD-ROM | disk | FTP | other *** search
-
- ; Install script for LastAlert2
-
- (set #bad-kick
- (cat "You must be using Kickstart 2.04 or higher to use LastAlert2."
- ))
-
- ;=============================================================================
-
- ; make sure we are running under a 2.04 ROM
-
- (if (< (/ (getversion) 65536) 37)
- (
- (abort #bad-kick)
- ))
-
- ;=============================================================================
-
- (set name
- (askfile
- (prompt "OK, where to install LastAlert2 ??")
- (help @askfile-help)
- (default "SYS:WbStartup")
- )
- )
-
- (copyfiles
- (
- (prompt "Copying LastAlert2...")
- (help @copyfiles-help)
- (source "")
- (choices "LastAlert2")
- (dest name)
- ))
-
- ;=============================================================================
-
- (set icon
- (askchoice
- (prompt "What icon do you want ??")
- (help @askoptions-help)
- (choices "Magic Workbench Icon" "Ugly 4 Colors Icon")
- (default 0)
- )
- )
-
-
- (if (= icon 1)
- (copyfiles
- (
- (prompt "Copying LastAlert2.info...")
- (help @copyfiles-help)
- (source "")
- (choices "4 Colors Icon/LastAlert2.info")
- (dest name)
- ))
- (copyfiles
- (
- (prompt "Copying LastAlert2.info...")
- (help @copyfiles-help)
- (source "")
- (choices "LastAlert2.info")
- (dest name)
- ))
- )
-
- ;=============================================================================
-