home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1997 February / DPCB0297.iso / INSTALL.CFG < prev    next >
Text File  |  1996-07-12  |  5KB  |  108 lines

  1. rem   This is the configuration file used to install PC-Install for Windows
  2. rem   =====================================================================
  3.  
  4. rem --- set the color for background on the screen
  5. rem SCREENCOLOR: red, red
  6.  
  7. rem --- display the bitmap logo
  8. SCREENGRAPHIC: 1.bmp
  9.  
  10. rem --- the title that appears on the background
  11. rem TITLE: "The Rosetta Language Lab demo installation", italic, bold,28
  12. rem --- the color for the title
  13. TITLECOLOR: yellow
  14.  
  15. rem --- The following paragraph is on the first screen seen by the
  16. rem   - end-user.  Note that you should leave a blank line at the top
  17. rem   - and bottom and leave a couple of spaces at the left AND right
  18. rem   - to provide proper spacing around the window border.
  19. BEGINFIRSTSCREEN
  20.  
  21.    This installation program will install the Rosetta Language
  22.    Lab demo on to your hard disk. It contains French, German
  23.    and Spanish chapters for you to try.
  24.  
  25. ENDFIRSTSCREEN
  26.  
  27. rem --- The following is the last screen seen by the end-user.
  28. rem   - Note that you should leave a blank line at the top and
  29. rem   - bottom and leave a couple of spaces at the left AND right
  30. rem   - to provide proper spacing around the window border.
  31. BEGINLASTSCREEN
  32.  
  33.    Installation is now complete. To run select Rosetta from
  34.    the Rosetta Demo program group. For more details on the product
  35.    contact: Europress Software on 01625 859333, or visit our web
  36.    site at www.europress.co.uk
  37.  
  38. ENDLASTSCREEN
  39.  
  40. rem --- check to see if the end user has enough disk space to install
  41. rem   - note that the user can install one of two file groups 
  42. rem   - (all files or just the program files) thus we must
  43. rem   - provide a different check for group one and group two
  44. MINDISKSPACE: 4000000
  45.  
  46. rem --- check that the end user has a powerful enough CPU 
  47. MINCPUTYPE: 80486
  48.  
  49. rem --- set the default drive and directory for installation
  50. DEFAULTDIR: "c:\Rosedem", prompt="Please enter the drive and directory where you wish the demo to be installed:"
  51.  
  52. rem --- Adds the association for the .CFG install files to the win.ini
  53. rem INIFILE: "Extensions", "CFG", "notepad.exe ^.cfg", "win.ini", add
  54.  
  55. rem --- Installs group and icons
  56. WINITEM: "Rosetta Demo", "$DEFAULTDIR$\Rosetta.exe", "$DEFAULTDIR$,replace
  57. rem WINITEM: "PC-Install", "$DEFAULTDIR$\qbuild.exe", "Quick Build", replace
  58. rem WINITEM: "PC-Install", "$DEFAULTDIR$\unstall.exe", "Uninstall",  replace
  59. rem WINITEM: "PC-Install", "$DEFAULTDIR$\pcshrink.exe", "PC-Shrink", replace
  60. rem WINITEM: "PC-Install", "$DEFAULTDIR$\pcbind.exe", "PC-Bind", replace
  61. rem If group=10
  62. rem WinItem: "PC-Install", "$WinDir$\notepad.exe $DefaultDir$\samples\basic.cfg", "Basic.CFG", replace
  63. rem WinItem: "PC-Install", "$WinDir$\notepad.exe $DefaultDir$\samples\typical.cfg", "Typical.CFG", replace
  64. rem WinItem: "PC-Install", "$WinDir$\notepad.exe $DefaultDir$\samples\super.cfg", "Super.CFG", replace
  65. REM endif
  66.  
  67. REM---create an UNINSTALL program for the end-user
  68. UNINSTALL: yes
  69. FILE: "unstall.exe"
  70. UninstallBeginPrompt: "Do you wish to remove the demo?"
  71. UninstallEndPrompt: "The demo has been successfully removed from your system."
  72. WINITEM: "Rosetta Demo", "$DEFAULTDIR$\unstall.exe","Unstall"
  73. rem Addtext: "Winitem: ""Rosetta Demo""", "$defaultdir$\install.log", "-1"
  74.  
  75. REM  The following is an example of using the autoexec and config commands.
  76. rem AUTOEXECPROMPT: "Do you wish PC-Install to add the installation directory to your path statement in your autoexec.bat file?"
  77. rem AUTOEXEC: addpath, ask
  78. rem CONFIG: buffermin=40, filemin=30, add="DEVICE=pcinst.sys", ask
  79.  
  80. rem -- Define the two installation groups that the end-user can select
  81. rem   - for installation (all files or just program files).  Note that
  82. rem   - the first two columns are used for the group number.  Also note,
  83. rem   - you should leave a blank line at the top and bottom and leave a
  84. rem   - couple of spaces at the left AND right to provide proper spacing 
  85. rem   - around the window border.
  86. rem BEGINGROUP EXCLUSIVE
  87.                                                                
  88. rem 10   [X] Demo installation  
  89.  
  90.  
  91.  
  92. ENDGROUP
  93.  
  94. rem The INSERTDISK command is not needed here since there is only one
  95. rem disk in PC-INSTALL.
  96. rem INSERTDISK: "System Disk"
  97.  
  98. rem FILE: FileName[, {compressed|selfextract}][, overwrite={new|ask}][, group=({1-99},)*]
  99. FILE: lldemo.shr 
  100.  
  101. rem --- Display an ASCII file to the end-user that has any new information
  102. rem SHOWREADME: "install.txt"
  103.  
  104. rem --- We could now run a program (EXE, COM, BAT) as we exit the installation
  105. rem   - but PC-Install does not need to do this.  The line has been REMarked
  106. rem   - so that you have an example of how it might be used.
  107. rem RUNATEXIT: "INSTALL.EXE"
  108.