home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April (Special) / Chip-Special_1997-04_cd.bin / spea / mmedia / cit0696 / cit06961.exe / rar / INSTALL.DAT < prev    next >
Text File  |  1996-06-18  |  12KB  |  391 lines

  1. @DefineProject
  2.     @Name = "Crunch It"
  3.     @Version ="Release 0696"
  4.     @OutDrive = C
  5. @If(@StrLen("@GetEnv("GDC")") > 0)
  6.     @SubDir = "@GetEnv("GDC")"
  7. @Else
  8.     @SubDir = "\\SPEA\\CRUNCHIT"
  9. @Endif // @StrLen, @GetEnv
  10.     @Requires @HardDisk
  11.     @Immediate = 1
  12. @EndProject
  13. @DefineVars @QString @NextName = "@Name" @EndVars
  14.  
  15. @If(@Platform==1)
  16.  @ScrHead(1, M, 0, 63, "$062@Name  $063@Version")
  17. @ElseIf(@Platform==3)
  18.  @BackgroundMode(3, @RGB(0,0,127), @RGB(0,0,127))
  19.  @ScrHead("@Name  @Version")
  20. @Endif // @Platform
  21.  
  22. @If(@Chicago == 1)
  23. @Display @Cls
  24. @If(@L==2)
  25. Dieses Programm installiert:
  26.  
  27. Software für @Name
  28. @Version für Windows 95
  29. @Else // @L
  30. This program will install:
  31.  
  32. Software for SPEA @Name
  33. @Version for Windows 95
  34. @Endif // @L
  35. @Pause
  36. @EndDisplay
  37. @Else // Chicago
  38. @Display @Cls
  39. @If(@L==2)
  40. Dieses Programm installiert:
  41.  
  42. Software für SPEA @Name
  43. @Version
  44. @Else // @L
  45. This program will install:
  46.  
  47. Software for @Name
  48. @Version
  49. @Endif // @L
  50. @Pause
  51. @EndDisplay
  52. @Endif // @Chicago
  53.  
  54. @DefineVars
  55. @If(@L==2)
  56. @QString @Y = " JA "
  57. @QString @N = "NEIN"
  58. @Else // @L
  59. @QString @Y = "YES "
  60. @QString @N = " NO "
  61. @Endif // @L
  62. @QString @MJPGInterrupt    = "  "
  63. @QString @MJPGPortBase    = "   "
  64. @QString @VideoPIP    = " "
  65. @QString @VideoStandard    = " "
  66. @QString @VSStr        = "    "
  67. @QString @FirstStr = "@OutDrive:@SubDir\\CRITINIT.EXE"
  68. @EndVars
  69.  
  70. ENVIRON:
  71. @GetOutDrive @DlgCtrlSize(0, 5, 20, 12, 35)
  72. @If(@L==2) Auf welchem Laufwerk wollen Sie die
  73.  @Name Software installieren?
  74. @Else
  75.  On which disk drive do you want to install
  76.  the @Name software?
  77. @Endif // @L
  78. @EndOutDrive
  79.  
  80. @GetSubDir
  81. @DlgCtrlSize(0, 6, 0, 7, 50)
  82. @If(@L==2) In welchem Verzeichnis wollen Sie die
  83.  @Name Software installieren?
  84. @Else
  85.  In which directory do you want to install
  86.  the @Name software?
  87. @Endif // @L
  88. @EndSubDir
  89.  
  90. @If(@Exists("@OutDrive:@SubDir"))
  91. @ClearOption(0)
  92. @ClearOption(1)
  93. @GetOption
  94. @DlgCtrlSize(0, 6, 20, 8, 26)
  95. @If(@L==2)
  96.  Verzeichnis @OutDrive:@SubDir existiert bereits.
  97.  Wollen Sie die Installation in diesem Verzeichnis fortsetzen?
  98.  
  99. @Else
  100.  Directory @OutDrive:@SubDir already exists.
  101.  Do you want to continue installing in this directory?
  102.  
  103. @Endif // @L
  104. @Option 1 = "@Y"
  105. @Option 0 = "@N"
  106. @EndOption
  107. @If (0 [= @Option) @Goto ENVIRON @Endif
  108. @Endif // @Exists
  109.  
  110. @FirstStr = "@OutDrive:@SubDir\\CRITINIT.EXE"
  111.  
  112.  
  113. // Interrupt?
  114. @If(@Exists("@WindowsDrive:@WindowsDir\\CRUNCHIT.INI"))
  115. @MJPGInterrupt = "@GetINI("Crunch It MJPG Drivers", "MJPGInterrupt", "CRUNCHIT.INI")"
  116. @If    ("@MJPGInterrupt" == "10") @BarOffset(0)
  117. @ElseIf("@MJPGInterrupt" == "11") @BarOffset(1)
  118. @ElseIf("@MJPGInterrupt" == "12") @BarOffset(2)
  119. @ElseIf("@MJPGInterrupt" == "15") @BarOffset(3) @Endif
  120. @Else // @Exists
  121.  @BarOffset(3)
  122. @Endif // @Exists
  123.  
  124. @GetOption
  125. @DlgCtrlSize(0, 6, 10, 10, 16) //@@MJPGInterrupt @MJPGInterrupt !
  126. @If(@L==2)
  127. Welchen Interrupt soll die @Name verwenden?
  128. @Else // @L
  129. Which interrupt shall the @Name use?
  130. @Endif // @L
  131. @Option 10 = "10"
  132. @Option 11 = "11"
  133. @Option 12 = "12"
  134. @Option 15 = "15"
  135. @EndOption
  136.  
  137. //@DefineVars
  138.  @If     (10 [= @Option) /*@QString*/ @MJPGInterrupt = "10"
  139.  @ElseIf (11 [= @Option) /*@QString*/ @MJPGInterrupt = "11"
  140.  @ElseIf (12 [= @Option) /*@QString*/ @MJPGInterrupt = "12"
  141.  @ElseIf (15 [= @Option) /*@QString*/ @MJPGInterrupt = "15" @Endif
  142. //@EndVars
  143.  
  144.  
  145. // Adresse?
  146. @If(@Exists("@WindowsDrive:@WindowsDir\\CRUNCHIT.INI"))
  147. @MJPGPortBase = "@GetINI("Crunch It MJPG Drivers", "MJPGPortBase", "CRUNCHIT.INI")"
  148. @If    ("@MJPGPortBase" == "200") @BarOffset(0)
  149. @ElseIf("@MJPGPortBase" == "210") @BarOffSet(1)
  150. @ElseIf("@MJPGPortBase" == "220") @BarOffSet(2)
  151. @ElseIf("@MJPGPortBase" == "230") @BarOffSet(3)
  152. @ElseIf("@MJPGPortBase" == "240") @BarOffSet(4)
  153. @ElseIf("@MJPGPortBase" == "250") @BarOffSet(5)
  154. @ElseIf("@MJPGPortBase" == "260") @BarOffSet(6)
  155. @ElseIf("@MJPGPortBase" == "270") @BarOffSet(7)
  156. @ElseIf("@MJPGPortBase" == "280") @BarOffSet(8)
  157. @ElseIf("@MJPGPortBase" == "290") @BarOffSet(9)
  158. @ElseIf("@MJPGPortBase" == "2A0") @BarOffSet(10)
  159. @ElseIf("@MJPGPortBase" == "2B0") @BarOffSet(11)
  160. @ElseIf("@MJPGPortBase" == "2C0") @BarOffSet(12)
  161. @ElseIf("@MJPGPortBase" == "2D0") @BarOffSet(13)
  162. @ElseIf("@MJPGPortBase" == "2E0") @BarOffSet(14)
  163. @ElseIf("@MJPGPortBase" == "2F0") @BarOffSet(15)
  164. @ElseIf("@MJPGPortBase" == "300") @BarOffSet(16)
  165. @ElseIf("@MJPGPortBase" == "310") @BarOffSet(17)
  166. @ElseIf("@MJPGPortBase" == "320") @BarOffSet(18)
  167. @ElseIf("@MJPGPortBase" == "330") @BarOffSet(19)
  168. @ElseIf("@MJPGPortBase" == "340") @BarOffSet(20)
  169. @ElseIf("@MJPGPortBase" == "350") @BarOffSet(21)
  170. @ElseIf("@MJPGPortBase" == "360") @BarOffSet(22)
  171. @ElseIf("@MJPGPortBase" == "370") @BarOffSet(23)
  172. @ElseIf("@MJPGPortBase" == "380") @BarOffSet(24)
  173. @ElseIf("@MJPGPortBase" == "390") @BarOffSet(25)
  174. @ElseIf("@MJPGPortBase" == "3A0") @BarOffSet(26)
  175. @ElseIf("@MJPGPortBase" == "3B0") @BarOffSet(27)
  176. @ElseIf("@MJPGPortBase" == "3C0") @BarOffSet(28)
  177. @ElseIf("@MJPGPortBase" == "3D0") @BarOffSet(29)
  178. @ElseIf("@MJPGPortBase" == "3E0") @BarOffSet(30)
  179. @ElseIf("@MJPGPortBase" == "3F0") @BarOffSet(31) @Endif
  180. @Else // @Exists
  181.  @BarOffset(8)
  182. @Endif // @Exists
  183.  
  184. @GetOption
  185. @DlgCtrlSize(0, 6, 10, 16, 18) //@@MJPGPortBase @MJPGPortBase !
  186. @If(@L==2)
  187. Welche I/O Adresse soll die @Name verwenden?
  188. @Else // @L
  189. Which I/O address shall the @Name use?
  190. @Endif // @L
  191. @Option 512 = "200"
  192. @Option 528 = "210"
  193. @Option 544 = "220"
  194. @Option 560 = "230"
  195. @Option 576 = "240"
  196. @Option 592 = "250"
  197. @Option 608 = "260"
  198. @Option 624 = "270"
  199. @Option 640 = "280"
  200. @Option 656 = "290"
  201. @Option 672 = "2A0"
  202. @Option 688 = "2B0"
  203. @Option 704 = "2C0"
  204. @Option 720 = "2D0"
  205. @Option 736 = "2E0"
  206. @Option 752 = "2F0"
  207. @Option 768 = "300"
  208. @Option 784 = "310"
  209. @Option 800 = "320"
  210. @Option 816 = "330"
  211. @Option 832 = "340"
  212. @Option 848 = "350"
  213. @Option 864 = "360"
  214. @Option 880 = "370"
  215. @Option 896 = "380"
  216. @Option 912 = "390"
  217. @Option 928 = "3A0"
  218. @Option 944 = "3B0"
  219. @Option 960 = "3C0"
  220. @Option 976 = "3D0"
  221. @Option 992 = "3E0"
  222. @Option 1008 = "3F0"
  223. @EndOption
  224.  
  225. //@DefineVars
  226.  @If     (512 [= @Option)  /*@QString*/ @MJPGPortBase = "200"
  227.  @ElseIf (528 [= @Option)  /*@QString*/ @MJPGPortBase = "210"
  228.  @ElseIf (544 [= @Option)  /*@QString*/ @MJPGPortBase = "220"
  229.  @ElseIf (560 [= @Option)  /*@QString*/ @MJPGPortBase = "230"
  230.  @ElseIf (576 [= @Option)  /*@QString*/ @MJPGPortBase = "240"
  231.  @ElseIf (592 [= @Option)  /*@QString*/ @MJPGPortBase = "250"
  232.  @ElseIf (608 [= @Option)  /*@QString*/ @MJPGPortBase = "260"
  233.  @ElseIf (624 [= @Option)  /*@QString*/ @MJPGPortBase = "270"
  234.  @ElseIf (640 [= @Option)  /*@QString*/ @MJPGPortBase = "280"
  235.  @ElseIf (656 [= @Option)  /*@QString*/ @MJPGPortBase = "290"
  236.  @ElseIf (672 [= @Option)  /*@QString*/ @MJPGPortBase = "2A0"
  237.  @ElseIf (688 [= @Option)  /*@QString*/ @MJPGPortBase = "2B0"
  238.  @ElseIf (704 [= @Option)  /*@QString*/ @MJPGPortBase = "2C0"
  239.  @ElseIf (720 [= @Option)  /*@QString*/ @MJPGPortBase = "2D0"
  240.  @ElseIf (736 [= @Option)  /*@QString*/ @MJPGPortBase = "2E0"
  241.  @ElseIf (752 [= @Option)  /*@QString*/ @MJPGPortBase = "2F0"
  242.  @ElseIf (768 [= @Option)  /*@QString*/ @MJPGPortBase = "300"
  243.  @ElseIf (784 [= @Option)  /*@QString*/ @MJPGPortBase = "310"
  244.  @ElseIf (800 [= @Option)  /*@QString*/ @MJPGPortBase = "320"
  245.  @ElseIf (816 [= @Option)  /*@QString*/ @MJPGPortBase = "330"
  246.  @ElseIf (832 [= @Option)  /*@QString*/ @MJPGPortBase = "340"
  247.  @ElseIf (848 [= @Option)  /*@QString*/ @MJPGPortBase = "350"
  248.  @ElseIf (864 [= @Option)  /*@QString*/ @MJPGPortBase = "360"
  249.  @ElseIf (880 [= @Option)  /*@QString*/ @MJPGPortBase = "370"
  250.  @ElseIf (896 [= @Option)  /*@QString*/ @MJPGPortBase = "380"
  251.  @ElseIf (912 [= @Option)  /*@QString*/ @MJPGPortBase = "390"
  252.  @ElseIf (928 [= @Option)  /*@QString*/ @MJPGPortBase = "3A0"
  253.  @ElseIf (944 [= @Option)  /*@QString*/ @MJPGPortBase = "3B0"
  254.  @ElseIf (960 [= @Option)  /*@QString*/ @MJPGPortBase = "3C0"
  255.  @ElseIf (976 [= @Option)  /*@QString*/ @MJPGPortBase = "3D0"
  256.  @ElseIf (992 [= @Option)  /*@QString*/ @MJPGPortBase = "3E0"
  257.  @ElseIf (1008 [= @Option) /*@QString*/ @MJPGPortBase = "3F0" @Endif
  258. //@EndVars
  259.  
  260.  
  261. // Crunch It und SHOWTIME PLUS?
  262. @If(@Exists("@WindowsDrive:@WindowsDir\\CRUNCHIT.INI"))
  263. @VideoPIP = "@GetINI("Crunch It MJPG Drivers", "VideoPIP", "CRUNCHIT.INI")"
  264. @If    ("@VideoPIP" == "0") @BarOffset(0)
  265. @ElseIf("@VideoPIP" == "1") @BarOffset(1) @Endif
  266. @Else // @Exists
  267.  @BarOffset(0)
  268. @Endif // @Exists
  269.  
  270. @GetOption
  271. @DlgCtrlSize(0, 6, 20, 8, 26) //@@VideoPIP @VideoPIP !
  272. @If(@L==2)
  273. Wollen Sie die @Name zusammen mit der SHOWTIME PLUS (TV)
  274. oder V7-MIRAGE VIDEO (TV) Grafikkarte verwenden ?
  275. @Else // @L
  276. Do you want to use the @Name together with the SHOWTIME PLUS (TV)
  277. or V7-MIRAGE VIDEO (TV) graphic card ?
  278. @Endif // @L
  279. @Option 1000 = "@N"
  280. @Option 1001 = "@Y"
  281. @EndOption
  282.  
  283. //@DefineVars
  284.  @If     (1001 [= @Option) /*@QString*/ @VideoPIP = "1" 
  285.  @ElseIf (1000 [= @Option) /*@QString*/ @VideoPIP = "0" @Endif
  286. //@EndVars
  287.  
  288.  
  289. // PAL oder NTSC ?
  290. @If(@Exists("@WindowsDrive:@WindowsDir\\CRUNCHIT.INI"))
  291. @VideoStandard = "@GetINI("Crunch It MJPG Drivers", "VideoStandard", "CRUNCHIT.INI")"
  292. @If    ("@VideoStandard" == "1") @BarOffset(0)
  293. @ElseIf("@VideoStandard" == "0") @BarOffset(1) @Endif
  294. @Else // @Exists
  295.  @BarOffset(0)
  296. @Endif // @Exists
  297.  
  298. @GetOption
  299. @DlgCtrlSize(0, 12, 10, 14, 18) //@@VideoStandard @VideoStandard !
  300. @If(@L==2)
  301. Möchten Sie den Video-Ausgang Ihrer
  302. SPEA @Name bei einem Neustart
  303. des Systems auf PAL oder NTSC
  304. initialisieren?
  305.  
  306. (In Europa wird normalerweise PAL
  307. verwendet, NTSC findet vor allem in
  308. Nordamerika Verwendung)
  309. @Else // @L
  310. Do you want to initialize the video
  311. output of your SPEA @Name
  312. to PAL or NTSC at restart?
  313.  
  314. (PAL is normally used in Europe, NTSC
  315. is mainly used in Northern America)
  316. @Endif // @L
  317. @Option 10001 = "PAL"
  318. @Option 10000 = "NTSC"
  319. @EndOption
  320.  
  321. //@DefineVars
  322.  @If     (10001 [= @Option)
  323.   /*@QString*/ @VideoStandard = "1"
  324.   /*@QString*/ @VSStr = "PAL"
  325.  @ElseIf (10000 [= @Option)
  326.   /*@QString*/ @VideoStandard = "0"
  327.   /*@QString*/ @VSStr = "NTSC"
  328.  @Endif
  329. //@EndVars
  330.  
  331. // Video for Windows installieren/aktualisieren?
  332. @If(@Chicago == 0)
  333. @If(@Exists("@WinSysDrive:@WinSysDir\\MSVIDEO.DLL"))
  334. @If(@FileDate("@WinSysDrive:@WinSysDir\\MSVIDEO.DLL") < @StrToDate("1995/3/16"))
  335. @GetOption
  336. @DlgCtrlSize(0, 10, 20, 12, 26)
  337. @If(@L==2)
  338. Eine ältere Version von MS Video for Windows
  339. ist bereits installiert. Diese Version sollte
  340. aktualisiert werden.
  341.  
  342. Wollen Sie die neueste Version von
  343. MS Video for Windows 1.1 installieren?
  344. @Else // @L
  345. An older version of MS Video for Windows
  346. is already installed. This version should
  347. be updated.
  348.  
  349. Do you want to install the latest version
  350. of MS Video for Windows 1.1?
  351. @Endif // @L
  352. @Option 1 = "@Y"
  353. @Option 0 = "@N"
  354. @EndOption
  355. @If(1 [= @Option) @SetGroup(V) @Endif
  356. @Endif // @FileDate, @StrToDate
  357. @Else // @Exists
  358.  @SetGroup(V)
  359. @Endif // @Exists
  360. @Endif // @Chicago
  361.  
  362.  
  363. @DefineDisk
  364.     @Label = "Disk 1 of 2"
  365.  
  366.   @F WSHOW.EXE
  367. @If(@L==2)
  368.   @F README.GER @O README
  369. @Else
  370.   @F README.ENG @O README
  371. @Endif // @L
  372.  
  373.   @F CRUNCHIT.INI @O @WindowsDrive:@WindowsDir\\CRUNCHIT.INI
  374.  
  375.  @BeginLib CRUNCHIT.LIF
  376.   @F CRITINIT.EXE
  377.   @F CRITCAPT.DRV @O @WinSysDrive:@WinSysDir\\CRITCAPT.DRV 
  378.   @F CRITMJPG.DRV @O @WinSysDrive:@WinSysDir\\CRITMJPG.DRV 
  379.   @F  CRITVID.DLL @O @WinSysDrive:@WinSysDir\\CRITVID.DLL 
  380.   @F  H55_DRV.DLL @O @WinSysDrive:@WinSysDir\\H55_DRV.DLL 
  381.  @EndLib
  382. @EndDisk
  383.  
  384. @ChDrive @InDrive
  385. @If("@StartupDir" != "\\")
  386.  @ChDir("..\\disk2")
  387.  @Chain("Disk 2 of 2", "..\\disk2\\INSTALL.DAT")
  388. @Else
  389.  @Chain("Disk 2 of 2")
  390. @Endif
  391.