home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p024 / 14.img / INSTALL.DAT < prev    next >
Encoding:
INSTALL Professional project  |  1992-06-08  |  7.3 KB  |  254 lines

  1. @DefineProject
  2.    @If (@FULLINST == 0)
  3.         @NAME           = "AutoCAD 386"  /* Must match ACAD R12 disks */
  4.         @VERSION        = "R-12"         /* Must match ACAd R12 disks */ 
  5.         @Language = @EN @Endlang
  6.         @ABANNER        = " Advanced Modeling Extension "
  7.         @SUBDIR         = "\\ACAD"
  8.         @OUTDRIVE       = C
  9.         @GROUP          = "Z"
  10.         @Requires       @HardDisk
  11.         @UPDATE         = (0)    /* Bugfix = 1, Regular = 0 */
  12. /* For updates,  set disk label in @if at end of file */
  13.    @Endif
  14. @EndProject
  15.  
  16. @If (@FullINST == 0)
  17. @DefineVars
  18.         @Dir            @Subdir2        = ""    /* directory type */
  19.  
  20. /* For updates,  set disk label in @if at end of file */
  21.  
  22. /* Remember to also update the space requirements in the user messages */
  23.         @Integer        @AMEEXE         =  3500000
  24.         @Integer        @AMEAPI         =  1600000
  25.         @Integer        @Temp           =        0
  26.         @Integer        @Free           =        0
  27.         @Integer        @International  = 0
  28. @EndVars
  29.  
  30. @WELCOME
  31.         @CLS
  32.  
  33. @if (@Language == @EN)
  34. @DATXMSG(106,"\tThis program will install the ENGLISH version of AME")
  35. @DATXMSG(107,"\tR2.1 on your computer.")
  36. @endif
  37.  
  38.  
  39. @pause
  40.     @If (@CPU < 386)
  41. @DATXMSG(1,"\t@Name requires an 80386 or 80486 CPU.  ")
  42. @DATXMSG(2,"\tYour computer is running on a 80@CPU CPU.")
  43.                    
  44.  
  45.         @Pause
  46.      @Endif
  47.  
  48.      @If ((@OSMajor * 100 + @OSMinor) < 330)
  49. @DATXMSG(3,"\t@NAME requires DOS version 3.30 or higher.")
  50.  
  51.         @Pause
  52.      @Endif
  53.  
  54.         @CLS
  55.  
  56. @DATXMSG(105,"\tThis program installs AME R2.1 on your computer ")
  57. @DATXMSG(5,"\tsystem and checks the distribution disks for errors.  ")
  58. @DATXMSG(6,"\tYou can specify the drive and directory where you want to")
  59. @DATXMSG(7,"\tinstall @NAME.  The program creates the directory for you.  ")
  60. @DATXMSG(8,"\tYou can choose to copy only selected parts of the software.")
  61.  
  62. @DATXMSG(9,"\tEach screen of this program offers a choice and a default response.")
  63. @DATXMSG(10,"\tPress the RETURN key to accept the default.  Otherwise type or ")
  64. @DATXMSG(11,"\tselect another response and then press the RETURN key.")
  65. @DATXMSG(12,"\tIf you make a mistake while typing, press the BACKSPACE key")
  66. @DATXMSG(13,"\tand retype the entry.")
  67.         
  68. @DATXMSG(14,"\tYou can press the ESC key at any time to cancel installation     ")
  69. @DATXMSG(15,"\tand return to the operating system.")
  70.  
  71. @PAUSE
  72. @EndWelcome
  73.  
  74. @IF (@update == 1)
  75.     @SetGroup(A)    /* Install all files on Updates */
  76. @Else
  77.  
  78. SELECTAME: 
  79. @Getgroups
  80.         @CheckBox
  81. @DATXMSG(99,"\tHere you select the parts of AME you want to install.")
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.         @SET Z = "@DATXMSG(101,"Install all AME files (5,100,000 bytes)")"
  92.         @SET G = "@DATXMSG(102,"AME Executable/Support/Sample files (3,500,000 bytes)")"
  93.         @SET H = "@DATXMSG(96,"AME API Source/Sample files (1,600,000 bytes)")"      
  94. @DATXMSG(57,"\tUse the up and down cursor keys to scroll through the list.  Use")
  95. @DATXMSG(58,"\tthe SPACE_BAR key to toggle the YES/NO state of the current")
  96. @DATXMSG(59,"\tselection.  Press the RETURN key to accept the selection(s).")
  97. @DATXMSG(60,"\tPress the ESC key to abort.")
  98. @EndGroups
  99.  
  100. @Display
  101.         @Cls
  102.         @If ('Z' [= @Group || 'G' [= @Group || 'H' [= @Group)
  103.  
  104.  
  105. @DATXMSG(82,"\tSELECTED FOR INSTALLATION:")
  106.  
  107.         @If ('Z' [= @Group) @DATXMSG(103,"Install all AME files.") @EndIf
  108.         @If ('G' [= @Group) @DATXMSG(104,"AME Executable/Support/Sample files.") @EndIf
  109.         @If ('H' [= @Group) @DATXMSG(70,"AME API Source/Samples.") @EndIf
  110.  
  111.         @Pause
  112.         @IF ('Z' [= @GROUP) 
  113.             @SETGROUP(G)
  114.             @SETGROUP(H)
  115.         @Endif
  116.         @ELSE
  117. @DATXMSG(71,"No files were selected for installation.")
  118.            @Pause
  119.            @GOTO SELECTAME
  120.         @Endif
  121. @EndDisplay
  122.  
  123. /* Compute amount of disk space needed to install selected files */
  124.  
  125. @If ('G' [= @Group)  
  126.         @Equal(@FREE = @AMEEXE)  
  127. @Endif
  128.  
  129. @If ('H' [= @Group)  
  130.         @Equal(@TEMP = @AMEAPI + @FREE)
  131.         @Equal(@FREE = @TEMP)
  132. @Endif
  133. @Endif /* Not an update */
  134.  
  135. SelectDrv:
  136. @GetOutDrive
  137.         @Suppress A      /* don't display A: */
  138.         @Suppress B      /* or B:            */
  139.         @CLS
  140. @DATXMSG(16,"\tOn which disk drive do you want to install the selected files?")
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157. @DATXMSG(17,"\tUse the up and down cursor keys to scroll through the")
  158. @DATXMSG(18,"\tlist of disk drives.  Press the RETURN key when you have ")
  159. @DATXMSG(19,"\tselected a drive.")
  160.  
  161. @EndOutDrive
  162.  
  163. @If (@update == 0)   /* Can't check space avaiable on updates */
  164.  
  165.    @If (@DiskFree  @OutDrive < @FREE) 
  166.            @GetOption
  167.  
  168. @DATXMSG(72,"\tThe selected output disk drive only has @DiskFree @OutDrive bytes free.")
  169. @DATXMSG(73,"\tTo install the files you have selected, @FREE bytes are ")
  170. @DATXMSG(74,"\trequired.")
  171.  
  172. @DATXMSG(75,"\tDo you want to install on this drive anyway or select another drive?")
  173.            @LocalWindow(12,40)
  174.                  @Option  10 = "@DATXMSG(76,"Continue")"
  175.                  @option  11 = "@DATXMSG(77,"Select another drive")"
  176.            @EndOption
  177.    @EndIf
  178.  
  179.    @If(11 [= @Option)
  180.          @ClearOption(11)
  181.          @GoTO SelectDRV
  182.    @Endif
  183. @Endif
  184.  
  185. Selectsubdir:
  186. @GetSubdir
  187.         @CLS
  188.  
  189. @DATXMSG(20,"\tHere you specify the name of the directory where the selected files")
  190. @DATXMSG(21,"\twill be installed.  By default, the name of this directory is:")
  191.        @SUBDIR.  
  192. @DATXMSG(22,"\tThe program locates it below the root directory of the disk")
  193. @DATXMSG(23,"\tdrive you selected.  If you have no preference, choose the")
  194. @DATXMSG(24,"\tdefault by pressing the RETURN key.")
  195.  
  196. @DATXMSG(25,"\tTo change the directory name, backspace over the directory name")
  197. @DATXMSG(26,"\tand type a new name.  Press the RETURN key when you have finished ")
  198. @DATXMSG(27,"\ttyping the name.")
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.         @PROMPT = "@DATXMSG(28," Which subdirectory ? ")"
  206. @EndSubdir
  207.  
  208. @If ('G' [= @Group)  /* Need Support directory */
  209. @GetSubdir @Subdir2
  210.         @Default = "@Subdir\\SUPPORT\\"
  211.         @CLS
  212.  
  213. @DATXMSG(29,"\tHere you specify the name of the directory where @NAME")
  214. @DATXMSG(30,"\tsupport files will be installed.  By default, the name of this ")
  215. @DATXMSG(31,"\tdirectory is:")
  216.        @SUBDIR2
  217.  
  218. @DATXMSG(32,"\tThe program locates it below the root directory of the disk")
  219. @DATXMSG(33,"\tdrive you selected.  If you have no preference, choose the")
  220. @DATXMSG(34,"\tdefault by pressing the RETURN key.")
  221.  
  222. @DATXMSG(35,"\tTo change the directory name, backspace over the directory name")
  223. @DATXMSG(36,"\tand type a new name.  Press the RETURN key when you have finished")
  224. @DATXMSG(37,"\ttyping the name.")
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.         @PROMPT = "@DATXMSG(38," Support files subdirectory ? ")"
  232. @EndSubdir
  233.  
  234. @ENDIF /* Not Full Install */
  235. @Endif /* Support directory needed */
  236.  
  237.         /*AME Disk 1*/
  238. @DefineDisk    
  239.         @LABEL = "AME 1"
  240.         @File   AME1.MID                         @Group AG
  241.         @File   Readme.ame                       @Group AG
  242.         @BeginLib  AME1.LIB
  243.            @File   AME.exp                          @Group AG
  244.            @File   AMELINK.EXP    @Out SAMPLE\\*.*  @gROUP ag
  245.         @EndLib
  246. @EndDisk
  247.  
  248. @IF (@UPDATE == 1)
  249.   /*  @Chain = "disk_label" */
  250. @Else
  251.     @Chain = "AME 2"
  252. @Endif
  253.  
  254.