home *** CD-ROM | disk | FTP | other *** search
/ CD Direkt 1997 #6-#7 / CDD_6_7_97.ISO / demos / sierra / sierra.inf < prev   
INI File  |  1997-04-14  |  11KB  |  530 lines

  1. [Setup]
  2. SetupSize=840
  3. BillboardSize=0
  4. CanInstallDOS=No
  5.  
  6. [Requirements]
  7. SetupVer=3.2.2.1
  8. Colors=256
  9. MemKB=12000
  10. PhysicalMem=12000
  11. VideoSpeed=300
  12. Wave=2
  13. MIDI=0
  14. CPU=486-66
  15. WinVer=310
  16. ScreenWidth=640
  17. ScreenHeight=480
  18. Joystick=0
  19. Printer=0
  20. CDROM=2
  21.  
  22. [Ident]
  23. Version=1
  24. PatchVersion=1.0.0.1
  25. ProductID=32174
  26.  
  27. [Files]
  28. *DESTDIR\RESOURCE.WIN,NOARCHIVE,1,540,1
  29.  
  30. [Dialogs]
  31. ;
  32. ; Notification of success
  33. ;
  34. BEGIN 0,AskWin32sInstall
  35. AskWin32sInstallTitle
  36. 1, AskWin32sInstallText
  37. 1, AskWin32sInstall2Text
  38. 12, YESText, (), FLAG41
  39. 13, NOText
  40. END
  41. ;
  42. BEGIN 0,AskWin32sUpgrade
  43. AskWin32sUpgradeTitle
  44. 1, AskWin32sUpgradeText
  45. 1, AskWin32sUpgrade2Text
  46. 1, AskWin32sUpgrade3Text
  47. 12, YESText, (), FLAG51
  48. 13, NOText
  49. END
  50. ;
  51. BEGIN 0,AskWinGInstall
  52. AskWinGInstallTitle
  53. 1, AskWinGInstallText
  54. 1, AskWinGInstall2Text
  55. 12, YESText, (), FLAG61
  56. 13, NOText
  57. END
  58. ;
  59. BEGIN 0,AskWinGUpgrade
  60. AskWinGUpgradeTitle
  61. 1, AskWinGUpgradeText
  62. 12, YESText, (), FLAG71
  63. 13, NOText
  64. END
  65. ;
  66. ;BEGIN 0,AskRegister
  67. ;AskRegisterTitle
  68. ;1, AskRegisterText
  69. ;1, AskRegister2Text
  70. ;12, YESText, (), FLAG7
  71. ;13, NOText
  72. ;END
  73. ;
  74. BEGIN 1,NotifyWin32sInstall
  75. NotifyWin32sInstallTitle
  76. 1, NotifyWin32sInstallText
  77. 10, OKText
  78. END
  79. ;
  80. BEGIN 1,NotifyWin32sUpgrade
  81. NotifyWin32sUpgradeTitle
  82. 1, NotifyWin32sUpgradeText
  83. 10, OKText
  84. END
  85. ;
  86. BEGIN 2,NotifyWinGInstall
  87. NotifyWinGInstallTitle
  88. 1, NotifyWinGInstallText
  89. 10, OKText
  90. END
  91. ;
  92. BEGIN 2,NotifyWinGUpgrade
  93. NotifyWinGUpgradeTitle
  94. 1, NotifyWinGUpgradeText
  95. 10, OKText
  96. END
  97. ;
  98. BEGIN 3, AskRestart
  99. AskRestartTitle
  100. 1, AskRestart1Text
  101. 1, AskRestart2Text
  102. 1, AskRestart3Text
  103. 10, RestartNow, (), FLAG81
  104. 13, RestartLater
  105. END
  106. ;
  107. ; //////////////////////////////////
  108. ;
  109. ; Notification of success
  110. ;
  111. BEGIN 4, RestartSuccess
  112. RestartSuccessTitle
  113. 1, RestartSuccessText
  114. 10, OKText
  115. END
  116. ;
  117. BEGIN 4, Success
  118. SuccessTitle
  119. 1, SuccessText
  120. 10, OKText
  121. END
  122. ;
  123. ; Notification of failure
  124. ;
  125. BEGIN 4, GeneralFailure
  126. GeneralFailureTitle
  127. 1, GeneralFailureText
  128. 10, OKText
  129. END
  130. ;
  131. BEGIN 4, NoWin32sRestart
  132. NoWin32sRestartTitle
  133. 1, NoWin32sRestartText
  134. 1, NoWin32sRestart2Text
  135. 10, OKText
  136. END
  137. ;
  138. BEGIN 4, NoWinGRestart
  139. NoWinGRestartTitle
  140. 1, NoWinGRestartText
  141. 1, NoWinGRestart2Text
  142. 10, OKText
  143. END
  144. ;
  145. BEGIN 5, FailedWin32sInstall
  146. FailedWin32sInstallTitle
  147. 1, FailedWin32sInstallText
  148. 1, FailedWin32sInstall2Text
  149. 10, OKText, (), FLAG45
  150. END
  151. ;
  152. BEGIN 5, FailedWin32sUpgrade
  153. FailedWin32sUpgradeTitle
  154. 1, FailedWin32sUpgradeText
  155. 1, FailedWin32sUpgrade2Text
  156. 10, OKText
  157. END
  158. ;
  159. BEGIN 5, FailedWin32sWinSpace
  160. FailedWin32sWinSpaceTitle
  161. 1, FailedWin32sWinSpaceText
  162. 1, FailedWin32sWinSpace2Text
  163. 1, FailedWin32sWinSpace3Text
  164. 10, OKText
  165. END
  166. ;
  167. BEGIN 5, FailedWinGInstall
  168. FailedWinGInstallTitle
  169. 1, FailedWinGInstallText
  170. 1, FailedWinGInstall2Text
  171. 10, OKText, (), FLAG65
  172. END
  173. ;
  174. BEGIN 5, FailedWinGUpgrade
  175. FailedWinGUpgradeTitle
  176. 1, FailedWinGUpgradeText
  177. 1, FailedWinGUpgrade2Text
  178. 10, OKText
  179. END
  180. ;
  181. BEGIN 5, FailedWinGWinSpace
  182. FailedWinGWinSpaceTitle
  183. 1, FailedWinGWinSpaceText
  184. 1, FailedWinGWinSpace2Text
  185. 1, FailedWinGWinSpace3Text
  186. 10, OKText
  187. END
  188. ;
  189. BEGIN 5, FailedGameSpace
  190. FailedGameSpaceTitle
  191. 1, FailedGameSpaceText
  192. 1, FailedGameSpace2Text
  193. 10, OKText, (), FLAG80
  194. END
  195. ;
  196. BEGIN 5, DeclinedWin32sInstall
  197. DeclinedWin32sInstallTitle
  198. 1, DeclinedWin32sInstallText
  199. 1, DeclinedWin32sInstall2Text
  200. 10, OKText, (), FLAG42
  201. END
  202. ;
  203. BEGIN 5, DeclinedWin32sUpgrade
  204. DeclinedWin32sUpgradeTitle
  205. 1, DeclinedWin32sUpgradeText
  206. 1, DeclinedWin32sUpgrade2Text
  207. 10, OKText, (), FLAG52
  208. END
  209. ;
  210. BEGIN 5, DeclinedWinGInstall
  211. DeclinedWinGInstallTitle
  212. 1, DeclinedWinGInstallText
  213. 1, DeclinedWinGInstall2Text
  214. 10, OKText, (), FLAG62
  215. END
  216. ;
  217. BEGIN 5, DeclinedWinGUpgrade
  218. DeclinedWinGUpgradeTitle
  219. 1, DeclinedWinGUpgradeText
  220. 1, DeclinedWinGUpgrade2Text
  221. 10, OKText, (), FLAG72
  222. END
  223. ;
  224. BEGIN 6, DeclinedWin31Restart
  225. DeclinedWin31RestartTitle
  226. 1, DeclinedWin31RestartText
  227. 1, DeclinedWin31Restart2Text
  228. 10, OKText, (), FLAG82
  229. END
  230. ;
  231.  
  232. [Script]
  233. :Begin
  234. ; //////////////////////////////////////
  235. ;
  236. ;The basic process:
  237. ;
  238. ; Win95:
  239. ;    copy resource.win to destdir
  240. ;    check for dsound.dll
  241. ;    modify line in resource.win if dsound.dll is not found
  242. ;
  243. ; Win3.1x:
  244. ;    copy resource.win to destdir
  245. ;    check for dsound.dll
  246. ;    modify line in resource.win if dsound.dll is not found
  247. ;    
  248. ;
  249. ; FLAG usage:
  250. ;        FLAG0   - TRUE if running on Win95
  251. ;
  252. ;        FLAG10  - TRUE if Direct Sound (dsound.dll) was not found
  253. ;
  254. ;        FLAG80  - TRUE if user does not have enough disk space
  255. ;
  256. ; Sections:
  257. ;
  258. ;    :Begin                // Start the whole thing
  259. ;
  260. ;    :CommonSetup            // General setup stuff
  261. ;
  262. ;    :GetDestDir                // Let user pick destination directory for game
  263. ;    :NoSpace                // Inform user of lack of space and subsequent failure
  264. ;    :CopyFiles                // Copy the game files onto user's hard drive
  265. ;    :BadEnd                // Inform user of general installation non-success
  266. ;    :GoodEnd                // Inform user that Setup was successful
  267. ;    :End                    // The End
  268. ;
  269. ; //////////////////////////////////////
  270. ;
  271. RESETFLAGS
  272. ONWIN95ONLY FLAG0
  273. FLAG0 GOTO Win95Setup
  274. GOTO Win31Setup
  275. ;
  276. :Win95Setup
  277. ;
  278. :CheckDirectX
  279. EXIST *SYSTEMDIR\DSOUND.DLL FLAG10
  280. GOTO CommonSetup
  281. ;
  282. :Win31Setup
  283. ;
  284. :CheckWin32sExists
  285. EXIST *SYSTEMDIR\WIN32S16.DLL FLAG40
  286. FLAG40 GOTO CheckWin32sVersion
  287. GOTO AskWin32sInstallPerm
  288. ;
  289. :AskWin32sInstallPerm
  290. DIALOG AskWin32sInstall
  291. FLAG41 GOTO CheckWin32sDriveSpace
  292. GOTO Win32sInstallDeclined
  293. ;
  294. :CheckWin32sDriveSpace
  295. WINDISKSPACE_LT 2000 FLAG43
  296. FLAG43 GOTO NoWin32sDriveSpace
  297. GOTO InstallWin32s
  298. ;
  299. :NoWin32sDrivespace
  300. DIALOG FailedWin32sWinSpace
  301. GOTO CheckWinGExists
  302. ;
  303. :Win32sInstallDeclined
  304. DIALOG DeclinedWin32sInstall
  305. GOTO CheckWinGExists
  306. ;
  307. :InstallWin32s
  308. DIALOG NotifyWin32sInstall
  309. RUN 0 nosearch *SOURCEDIR\WIN32S\WSETUP.EXE
  310. GOTO AfterWin32sInstall
  311. ;
  312. :AfterWin32sInstall
  313. EXIST *SYSTEMDIR\WIN32S16.DLL FLAG44
  314. FLAG44 GOTO CheckWinGExists
  315. GOTO Win32sInstallFailed
  316. ;
  317. :Win32sInstallFailed
  318. DIALOG FailedWin32sInstall
  319. GOTO CheckWinGExists
  320. ;
  321. ; ////////////////
  322. ;
  323. :CheckWin32sVersion
  324. VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.0.0 FLAG50
  325. FLAG50 GOTO AskWin32sUpgradePerm
  326. GOTO CheckWinGExists
  327. ;
  328. :AskWin32sUpgradePerm
  329. DIALOG AskWin32sUpgrade
  330. FLAG51 GOTO UpgradeWin32s
  331. GOTO Win32sUpgradeDeclined
  332. ;
  333. :Win32sUpgradeDeclined
  334. DIALOG DeclinedWin32sUpgrade
  335. GOTO CheckWinGExists
  336. ;
  337. :UpgradeWin32s
  338. DIALOG NotifyWin32sUpgrade
  339. RUN 0 nosearch *SOURCEDIR\WIN32S\WSETUP.EXE
  340. GOTO AfterWin32sUpgrade
  341. ;
  342. :AfterWin32sUpgrade
  343. VERSIONCHECK *SYSTEMDIR\WIN32S16.DLL 1.25.0.0 FLAG54
  344. FLAG54 GOTO Win32sUpgradeFailed
  345. EXIST *SYSTEMDIR\WIN32S16.DLL FLAG53
  346. GOTO CheckWinGExists
  347. ;
  348. :Win32sUpgradeFailed
  349. DIALOG FailedWin32sUpgrade
  350. GOTO CheckWinGExists
  351. ;
  352. ; ////////////////
  353. ;
  354. :CheckWinGExists
  355. EXIST *SYSTEMDIR\WING.DLL FLAG60
  356. FLAG60 GOTO CheckWinGVersion
  357. GOTO AskWinGInstallPerm
  358. ;
  359. :AskWinGInstallPerm
  360. DIALOG AskWinGInstall
  361. FLAG61 GOTO CheckWinGDriveSpace
  362. GOTO WinGInstallDeclined
  363. ;
  364. :CheckWinGDriveSpace
  365. WINDISKSPACE_LT 500 FLAG63
  366. FLAG63 GOTO NoWinGDriveSpace
  367. GOTO InstallWinG
  368. ;
  369. :NoWinGDriveSpace
  370. DIALOG FailedWinGWinSpace
  371. GOTO CommonSetup
  372. ;
  373. :WinGInstallDeclined
  374. DIALOG DeclinedWinGInstall
  375. GOTO CommonSetup
  376. ;
  377. :InstallWinG
  378. DIALOG NotifyWinGInstall
  379. RUN 0 nosearch *SOURCEDIR\WING\MSSETUP.EXE
  380. GOTO AfterWinGInstall
  381. ;
  382. :AfterWinGInstall
  383. EXIST *SYSTEMDIR\WING.DLL FLAG64
  384. FLAG64 GOTO CommonSetup
  385. GOTO WinGInstallFailed
  386. ;
  387. :WinGInstallFailed
  388. DIALOG FailedWinGInstall
  389. GOTO CommonSetup
  390. ;
  391. ; ////////////////
  392. ;
  393. :CheckWinGVersion
  394. VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG70
  395. FLAG70 GOTO AskWinGUpgradePerm
  396. GOTO CommonSetup
  397. ;
  398. :AskWinGUpgradePerm
  399. DIALOG AskWinGUpgrade
  400. FLAG71 GOTO UpgradeWinG
  401. GOTO WinGUpgradeDeclined
  402. ;
  403. :WinGUpgradeDeclined
  404. DIALOG DeclinedWinGUpgrade
  405. GOTO CommonSetup
  406. ;
  407. :UpgradeWinG
  408. DIALOG NotifyWinGUpgrade
  409. RUN 0 nosearch *SOURCEDIR\WING\MSSETUP.EXE
  410. GOTO AfterWinGInstall
  411. ;
  412. :AfterWinGUpgrade
  413. VERSIONCHECK *SYSTEMDIR\WING.DLL 1.0.0.37 FLAG74
  414. FLAG74 GOTO WinGUpgradeFailed
  415. EXIST *SYSTEMDIR\WING.DLL FLAG73
  416. GOTO CommonSetup
  417. ;
  418. :WinGUpgradeFailed
  419. DIALOG FailedWinGUpgrade
  420. GOTO CommonSetup
  421. ;
  422. ; //////////////////////////////////////
  423. ;
  424. :CommonSetup
  425. ;
  426. :GetDest