home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d08xx / d0807.lha / VCLI / InstallLibrary next >
Text File  |  1993-01-24  |  1KB  |  40 lines

  1. .K ""
  2. echo "This script will install the voice library, after first checking"
  3. echo "to see if you already have one installed."
  4. echo ""
  5. echo "If you have one installed, it will check the version number of the"
  6. echo "installed one and ask if you wish to update it."
  7. echo ""
  8.  
  9. FailAt 20
  10.  
  11. ask "Do you wish to continue with the installation? [y/n]"
  12. if not warn
  13.     skip NoInstall
  14. endif
  15.  
  16. if not exists libs:voice.library
  17.   echo "No existing voice.library, installing version 6.4..."
  18.   copy voice.library libs:voice.library
  19. else
  20.   failat 20
  21.   echo "Found " noline
  22.   version voice.library 6 4
  23.   if warn
  24.     ask "Do you wish to update libs:voice.library to version 6.4? [y/n]"
  25.     if warn
  26.       echo "Updating libs:voice.library..."
  27.       protect libs:voice.library rwed
  28.       copy voice.library libs:voice.library
  29.     else
  30.       echo "libs:voice.library unchanged."
  31.     endif
  32.   else
  33.     echo "The current installed version is up to date."
  34.   endif
  35. endif
  36.  
  37. lab NoInstall
  38. echo "*nAll Done.  Click close gadget to get rid of window."
  39. endcli > nil:
  40.