home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 33 / af033a.adf / Install < prev    next >
Text File  |  1992-02-12  |  3KB  |  123 lines

  1. .
  2. FAILAT 40
  3.  
  4. ECHO "VISTA INSTALL V1.01 by Robert Reiswig June 15, 1990 ©"
  5. ECHO "----------------------------------------------------------------------"
  6.  
  7. ECHO "Vista will be installed in the SYS: directory.  In most cases that"
  8. ECHO "will be on a HardDisk.  If this is not the case you may have to"
  9. ECHO "install Vista manually. (If you wish to install Vista on a different"
  10. ECHO "partition, then just assign sys: to the partition you want."
  11. ECHO "Example: from the cli prompt type:  assign sys: work:"
  12. ECHO "When Vista install is done just assign sys: to where it was."
  13. ECHO ""
  14.  
  15. ASK "Are you ready to install Vista? {Y|N}:"
  16. IF NOT WARN
  17.    ECHO "Stoping installtion"
  18.    SKIP ERROR
  19. ENDIF
  20.  
  21. ECHO "Setting up a directory for Vista ........"
  22. MAKEDIR SYS:VISTA
  23. IF NOT EXISTS SYS:VISTA
  24.    ECHO "In order for Vista Install to work you must have the directory"
  25.    ECHO "SYS:VISTA or VISTA: assigned to another directory."
  26.    SKIP ERROR
  27. ENDIF
  28.  
  29. ECHO "Setting up a directory for Vista Landscapes........"
  30. MAKEDIR SYS:VISTA/Landscapes
  31. IF NOT EXISTS SYS:VISTA/Landscapes
  32.    ECHO "There was an error in setting up the Landscape directory"
  33.    SKIP ERROR
  34. ENDIF
  35.  
  36. IF NOT EXISTS SYS:Empty.info
  37.    COPY VISTA:landscapes.info SYS:VISTA.info CLONE QUIET
  38.    SKIP YESEMPTY
  39. ENDIF
  40.  
  41. COPY SYS:Empty.info SYS:VISTA.info CLONE QUIET
  42.  
  43. LAB YESEMPTY
  44.  
  45. IF NOT EXISTS SYS:Empty.info
  46.    COPY VISTA:landscapes.info SYS:VISTA/landscapes.info CLONE QUIET
  47.    SKIP YESEMPTY1
  48. ENDIF
  49.  
  50. COPY SYS:Empty.info SYS:VISTA/landscapes.info
  51.  
  52. LAB YESEMPTY1
  53.  
  54. ASK "Do you have an A500 Plus {Y|N}:"
  55. IF WARN
  56.    ECHO "Installing A500 Plus version of Vista"
  57.    SKIP ACC
  58. ENDIF
  59.  
  60. ECHO "Installing standard version of Vista"
  61.  
  62. COPY VISTA:Vista.info to SYS:VISTA/Vista.info CLONE QUIET
  63. IF WARN
  64.       ECHO "There was an error while copying Vista.info"
  65.       ECHO "   The Vista Install Disk is bad"
  66.       ECHO "   SYS: is full or is write protected."
  67.       SKIP ERROR
  68. ENDIF
  69.  
  70. COPY VISTA:Vista to SYS:VISTA/Vista CLONE QUIET
  71. IF WARN
  72.       ECHO "There was an error while copying Vista"
  73.       ECHO "   The Vista Install Disk is bad"
  74.       ECHO "   SYS: is full or is write protected."
  75.       SKIP ERROR
  76. ENDIF
  77.  
  78. SKIP LANDS
  79.  
  80. LAB ACC
  81.  
  82. COPY VISTA:Vista.A500.Plus.info to SYS:VISTA/Vista.A500.Plus.info CLONE QUIET
  83. IF WARN
  84.       ECHO "There was an error while copying Vista.A500.Plus.info"
  85.       ECHO "   The Vista Install Disk is bad"
  86.       ECHO "   SYS: is full or is write protected."
  87.       SKIP ERROR
  88. ENDIF
  89.  
  90. COPY VISTA:Vista.A500.Plus to SYS:VISTA/Vista.A500.Plus CLONE QUIET
  91. IF WARN
  92.       ECHO "There was an error whil copying Vista.A500.Plus"
  93.       ECHO "   The Vista Install Disk is bad"
  94.       ECHO "   SYS: is full or is write protected."
  95.       SKIP ERROR
  96. ENDIF
  97.  
  98. LAB LANDS
  99.  
  100. ECHO "Vista Install OK ....................."
  101.  
  102. COPY VISTA:landscapes/#?.SCAPE#? to SYS:VISTA/landscapes CLONE QUIET
  103. COPY VISTA:landscapes.info to SYS:VISTA.info CLONE QUIET
  104. IF WARN
  105.    ECHO "There was an error while copying Vista.info"
  106.    ECHO "   The Vista Install Disk is bad"
  107.    ECHO "   SYS: is full or is write protected."
  108.    SKIP ERROR
  109. ENDIF
  110. ECHO "Landscapes Installed OK .............."
  111.  
  112. ECHO ""
  113. ECHO "Installation all done!"
  114. DH0:c/endcli
  115.  
  116. LAB ERROR
  117. ECHO ""
  118. ECHO "An error has occured, Auto-installation has been stopped!"
  119. ECHO ""
  120.  
  121. DH0:C/ENDCLI
  122.  
  123.