home *** CD-ROM | disk | FTP | other *** search
- ; A-Max Install Script
- ; SD 23-Aug-93
- ; Copyright 1993 S.M.Douglas.
-
-
- (set sourcedisk "A-MaxIV:")
-
-
- (set destdir (askdir (prompt "Where would like A-Max Version 4.0 installed?\n")
- (help @askdir-help)
- (default (getassign "SYS"))))
-
- (copyfiles (source (tackon sourcedisk "A-MaxIV"))
- (dest destdir)
- (pattern "(A-MaxStartup|A-MaxDiskTransfer|ReadMe)#?")
- (infos)
- (prompt "Installing Startup program\n")
- (help "A-MaxStartup - Starts the A-Max software and hardware.\n"
- " Contains Preferences options for A-Max.\n"
- "A-MaxDiskTransfer - Reads and creates 800K disks with the\n"
- " Plus card.\n"
- "ReadMe - Changes and updates to the User's Guide.\n\n"
- @copyfiles-help))
-
- (tooltype
- (dest destdir)
- ; (noposition)
- )
-
- (set devdir (askdir (prompt "Where is your usual system DEVS: directory?\n")
- (help @askdir-help)
- (default (getassign "DEVS"))))
-
- (copyfiles (source (tackon sourcedisk "DEVS/A-MaxVCtrls"))
- (dest (tackon devdir "A-MaxVCtrls"))
- (pattern "#?")
- (infos)
- (prompt "Installing A-Max Video Controller Drivers\n")
- (help "An A-Max specific driver is required for third party\n"
- "video boards.\n\n"
- @copyfiles-help))
-
- (copyfiles (source (tackon sourcedisk "DEVS/A-MaxFileDevices"))
- (dest (tackon devdir "A-MaxFileDevices"))
- (pattern "#?")
- (infos)
- (prompt "Installing A-Max Utilities\n")
- (help "A-Max Utilities are supplied as a File Device which\n"
- "will be mounted by A-MaxStartup.\n\n"
- @copyfiles-help))
-
- (copyfiles (source (tackon sourcedisk "A-MaxIV"))
- (dest (tackon devdir "/c"))
- (pattern "A-MaxInit")
- (infos)
- (prompt "Installing A-MaxInit\n")
- (help "A-MaxInit is required in your s:Startup-Sequence\n"
- "to run A-Max.\n\n"
- @copyfiles-help))
-
- (run (cat
- "c:copy \""
- (tackon devdir "/S/Startup-Sequence")
- "\" \""
- (tackon devdir "/S/Startup-Sequence.B4A-MaxInit")
- "\"")
- (prompt "Making backup copy of s:Startup-Sequence" )
- )
-
- ;only backup once
- (run (cat
- "c:protect \""
- (tackon devdir "/S/Startup-Sequence.B4A-MaxInit")
- "\" -d"))
-
- (run (cat
- "c:join \""
- (tackon sourcedisk "A-MaxIV/SeqFrag")
- "\" \""
- (tackon devdir "/S/Startup-Sequence.B4A-MaxInit")
- "\" to \""
- (tackon devdir "/S/Startup-Sequence")
- "\"")
-
- (prompt "Altering s:Startup-Sequence" )
- )
-
-
-
- (set @default-dest destdir)
-