home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Sound / Sampler / DCN-ST30.DMS / in.adf / install-e.bat < prev    next >
Encoding:
DOS Batch File  |  1997-03-04  |  1.8 KB  |  85 lines

  1. .key Prog/a,Proj/a
  2.  
  3. if not exists <Prog>
  4.    echo "Program folder does not exist, please create it before!"
  5.    quit
  6. endif
  7. if not exists <Proj>
  8.    echo "Project folder does not exist, please create it before!"
  9.    quit
  10. endif
  11.  
  12. echo "Installing Samplitude-SMPTE..."
  13.  
  14. copy lhunarc to <Prog>
  15. copy Samp.lzh to <Prog>
  16. cd <Prog>
  17. delete Samplitude-SMPTE
  18. lhunarc Samp
  19. delete Samp.lzh
  20. delete lhunarc
  21. cd Samplitude-SMPTE:
  22. copy Samplitude-SMPTE.info to <Prog>
  23. copy SamplitudeIIE.defs to <Prog>SamplitudeII.defs
  24. copy ReadMe-E#? to <Prog>
  25. copy tocc#? to <Prog>
  26. copy AREXX#? to <Prog>
  27. copy midisys#? to <Prog>
  28. copy runback c:
  29.  
  30. if not exists <Prog>catalogs
  31.    makedir <Prog>catalogs
  32. endif
  33. copy catalogs to <Prog>catalogs all
  34.  
  35. if not exists libs:toccata.library
  36.    copy libs/tocc#? to libs:
  37. endif
  38. if not exists libs:req.library
  39.    copy libs/req#? to libs:
  40. endif
  41. copy Fonts to Fonts: all
  42.  
  43.    if exists s:user-startup
  44.       join FILE s:user-startup ram:inst.temp to ram:inst1.temp
  45.       copy ram:inst1.temp s:user-startup
  46.       echo "Commands in s:user-startup inserted!"
  47.    else
  48.       if exists s:startup-sequence
  49.          join FILE ram:inst.temp s:startup-sequence to ram:inst1.temp
  50.          copy ram:inst1.temp s:startup-sequence
  51.          echo "Commands in s:startup-sequence inserted!"
  52.       endif
  53.    endif
  54.  
  55.  
  56. if not exists <Proj>RAP
  57.    makedir <Proj>RAP
  58. endif
  59. copy rev#? <Proj>RAP/
  60. copy Samplitude-Bsp:RAP/#? <Proj>RAP/
  61.  
  62. if not exists <Proj>HDP
  63.    makedir <Proj>HDP
  64. endif
  65. copy Samplitude-Bsp:HDP/#? <Proj>HDP/
  66.  
  67. if not exists <Proj>VIP
  68.    makedir <Proj>VIP
  69. endif
  70. copy Samplitude-Bsp:VIP/#? <Proj>VIP/
  71.  
  72. if not exists <Proj>PLL
  73.    makedir <Proj>PLL
  74. endif
  75. copy Samplitude-Bsp:PLL/#? <Proj>PLL/
  76. if exists REXX:
  77.    copy Samplitude-Bsp:srexx/#? REXX:
  78. endif
  79.  
  80.    execute ram:inst.temp
  81.  
  82. echo ""
  83. echo "Finishing Installation..."
  84. wait 5
  85.