home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 3 / Chip_Hitware_Vol_03.iso / chiphit3 / spiel / tetrix / setup.inf < prev    next >
Text File  |  1995-09-05  |  3KB  |  110 lines

  1. //
  2. // Setup Installation File
  3. // Created by Setup Builder Version 3.07
  4. //
  5. // Copyright 1993, 1994 G.Plowman
  6. //
  7. // Created: 05-09-1995 at 21:28:07
  8. //
  9.  
  10.  
  11.  
  12. // Application Variables
  13. SET %Caption%="Setup"
  14. SET %Application%="Tetrix"
  15. SET %InstallPath%="C:\TETRIX"
  16. SET %InstallDrive%="C:"
  17.  
  18.  
  19. // Welcome Dialog
  20. :BACK
  21. SET %Message1%="Herzlich willkommen zum %Application% Installations-Programm."
  22. SET %Message2%="Dieses Program wird %Application% auf Ihrem PC in dem gewΣhlten Verzeichnis auf Ihrer Festplatte installieren."
  23. DialogBox("Welcome")
  24. IF %ERROR% == IDCANCEL GOTO :EXIT
  25.  
  26.  
  27. // Ask the user where to install the software
  28. :RETRY
  29. SET %Message1%="Das Installationsprogramm wird die %Application% - Dateien in folgendes Verzeichnis kopieren:"
  30. DialogBox("AskPath")
  31. IF %ERROR% == IDBACK GOTO :BACK
  32. IF %ERROR% == IDCANCEL GOTO :EXIT
  33.  
  34.  
  35.  
  36.  
  37. // Make sure we still have Disk #01 in the drive
  38. CheckExists("%CurrentDrive%DISK01", "Please insert the diskette labelled 'DISK01'")
  39. IF %ERROR% == IDCANCEL GOTO :EXIT
  40.  
  41.  
  42. // Copy files from disk & show in gauge - no usage or overwrite check
  43. CopyFile(18)
  44. "BIT1.BMP", "%InstallPath%", "Kopiere:"
  45. "BIT2.BMP", "%InstallPath%", "Kopiere:"
  46. "BIT3.BMP", "%InstallPath%", "Kopiere:"
  47. "BIT4.BMP", "%InstallPath%", "Kopiere:"
  48. "BIT5.BMP", "%InstallPath%", "Kopiere:"
  49. "BIT6.BMP", "%InstallPath%", "Kopiere:"
  50. "DIALOG.BMP", "%InstallPath%", "Kopiere:"
  51. "DOING.WAV", "%InstallPath%", "Kopiere:"
  52. "HIGHSCOR.DAT", "%InstallPath%", "Kopiere:"
  53. "HINTER.BMP", "%InstallPath%", "Kopiere:"
  54. "LOGO.BMP", "%InstallPath%", "Kopiere:"
  55. "RAND2.BMP", "%InstallPath%", "Kopiere:"
  56. "README.WRI", "%InstallPath%", "Kopiere:"
  57. "RED.BMP", "%InstallPath%", "Kopiere:"
  58. "REGISTER.WRI", "%InstallPath%", "Kopiere:"
  59. "SMILE.BMP", "%InstallPath%", "Kopiere:"
  60. "TETRIX.EXE", "%InstallPath%", "Kopiere:"
  61. "BWCC.DLL", "%InstallPath%", "Copying:"
  62.  
  63.  
  64.  
  65.  
  66. // Now setup a new program manager group and its icons
  67. MessageBox("Setup can create a Program Manager group|for the %Application% application.||Do you wish to create a Program|Manager group and icons ?", "%Caption%", MB_YESNO, MB_ICONQUESTION)
  68. IF %ERROR% == IDNO GOTO :NOPMGROUP
  69.  
  70. MakeGroup("%Application%", "")
  71. MakeIcon("Lies Mich!", "%InstallPath%README.WRI ")
  72. MakeIcon("REGISTER.WRI", "%InstallPath%REGISTER.WRI ")
  73. MakeIcon("Tetrix", "%InstallPath%TETRIX.EXE ")
  74. :NOPMGROUP
  75.  
  76.  
  77. // Done
  78. :SUCCESS
  79. SET %Message1%="|%Application% - Installation erfolgreich beendet."
  80. SET %Message2%=""
  81. DialogBox("OkBox")
  82. GOTO :END
  83.  
  84.  
  85. // User decided to quit
  86. :EXIT
  87. SET %Message1%="Installation has been terminated. You should rerun this installation program at a later time to install %Application%."
  88. SET %Message2%="|The %Application% software has not been installed."
  89. DialogBox("OkBox")
  90. GOTO :END
  91.  
  92.  
  93. // Error
  94. :ERROR
  95. SET %Message1%="An error occured during installation of the %Application% software."
  96. SET %Message2%="|The %Application% software has not been fully installed."
  97. DialogBox("OkBox")
  98. GOTO :END
  99.  
  100.  
  101. // Not enough disk space
  102. :NOSPACE
  103. SET %Message1% = "|There is not enough space on the selected drive to install the %Application% software."
  104. SET %Message2% = ""
  105. DialogBox("OkBox")
  106. GOTO :RETRY
  107.  
  108.  
  109. :END
  110.