home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Video / TSeng / ET4000PC.ZIP / ACAD.ZIP / INSTALL.DAT < prev    next >
Text File  |  1995-03-15  |  23KB  |  699 lines

  1. /*
  2.  INSTALL.DAT
  3.  
  4.  Project: TurboDLDClassic
  5.  Version: 2.1
  6.  
  7. */
  8.  
  9. // To place a @pause in the center of the display page,
  10. // space in 38 spaces and then type @pause.  To make sure
  11. // that the @pause is at the bottom of the display, the
  12. // @pause should be at line 21 or better of the display.
  13.  
  14. // Standard header here...
  15.  
  16. @DefineProject
  17.     @Name = "TurboDLDClassic"
  18.     @Version = "2.1"
  19.     @Subdir = "\\ACAD\\DRV"
  20.     @OutDrive = C
  21.     @Group = "A"
  22.     @InDiskBell = 1
  23. @EndProject
  24.  
  25. // Define all the vars you need here
  26. // Init all strings with "" or a hard coded string
  27. // Init all Integers with 0 or 1
  28.  
  29. // If OEM release, set @IsOem = 1 else 0
  30.  
  31. @DefineVars
  32.     @Integer @DDrive = 99
  33.     @Integer @StrLens = 0
  34.     @Integer @bannercol = 0
  35.     @Integer @OurCol = 0
  36.     @Integer @XX = 0
  37.     @Integer @IsOem = 1
  38.     @Dir @AcadDir  = "\\ACAD\\DRV"
  39.     @Drive @AcadDrive  = C
  40.     @qstring @redprogram = "TURBODLD.RED"
  41.     @qstring @thisprogram = "RCTURBOC.EXP"
  42.     @qstring @namethisprogram = "TurboDLD-Classic"
  43.     @qstring @helpcontact = " "
  44.     @qstring @registration = ""
  45.     @qstring @registrationname = ""
  46.     @qstring @companyname = ""
  47.     @qstring @regreturn = ""
  48.     @qstring @ourhomeexp = ""
  49.     @qstring @ourhomered = ""
  50.     @qstring @tempstring = ""
  51.     @qstring @bannername = " T u r b o D L D   I n s t a l l "
  52. @EndVars
  53.  
  54. // setup some of the local var defs
  55.  
  56. // Used to display the banner on all screens
  57.  
  58. @xx = @strlen("@bannername")
  59. @bannercol = (38 - @xx/2)
  60.  
  61. // used to check for Write Protect on floppy
  62.  
  63. @If (@IsOem == 1)
  64.    @goto OEM1
  65. @Endif
  66.  
  67. @If (@InDrive == A)
  68.    @xx = @homedrive(0)
  69. @ElseIf (@InDrive == B)
  70.    @xx = @homedrive(1)
  71. @EndIf
  72.  
  73. @If (@xx == 1)          // if error found ...
  74.  
  75. @tempstring = " Install must have write access to your @namethisprogram "
  76. @xx = @strlen(@tempstring)
  77. @ourcol = (38 - @xx/2)
  78.  
  79. @movecstr(1,8,62,"╔═══════════════════════════════════════════════════════════╗")
  80. @movecstr(2,8,62,"║                                                           ║")
  81. @movecstr(3,8,62,"╚═══════════════════════════════════════════════════════════╝")
  82. @MoveCStr(2, @bannercol, 48, @bannername)
  83.  
  84.   @movecstr(7,13,79,"╔═════════════════════════════════════════════════╗")
  85.   @movecstr(7,31,207," W A R N I N G ")
  86.   @movecstr(8,13,79,"║                                                 ║")
  87.   @movecstr(9,13,79,"║                                                 ║")
  88.   @movecstr(9,15,79," The diskette in Drive @InDrive is ")
  89.   @movecstr(9,43,78," -WRITE PROTECTED- ")
  90.   @movecstr(10,13,79,"║                                                 ║")
  91.   @movecstr(11,13,79,"╚═════════════════════════════════════════════════╝")
  92.  
  93.   @movecstr(15,@ourcol,31, @tempstring)
  94.   @movecstr(16,@ourcol,31," diskette in order to continue. ")
  95.  
  96.   @movecstr(19,@ourcol,31," Press any key to exit to DOS, unprotect the ")
  97.   @movecstr(20,@ourcol,31," @namethisprogram diskette and then run INSTALL again. ")
  98.  
  99.   @move(22,0)
  100.   @waitkey
  101.   @exit
  102.  
  103. @Endif
  104.  
  105. // get the correct string for the EXP and the RED files
  106.  
  107. OEM1:
  108.  
  109. @ourhomeexp = @wherearewe(@thisprogram)
  110.  
  111. @ourhomered = @wherearewe(@redprogram)
  112.  
  113. @tempstring = " utility for @namethisprogram ! "
  114. @xx = @strlen(@tempstring)
  115. @ourcol = (40 - @xx/2)
  116.  
  117.  
  118. @If (@IsOem == 1)
  119.    @goto OEM1A
  120. @Endif
  121.  
  122. @movecstr(0,0,63,"╔════════════════════════════════════════════════════════════════════════════╗")
  123. @movecstr(1,0,63,"║                                                                            ║")
  124. @movecstr(2,0,63,"║                                                                            ║")
  125. @movecstr(3,0,63,"║                                                                            ║")
  126. @movecstr(3,25,48," Welcome to the installation ")
  127. @movecstr(4,0,63,"║                                                                            ║")
  128. @movecstr(4,@ourcol,48,@tempstring)
  129. @movecstr(5,0,63,"║                                                                            ║")
  130. @movecstr(6,0,63,"║                                                                            ║")
  131. @movecstr(6,33,49,"Panacea Inc.")
  132. @movecstr(7,0,63,"║                                                                            ║")
  133. @movecstr(7,28,49,"24 Orchard View Drive")
  134. @movecstr(8,0,63,"║                                                                            ║")
  135. @movecstr(8,26,49,"Londonderry, New Hampshire")
  136. @movecstr(9,0,63,"║                                                                            ║")
  137. @movecstr(9,34,49,"03053 USA")
  138. @movecstr(10,0,63,"║                                                                            ║")
  139. @movecstr(11,0,63,"║                                                                            ║")
  140. @movecstr(11,30,63," ")
  141. @movecstr(12,0,63,"║                                                                            ║")
  142. @movecstr(12,31,63," ")
  143. @movecstr(13,0,63,"║                                                                            ║")
  144. @movecstr(13,31,63," ")
  145. @movecstr(14,0,63,"║                                                                            ║")
  146. @movecstr(15,0,63,"║                                                                            ║")
  147. @movecstr(15,36,62," ")
  148. @movecstr(16,0,63,"║                                                                            ║")
  149. @movecstr(16,28,62," ")
  150. @movecstr(17,0,63,"║                                                                            ║")
  151. @movecstr(18,0,63,"║                                                                            ║")
  152. @movecstr(19,0,63,"║                                                                            ║")
  153. @movecstr(20,0,63,"║                                                                            ║")
  154. @movecstr(21,0,63,"║                                                                            ║")
  155. @movecstr(22,0,63,"║                                                                            ║")
  156. @movecstr(23,0,63,"║                                                                            ║")
  157. @movecstr(24,0,63,"║                                                                            ║")
  158. @movecstr(25,0,63,"╚════════════════════════════════════════════════════════════════════════════╝")
  159.  
  160. @goto OEM1ADONE
  161.  
  162. OEM1A:
  163.  
  164. @movecstr(0,0,63,"╔════════════════════════════════════════════════════════════════════════════╗")
  165. @movecstr(1,0,63,"║                                                                            ║")
  166. @movecstr(2,0,63,"║                                                                            ║")
  167. @movecstr(3,0,63,"║                                                                            ║")
  168. @movecstr(3,25,48," Welcome to the installation ")
  169. @movecstr(4,0,63,"║                                                                            ║")
  170. @movecstr(4,@ourcol,48,@tempstring)
  171. @movecstr(5,0,63,"║                                                                            ║")
  172. @movecstr(6,0,63,"║                                                                            ║")
  173. @movecstr(7,0,63,"║                                                                            ║")
  174. @movecstr(8,0,63,"║                                                                            ║")
  175. @movecstr(8,32,63,"Developed by:")
  176. @movecstr(9,0,63,"║                                                                            ║")
  177. @movecstr(10,0,63,"║                                                                            ║")
  178. @movecstr(10,33,49,"Panacea Inc.")
  179. @movecstr(11,0,63,"║                                                                            ║")
  180. @movecstr(11,28,49,"24 Orchard View Drive")
  181. @movecstr(12,0,63,"║                                                                            ║")
  182. @movecstr(12,28,49,"Londonderry, NH 03053")
  183. @movecstr(13,0,63,"║                                                                            ║")
  184. @movecstr(13,37,49,"USA")
  185. @movecstr(14,0,63,"║                                                                            ║")
  186. @movecstr(15,0,63,"║                                                                            ║")
  187. @movecstr(16,0,63,"║                                                                            ║")
  188. @movecstr(17,0,63,"║                                                                            ║")
  189. @movecstr(18,0,63,"║                                                                            ║")
  190. @movecstr(19,0,63,"║                                                                            ║")
  191. @movecstr(20,0,63,"║                                                                            ║")
  192. @movecstr(21,0,63,"║                                                                            ║")
  193. @movecstr(22,0,63,"║                                                                            ║")
  194. @movecstr(23,0,63,"║                                                                            ║")
  195. @movecstr(24,0,63,"║                                                                            ║")
  196. @movecstr(25,0,63,"╚════════════════════════════════════════════════════════════════════════════╝")
  197.  
  198. OEM1ADONE:
  199.  
  200. @OurPause
  201.  
  202. @Display
  203.    @cls
  204. @EndDisplay
  205.  
  206. @movecstr(1,8,62,"╔═══════════════════════════════════════════════════════════╗")
  207. @movecstr(2,8,62,"║                                                           ║")
  208. @movecstr(3,8,62,"╚═══════════════════════════════════════════════════════════╝")
  209. @MoveCStr(2, @bannercol, 48, @bannername)
  210.  
  211. @movecstr(6,5,31,"Thank you for purchasing @namethisprogram.")
  212. @movecstr(8,5,31,"This utility program registers your copy of @namethisprogram and")
  213. @movecstr(9,5,31,"installs the software into the correct directory or sub-directories.")
  214. @movecstr(11,5,31,"If you have any questions regarding this process, please refer to")
  215. @movecstr(12,5,31,"your @namethisprogram Installation Guide, in particular, Chapter 1,")
  216. @movecstr(13,5,31,"[Quick Start] and Chapter 3, [Installing and Configuring].")
  217. @movecstr(15,5,31,"If you are installing for 3D Studio only, install as though you")
  218. @movecstr(16,5,31,"are using AutoCAD Release 10 or 11 and the follow configuration")
  219. @movecstr(17,5,31,"instructions in the [Rendering With TurboDLD] chapter of your") 
  220. @movecstr(18,5,31,"@namethisprogram Installation Guide.")
  221.  
  222.  
  223. @Display
  224. @move(21,0)
  225.    @pause
  226. @enddisplay
  227.  
  228. @If (@IsOem == 1)
  229.    @goto OEM2
  230. @Endif
  231.  
  232. // First thing to do is to check the software and 
  233. // register it if need to..
  234.  
  235. @regreturn = @ckregisterinfo(@ourhomeexp)
  236.  
  237. @If (@strlen("@regreturn") == 0)
  238.     @GoTo Not_Registered
  239. @Endif
  240.  
  241. @If (@strfind(@regreturn, "ERROR") == -1)
  242.     @GoTo Show_Registered
  243. @Endif
  244.  
  245. // If here, there must have been an error 
  246.  
  247. ShowError:
  248.  
  249. @xx = @strlen(@regreturn)
  250. @ourcol = (40 - @xx/2)
  251. // adjust for junk on the end of the string
  252. @xx = (@xx - 1)
  253.  
  254. @Display @Cls
  255. @move(4,0)
  256.     There was an error detected by the install software.
  257.  
  258.     The error was:
  259.  
  260. @movecstr(10,@ourcol,30,@strhead("@regreturn", @xx))
  261.  
  262. @move(12,0)
  263.     Please insure that you have the correct files on your disk.
  264.  
  265.     If you need help, please contact @helpcontact.
  266. @move(21,0)
  267.    @pause
  268. @Exit
  269. @enddisplay
  270.  
  271. // If we are here then the software has been registered
  272.  
  273. Show_Registered:
  274.  
  275. @regreturn = @ckregisterinfo(@ourhomeexp)
  276.  
  277. // Clear the options out
  278. @clearoption(1)
  279. @clearoption(2)
  280.  
  281. @xx = @strlen(@regreturn)
  282. @ourcol = (38 - @xx/2)
  283.  
  284. @GetOption
  285. @LocalWindow(18,40)
  286.  
  287. @movecstr(1,22,79,"╔═════════════════════════════╗")
  288. @movecstr(2,22,79,"║                             ║")
  289. @movecstr(2,24,78,"This Copy Is Registered To:")
  290. @movecstr(3,22,79,"╚═════════════════════════════╝")
  291.  
  292. @movecstr(7,@ourcol,30,@strhead("@regreturn", @xx))
  293.  
  294. @move(9,0)
  295.        The program has been installed and is protected by federal
  296.        copyright laws. 
  297.  
  298.      @Option 1 = "Continue"
  299.      @Option 2 = "Exit Install"
  300.  
  301. @EndOption
  302.  
  303. @If(1 [= @Option)
  304.    @Goto Get_Acad
  305. @Else
  306.    @Exit
  307. @Endif
  308.  
  309. Not_Registered:
  310.  
  311. @getstring @registration
  312.  
  313. @movecstr(1,8,62,"╔═══════════════════════════════════════════════════════════╗")
  314. @movecstr(2,8,62,"║                                                           ║")
  315. @movecstr(3,8,62,"╚═══════════════════════════════════════════════════════════╝")
  316. @MoveCStr(2, @bannercol, 48, @bannername)
  317.  
  318. @LocalWindow(13,40)
  319.  
  320. @movecstr(7,3,31,"Please type in your Full Name as you wish it to appear for registration")
  321. @movecstr(8,3,31,"purposes. For Corporate installations, you may wish to enter the name of")
  322. @movecstr(9,3,31,"your CAD Manager.")
  323.  
  324. @movecstr(18,8,31,"Note: The total combined length of [Your Name] and, from the")
  325. @movecstr(19,8,31,"      next screen, [Company Name] cannot exceed 64 characters.")
  326. @movecstr(20,8,31,"      If the total is longer, [Company Name] will be truncated.")
  327.  
  328. @prompt = "    Please Enter Your Full Name    "
  329.  
  330. @EndString
  331.  
  332. // get the length of the string so-far
  333.  
  334. @strlens = (64 - @strlen("@registration"))
  335.  
  336. @getstring @companyname
  337.  
  338. @movecstr(1,8,62,"╔═══════════════════════════════════════════════════════════╗")
  339. @movecstr(2,8,62,"║                                                           ║")
  340. @movecstr(3,8,62,"╚═══════════════════════════════════════════════════════════╝")
  341. @MoveCStr(2, @bannercol, 48, @bannername)
  342.  
  343. @LocalWindow(13,40)
  344.  
  345. @movecstr(7,14,31,"Please type in your Company Name as you would like")
  346. @movecstr(8,14,31,"to have it appear for registration purposes.")
  347.  
  348. @movecstr(18,9,31,"Note: You have @strlens characters available for [Company Name].")
  349. @movecstr(19,9,31,"      If you enter a Company Name longer than @strlens characters,")
  350. @movecstr(20,9,31,"      the additional information will be truncated.")
  351.  
  352.  
  353. @prompt = "    Please Enter Your Company Name    "
  354.  
  355. @EndString
  356.  
  357. @registrationname = "@registration, @companyname"
  358.  
  359. // Clear the options out
  360. @clearoption(10)
  361. @clearoption(20)
  362.  
  363. @xx = @strlen(@registrationname)
  364. @ourcol = (40 - @xx/2)
  365.  
  366. @GetOption
  367.  
  368. @LocalWindow(18,40)
  369.  
  370. @movecstr(1,8,62,"╔═══════════════════════════════════════════════════════════╗")
  371. @movecstr(2,8,62,"║                                                           ║")
  372. @movecstr(3,8,62,"╚═══════════════════════════════════════════════════════════╝")
  373. @Movecstr(2, @bannercol, 48, @bannername)
  374.  
  375. @movecstr(8,18,31,"You have entered the following information:")
  376.  
  377. @movecstr(12, @ourcol, 62, @registrationname)
  378.  
  379.  
  380.      @Option 10 = "Information Correct"
  381.      @Option 20 = "Information Not Correct"
  382.  
  383. @EndOption
  384.  
  385. @If(20 [= @Option)
  386.    @Goto Not_Registered
  387. @Endif
  388.  
  389. // NULL out the string b4 using again
  390.  
  391. @tempstring = ""
  392.  
  393. // If we are here, do the registration ....
  394.  
  395. @regreturn = @registerit(@registrationname @ourhomeexp)
  396.  
  397. @If (@strfind(@regreturn, "ERROR") != -1)
  398.     @GoTo ShowError
  399. @Endif
  400.  
  401. OEM2:
  402.  
  403. Get_Acad:
  404.  
  405. @GetOutDrive @AcadDrive
  406.  
  407.  
  408.     Install needs to know which drive you would like to copy 
  409.     @namethisprogram files to. Please select an available 
  410.     drive from the list below.
  411.  
  412.     @LocalWindow(16,56)   
  413.   
  414.     Use the [Up Arrow], [Down Arrow], 
  415.     [Pg Up], & [Pg Dn] keys to highlight 
  416.     your selection and then press the 
  417.     [Enter] key to continue.
  418.   
  419. @EndOutDrive
  420.  
  421. // clear the options first
  422. @clearoption(1000)
  423. @clearoption(2000)
  424.  
  425. @GetOption @cls
  426. @LocalWindow(14,40)
  427.  
  428. @movecstr(1,8,62,"╔═══════════════════════════════════════════════════════════╗")
  429. @movecstr(2,8,62,"║                                                           ║")
  430. @movecstr(3,8,62,"╚═══════════════════════════════════════════════════════════╝")
  431. @Movecstr(2, @bannercol, 48, @bannername)
  432.  
  433. @move(8,0)
  434.           Please enter the Version of AutoCAD you are running:
  435.  
  436.     @Option 1000 = " Release 12 or 13 "
  437.     @Option 2000 = " Release 10 or 11 "
  438.  
  439. @EndOption
  440.  
  441. @If(2000 [= @Option)
  442.    @AcadDir = "TURBODLD"
  443. @EndIf
  444.  
  445. @GetSubDir @AcadDir
  446. @Cls
  447. @LocalWindow(14,40)
  448.  
  449. @If(1000 [= @Option)
  450.  
  451. @movecstr(3,5,31,"You have chosen to install @namethisprogram for AutoCAD Release 12 or 13.")
  452. @movecstr(4,5,31,"We recommend installing into the DRV sub-directory off of your main")
  453. @movecstr(5,5,31,"AutoCAD sub-directory. Please enter your ACAD\\DRV sub-directory name")
  454. @movecstr(6,5,31,"below.")
  455. @movecstr(8,5,31,"You may also install @namethisprogram into its own sub-directory, to")
  456. @movecstr(9,5,31,"do so, enter an alternate sub-directory name. If the sub-directory does")
  457. @movecstr(10,5,31,"not exist, @namethisprogram Install will create it for you.")
  458. @movecstr(19,5,31,"Please note that if you install @namethisprogram into an alternate")
  459. @movecstr(20,5,31,"sub-directory you will have to alter your ACADDRV environment variable")
  460. @movecstr(21,5,31,"to include the @namethisprogram sub-directory.")
  461.  
  462. @Else
  463.  
  464. @movecstr(6,5,31,"You have chosen to install @namethisprogram for AutoCAD Release 10")
  465. @movecstr(7,5,31,"or 11. Enter a sub-directory name on @AcadDrive: for @namethisprogram")
  466. @movecstr(8,5,31,"files. If the sub-directory does not exist, @namethisprogram Install")
  467. @movecstr(9,5,31,"will create it for you.")
  468.  
  469. @EndIf
  470.  
  471. @EndSubDir
  472.  
  473. // Clear the options out
  474. @clearoption(10)
  475. @clearoption(20)
  476.  
  477. @If (@DirExists("@AcadDrive:\\@AcadDir"))
  478.   @GoTo Report
  479. @Else
  480.   @GetOption
  481.   @LocalWindow(12,40)
  482.     @AcadDir path was not found on @AcadDrive.
  483.     
  484.     Would you like to create @AcadDir at this time?
  485.  
  486.  
  487.      @Option 10 = "Yes, create the path"
  488.      @Option 20 = "No; re-enter the information"
  489.  
  490.   @EndOption
  491. @Endif
  492.  
  493. @tempstring = " Creating @AcadDrive:@AcadDir, please stand-by ! "
  494. @xx = @strlen(@tempstring)
  495. @ourcol = (40 - @xx/2)
  496.  
  497. @If(10 [= @Option)
  498.    @Display @Cls
  499.       @movecstr(12,@ourcol,48,@tempstring)
  500.    @MkDir("@AcadDrive:@AcadDir")
  501.    @EndDisplay
  502.    @Goto WeBuiltPath
  503. @Else
  504.    @Goto Get_Acad
  505. @Endif
  506.  
  507. // Now we know where to install TURBODLD, tell the user whats going on
  508.  
  509. Report:
  510.  
  511. @clearoption(10)
  512. @clearoption(20)
  513.  
  514. @tempstring = " @AcadDrive:@AcadDir exists, do you wish to use it? "
  515. @xx = @strlen(@tempstring)
  516. @ourcol = (38 - @xx/2)
  517.  
  518. @Getoption
  519. @localwindow(14,40)
  520.  
  521. @movecstr(1,8,62,"╔═══════════════════════════════════════════════════════════╗")
  522. @movecstr(2,8,62,"║                                                           ║")
  523. @movecstr(3,8,62,"╚═══════════════════════════════════════════════════════════╝")
  524. @Movecstr(2, @bannercol, 48, @bannername)
  525.  
  526. @movecstr(9,@ourcol,48,@tempstring)
  527.      @Option 10 = "Yes, Continue"
  528.      @Option 20 = "No; re-enter the information"
  529. @Endoption
  530.  
  531. @If(20 [= @Option)
  532.    @Goto Get_Acad
  533. @Endif
  534.  
  535. // we get here from building the dir\sub-dir and not asking if they want to use it.
  536.  
  537. WeBuiltPath:
  538.  
  539. // Test the amount of free room left on the dest drive
  540.  
  541. @Display @Cls
  542.  
  543.    @if (@diskfree(@AcadDrive) < 1200000)
  544.  
  545.       @move(7,0)
  546.       The selected output disk drive only has @diskfree(@AcadDrive) bytes.
  547.  
  548.       @namethisprogram requires a minumum of 1.2mb.
  549.  
  550.       The Install program will now exit, please correct this problem
  551.  
  552.       and re-run the Install program.
  553.       @move(21,0)
  554.      @pause
  555.       @exit
  556.    @endif
  557. @enddisplay
  558.  
  559. // Clear the options out
  560. @clearoption(10)
  561. @clearoption(20)
  562.  
  563. @tempstring = " @AcadDrive:@AcadDir "
  564. @xx = @strlen(@tempstring)
  565. @ourcol = (40 - @xx/2)
  566.  
  567. @movecstr(12,@ourcol,63,@tempstring)
  568.  
  569. @tempstring = " @Name will be installed in: "
  570. @xx = @strlen(@tempstring)
  571. @ourcol = (40 - @xx/2)
  572.  
  573. @GetOption
  574.  
  575. @LocalWindow(17,40)
  576.  
  577. @movecstr(1,8,62,"╔═══════════════════════════════════════════════════════════╗")
  578. @movecstr(2,8,62,"║                                                           ║")
  579. @movecstr(3,8,62,"╚═══════════════════════════════════════════════════════════╝")
  580. @Movecstr(2, @bannercol, 48, @bannername)
  581.  
  582. @movecstr(8,@ourcol,63,@tempstring)
  583.      @Option 10 = "Yes, this is the correct path"
  584.      @Option 20 = "No; re-enter the information"
  585. @endoption
  586.  
  587. @If(10 [= @Option)
  588.    @Goto Start_Copy
  589. @Else
  590.    @Goto Get_Acad
  591. @Endif
  592.  
  593. Start_Copy:
  594.  
  595. @Display
  596.  
  597. // First check if this is v10 or 11
  598.  
  599. @If(2000 [= @Option)
  600. //        Creating FASTACAD.BAT and PANA3DS.BAT files, please stand-by
  601.  
  602.    @Write("@AcadDrive:\\@AcadDir\\FASTACAD.BAT", "wt", "SET DLDCFG=@AcadDrive:\\@AcadDir\n")
  603.    @Write( , , "SET DSPADI=@AcadDrive:\\@AcadDir\\@thisprogram\n")
  604.    @Write( , , "SET RDPADI=@AcadDrive:\\@AcadDir\\@thisprogram\n")
  605.    @Write( , , "SET RCPADI=@AcadDrive:\\@AcadDir\\@thisprogram\n")
  606. @Else
  607. //                  Creating PANA3DS.BAT file, please stand-by
  608. @EndIf
  609.  
  610. @Write("@AcadDrive:\\@AcadDir\\PANA3DS.BAT", "wt", "SET DLDCFG=@AcadDrive:\\@AcadDir\n")
  611. @Write( , , "SET RCPADI=@AcadDrive:\\@AcadDir\\@thisprogram\n")
  612.  
  613. @enddisplay
  614.  
  615. // This part is a DOS style copy ...
  616.  
  617. @tempstring = "Processing @namethisprogram Install information -- Please Wait."
  618. @xx = @strlen(@tempstring)
  619. @ourcol = (40 - @xx/2)
  620.  
  621. @Display
  622.  
  623. @movecstr(1,8,62,"╔═══════════════════════════════════════════════════════════╗")
  624. @movecstr(2,8,62,"║                                                           ║")
  625. @movecstr(3,8,62,"╚═══════════════════════════════════════════════════════════╝")
  626. @Movecstr(2, @bannercol, 48, @bannername)
  627.  
  628. @move(6,0)
  629.             
  630.  
  631.   @move(21,0)
  632.      @pause
  633.  
  634. @movecstr(16,@ourcol,63,@tempstring)
  635.  
  636. @copy("@ourhomeexp", "@AcadDrive:\\@AcadDir\\@thisprogram")
  637.  
  638. @enddisplay
  639.  
  640. @DefineDisk
  641.    @Label = "Disk #1"
  642.    @BeginLib @ourhomered
  643.        @File *.* @Out @AcadDrive:\\@AcadDir\\*.*
  644.    @EndLib
  645. @EndDisk
  646.  
  647. @If(2000 [= @Option)
  648.   @Finish @cls
  649.    @move(2,0)
  650.      You have successfully installed @namethisprogram for use with 
  651.      AutoCADRelease 10 or 11. Before you can use @namethisprogram you 
  652.      must run the FASTACAD.BAT file copied to your @AcadDrive:@AcadDir 
  653.      sub-directory and then reconfigure AutoCAD to use @namethisprogram.
  654.      You may wish to add FASTACAD.BAT to your AutoCAD start-up file.
  655.  
  656.      To reconfigure AutoCAD to use @namethisprogram start AutoCAD and
  657.      select the "P386 ...." display option and then follow the
  658.      on-screen directions.
  659.  
  660.      Thank you again for using @namethisprogram. We appreciate your
  661.      support and welcome any comments you may have concerning our
  662.      products. To register this software and be eligible for discounts
  663.      on upgrades and other Panacea products, you may contact us by phone
  664.      at 603-437-5022, or by Fax at, 603-434-2461. For Technical Support,
  665.      please refer to your Users Manual or READ.ME file.
  666.  
  667.   @move(21,0)
  668.      @pause
  669.  
  670.   @EndFinish
  671.  
  672. @Else
  673.   @Finish @cls
  674.      You have successfully installed @namethisprogram for AutoCAD
  675.      Release 12 or 13.  Before you can use @namethisprogram you must
  676.      reconfigure AutoCAD. To reconfigure, start AutoCAD with "ACAD -r"
  677.      and change the current display device. Choose @namethisprogram
  678.      from the list of available display drivers and then follow the
  679.      on-screen instructions. Refer to your @namethisprogram
  680.      Installation Guide for detailed configuration instructions.
  681.  
  682.      If you have chosen to install @namethisprogram into a sub-directory
  683.      other than ACAD\DRV, you must append the following path to your
  684.      "SET ACADDRV=...." environment variable.  
  685.          
  686.                  @AcadDrive:@AcadDir
  687.  
  688.      Thank you again for using @namethisprogram. For Technical Support,
  689.      please refer to your Users Manual or READ.ME file.
  690.  
  691.   @move(21,0)
  692.      @pause
  693.  
  694.   @EndFinish
  695. @EndIf
  696.  
  697. // end-of-file
  698.  
  699.