home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 1996 Counselor / COMPUSERVE.ISO / internet / netedit / setup.inf < prev    next >
Encoding:
Text File  |  1995-12-03  |  2.4 KB  |  92 lines

  1. //
  2. // Setup Installation File
  3. // Created by Setup Builder Version 3.07
  4. //
  5. // Copyright 1993, 1994 G.Plowman
  6. //
  7. // Created: 03-12-1995 at 14:00:32
  8. //
  9.  
  10.  
  11.  
  12. // Application Variables
  13. SET %Caption%="Setup"
  14. SET %Application%="NetEdit 1.0"
  15. SET %InstallPath%="C:\NETEDIT"
  16. SET %InstallDrive%="C:"
  17.  
  18.  
  19. // Welcome Dialog
  20. :BACK
  21. SET %Message1%="Welcome to the %Application% Installation Program."
  22. SET %Message2%="This program will install the %Application% software in the directory you specify on your hard disk."
  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%="The install program will copy the %Application% files into the following directory:"
  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(2)
  44. "NETEDIT.EX_","%InstallPath%NETEDIT.EXE", "Copying:"
  45. "WEB.IN_","%InstallPath%WEB.INI", "Copying:"
  46.  
  47.  
  48.  
  49.  
  50. // Now setup a new program manager group and its icons
  51. 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)
  52. IF %ERROR% == IDNO GOTO :NOPMGROUP
  53.  
  54. MakeGroup("%Application%", "")
  55. MakeIcon("NetEdit 1.0", "%InstallPath%NETEDIT.EXE ")
  56. :NOPMGROUP
  57.  
  58.  
  59. // Done
  60. :SUCCESS
  61. SET %Message1%="|%Application% installation has been successfully completed."
  62. SET %Message2%=""
  63. DialogBox("OkBox")
  64. GOTO :END
  65.  
  66.  
  67. // User decided to quit
  68. :EXIT
  69. SET %Message1%="Installation has been terminated. You should rerun this installation program at a later time to install %Application%."
  70. SET %Message2%="|The %Application% software has not been installed."
  71. DialogBox("OkBox")
  72. GOTO :END
  73.  
  74.  
  75. // Error
  76. :ERROR
  77. SET %Message1%="An error occured during installation of the %Application% software."
  78. SET %Message2%="|The %Application% software has not been fully installed."
  79. DialogBox("OkBox")
  80. GOTO :END
  81.  
  82.  
  83. // Not enough disk space
  84. :NOSPACE
  85. SET %Message1% = "|There is not enough space on the selected drive to install the %Application% software."
  86. SET %Message2% = ""
  87. DialogBox("OkBox")
  88. GOTO :RETRY
  89.  
  90.  
  91. :END
  92.