home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / biz / demo / vstationdemo / installvspro < prev    next >
Text File  |  1995-03-30  |  7KB  |  125 lines

  1. (transcript "V-Station v3 beta 1-16-94")
  2. (set @user-level 2)
  3. (set @default-dest "Work:")
  4. (set diskdir (pathonly @icon))
  5.  
  6. (run "assign vs:")
  7. (run "assign vsenv:")
  8. (run "assign vsmisc:")
  9. (run "assign vshooks:")
  10.  
  11. (if (OR (exists "envarc:VStation" (noreq)) (exists "env:VStation" (noreq)))  
  12.     (if (askbool (prompt "\nUnInstall Previous VStation Variables?\n\nEnvironment variables from the previous installation of VStation have been found.\n\nSkip this part if you do not wish to delete them.\n\nProceed if you wish to remove them.")
  13.                      (choices "Proceed" "Skip")
  14.                      (help "This will delete ENVARC:VStation and ENV:VStation and their contents. These include keyboard macros, setup files, and other support files."))
  15.          ((run "delete envarc:VStation all")
  16.          (run "delete env:VStation all"))))
  17.          
  18. (if (OR (exists "envarc:VSMisc" (noreq)) (exists "env:VSMisc" (noreq))) 
  19.     (if (askbool (prompt "\nUnInstall Previous VStation Sounds?\n\nSound files from the previous installation of VStation have been found.\n\nSkip this part if you do not wish to delete them.\n\nProceed if you wish to remove them.")
  20.                      (choices "Proceed" "Skip")
  21.                      (help "This will delete ENVARC:VSMisc and ENV:VSMisc and their contents. The VSMisc files provided by the VSPro Installer are all 8-bit audio samples."))
  22.          ((run "delete envarc:VSMisc all")
  23.          (run "delete env:VSMisc all"))))
  24.          
  25. (if (OR (exists "envarc:VSHooks" (noreq)) (exists "env:VSHooks" (noreq)))  
  26.     (if (askbool (prompt "\nUnInstall Previous VStation Function Hooks?\n\nFunction hooks from the previous installation of VStation have been found.\n\nSkip this part if you do not wish to delete them.\n\nProceed if you wish to remove them.")
  27.                      (choices "Proceed" "Skip")
  28.                      (help "This will delete ENVARC:VSHooks and ENV:VSHooks and their contents. Function hooks are optional and not needed for operation of the VStation. The supplied function hooks are used to trigger sound effects."))
  29.          ((run "delete envarc:VSHooks all")
  30.          (run "delete env:VSHooks all"))))
  31.          
  32.  
  33. (set text "\nCopy VStation files to Hard Drive?\n\nProceed to selectively copy the VS files to another system directory.\n\nSkip this operation if you are running the program from floppy disk.")
  34. (set helptext "If you are installing to a hard disk, this will copy all of the files to it. If using floppy disks, skip this operation.")
  35. (if (askbool (prompt text) (choices "Proceed" "Skip")    (help helptext) (default 1))
  36.     ((set vsdir
  37.         (askdir
  38.             (prompt "Select location for new VStation directory")
  39.             (help "This will install the VStation directory and files in the directory specified here. All of the VStation files, including a duplicate of it's environment directory, will be placed in the VStation directory. Later in the installation, these environment variables can be copied to ENVARC: to improve performance, but is not required.")
  40.             (newpath)
  41.             (default @default-dest)
  42.         )
  43.     )
  44.     (set @default-dest (tackon (vsdir) "VStation"))
  45.     (makedir @default-dest
  46.         (prompt "Making destination directory..")
  47.         (help @makedir-help)
  48.         (infos)
  49.         (safe)
  50.     )
  51.     (set @prompt (cat "Select VSPro files to copy to " (@default-dest)))
  52.     (set vsfilehelp (cat 
  53.         "These files should all be selected if you are installing for the first time. "
  54.         "If an installed file is lost, you can selectively re-install it by turning off all of the others."
  55.         " The VStation must have the following files installed to operate:\n"
  56.         " VSPro          The Program\n"
  57.         " VSRexx         Support scripts\n"
  58.         " EDLOperations  ARexx-EDL tools\n"
  59.         "The other files are optional but include sounds, callback hooks setup for sound effects,"
  60.         " sample EDLs & tapelogs, a few keyboard macros, and the AmigaGuide manual."))
  61.     (copyfiles
  62.         (prompt @prompt)
  63.         (help vsfilehelp)
  64.         (source diskdir)
  65.         (dest @default-dest)
  66.         (infos)
  67.         (pattern "~(disk.info)")
  68.         (confirm)))
  69.     (set @default-dest diskdir))
  70.  
  71. (set text (cat "\nDo you wish to copy the VStation environment\nvariables to ENVARC:VStation?\n"
  72.                 "\nThese files use approximately 50K or RAM."
  73.                 "\n\nThese files will be searched for on disk relative the the VSPro program if they are not found in ENV:"
  74.                 "\n\nKeyboard macros and other features will more responsive if these files are installed."))
  75.                 
  76. (set helptext (cat "If these files are copied to ENVARC:, then they will"
  77.                          " be copied into RAM: by the startup-sequence. It will take "
  78.                          "some memory, of course, but the keyboard macros and sound files "
  79.                          "are much more responsive when they are in RAM. It is recommended "
  80.                          "that you use this option if there is memory available."
  81.                          " You don't have to install these files, however. VStation will find them relative to it's current directory, but it will be slower than a RAM disk."))
  82.                          
  83. (set @prompt (cat "\nCopy " (@default-dest) "/Envarc to ENVARC:\n\nThe VS:Envarc files contain keyboard macro definitions, startup scripts, and other configuration information. If you copy these files to ENVARC:, then they will be copied to ENV: when the system is next booted."))
  84. (set easource (tackon @default-dest "envarc"))
  85. (if (askbool (prompt text) (choices "Copy" "Skip")    (help helptext) (default 1))
  86.     ((makedir "envarc:VStation" (safe))
  87.      (copyfiles
  88.         (prompt "\n\nCopying environment files..")
  89.         (source easource)
  90.         (dest "envarc:")
  91.         (all)
  92.         (help helptext))))    
  93.         
  94. (set hsource (tackon @default-dest "Hooks"))
  95. (set text "\nDo you wish to copy the hook files to ENVARC:VSHooks?\n\nFunction hooks are used to trigger sound effects and perform other functions. Placing them in ENVARC: will make them operate most efficiently. If not using function hooks, then this is not neccessary.  The supplied function hooks merely trigger sound effects, so if sound effects are not desired then skip this operation.")
  96. (if (askbool (prompt text) (choices "Copy" "Skip")    (help helptext) (default 1))     
  97.     (copyfiles
  98.         (prompt "\n\nCopying hook files to Envarc:VSMisc")
  99.         (help "If you don't, then the function callback hooks will need to be loaded from disk which is not as fast as RAM. This is only useful if function hooks are to be used. The supplied function hooks merely trigger sound effects, so if sound effects are not desired then skip this operation.")
  100.         (source hsource)
  101.         (dest "envarc:VSHooks")
  102.         (all)))
  103.         
  104. (set emsource (tackon @default-dest "Misc"))
  105. (set text "\nDo you wish to copy the sound files to ENVARC:VSMisc?\n\nIf you plan on using the sound effect\nfunction hooks, then install these files.\nThe supplied VStation function hooks have been prepared to use these 8-bit samples.\n\nThis will take about 110K of RAM when\ncopied to ENV:VSMisc by the installer.")
  106. (if (askbool (prompt text) (choices "Copy" "Skip")    (help helptext) (default 1))     
  107.     (copyfiles
  108.         (prompt "\n\nCopying sound files to Envarc:VSMisc")
  109.         (help "If you don't, then the function callback hooks that are using sound might not be very responsive.")
  110.         (source emsource)
  111.         (dest "envarc:VSMisc")
  112.         (all)))
  113.         
  114. (set text "This will update the env: directory to reflect any changes in the ENVARC:VStation directories. When it is complete, the VStation may be started without rebooting.")
  115. (set pr (cat "\n\nDo you wish to copy \"ENVARC:VS#?\" to \"ENV:\"?\n\n" text)) 
  116. (if (askbool (prompt pr) (choices "Copy" "Skip")    (help text) (default 1))     
  117.     (copyfiles 
  118.         (prompt pr)
  119.         (help text)
  120.         (source "envarc:")
  121.         (pattern "(VStation|VSMisc|VSHooks)")
  122.         (dest "env:")
  123.         (optional "nofail")))
  124.  
  125.