home *** CD-ROM | disk | FTP | other *** search
- Resident C:Assign PURE
- Resident C:Copy PURE
- Failat 21
-
-
- Ask "Proceed with Install (y/n)?"
-
- If NOT WARN
- Echo "Goodbye"
- EndCLI >Nil:
- Endif
- Echo "Installing `The Zoo Issue 2: Tuesday' to hard drive"
- Echo "This script will create it's own drawer called `Zoo2'"
- Ask "Press Return to set destination for `Zoo2' drawer."
-
- ;---------------------------------------------- Get Location for drawer.
- Echo >Env:Zoo.temp0 "Assign ZOO: " NOLINE
- RequestFile >>Env:Zoo.temp0 DRAWER "SYS:" TITLE "Zoo2 Drawer Destination..." DRAWERSONLY
- Execute >Nil: Env:Zoo.temp0
- Delete >Nil: Env:Zoo.temp0
-
- ;---------------------------------------------- Create drawer & icon.
- MakeDir Zoo:Zoo2
- If Exists SYS:Prefs/Env-Archive/Sys/def_drawer.info
- Copy SYS:Prefs/Env-Archive/Sys/def_drawer.info Zoo:Zoo2.info
- Else
- Copy Zoo#2a:Zoo#2.info Zoo:Zoo#2.info
- Endif
-
- ;---------------------------------------------- Copy files to Zoo:
- Echo "*nCopying Zoo2.exe"
- Copy >Nil: Zoo#2a:Zoo2.exe Zoo:Zoo2/
- Echo "Copying other files from Disk 1"
- Copy Zoo#2a:C ALL Zoo:Zoo2/c QUIET
- Copy Zoo#2a:Devs ALL Zoo:Zoo2/Devs QUIET
- Copy Zoo#2a:Libs ALL Zoo:Zoo2/Libs QUIET
- Copy Zoo#2a:Mod ALL Zoo:Zoo2/ QUIET
- Copy Zoo#2a:Pics ALL Zoo:Zoo2/Pics QUIET
- Copy Zoo#2a:S ALL Zoo:Zoo2/s QUIET
- Copy Zoo#2a:LoADEr ALL Zoo:Zoo2/ QUIET
- Copy Zoo#2a:c/Zoo2 ALL Zoo:Zoo2/ QUIET
- Copy Zoo#2a:c/Zoo2.info ALL Zoo:Zoo2/ QUIET
-
- ;---------------------------------------------- Files from Disk 2
- Assign >Nil: Zoo#2b: EXISTS
- If WARN
- Echo "Insert disk 2 in any drive"
- Endif
- ;------------------ Wait for disk
- lab DISK2
- Assign >Nil: Zoo#2b: EXISTS
- If WARN
- Skip DISK2 BACK
- Endif
-
- Echo "Copying files from Disk 2"
- Copy Zoo#2b:Fonts ALL Zoo:Zoo2/Fonts QUIET
- Copy Zoo#2b:Pics ALL Zoo:Zoo2/Pics QUIET
- Copy Zoo#2b:edited_articles ALL Zoo:Zoo2/Edited_Articles QUIET
-
- Assign ZOO: DISMOUNT
- Resident Assign REMOVE
- Resident Copy REMOVE
- Echo "Installation Completed"
- Echo "Please Reset Before Running"
-