home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April (Special) / Chip-Special_1997-04_cd.bin / diamond / stealth / adi22002 / adi22002.exe / S3DLD10.ZIP / INSTALL.DAT < prev    next >
Text File  |  1996-06-12  |  24KB  |  707 lines

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