rem   This is the configuration file used to install PC-Install for Windows
rem   =====================================================================

rem --- set the color for background on the screen
rem SCREENCOLOR: red, red

rem --- display the bitmap logo
SCREENGRAPHIC: 1.bmp

rem --- the title that appears on the background
rem TITLE: "The Rosetta Language Lab demo installation", italic, bold,28
rem --- the color for the title
TITLECOLOR: yellow

rem --- The following paragraph is on the first screen seen by the
rem   - end-user.  Note that you should leave a blank line at the top
rem   - and bottom and leave a couple of spaces at the left AND right
rem   - to provide proper spacing around the window border.
BEGINFIRSTSCREEN

   This installation program will install the Rosetta French
   Language Lab demo on to your hard disk for you to try.

ENDFIRSTSCREEN

rem --- The following is the last screen seen by the end-user.
rem   - Note that you should leave a blank line at the top and
rem   - bottom and leave a couple of spaces at the left AND right
rem   - to provide proper spacing around the window border.
BEGINLASTSCREEN

   Installation is now complete. To run select Rosetta from
   the Rosetta Demo program group. For more details on the product
   contact: Europress Software on 01625 859333, or visit our web
   site at www.europress.co.uk

ENDLASTSCREEN

rem --- check to see if the end user has enough disk space to install
rem   - note that the user can install one of two file groups 
rem   - (all files or just the program files) thus we must
rem   - provide a different check for group one and group two
MINDISKSPACE: 4000000

rem --- check that the end user has a powerful enough CPU 
MINCPUTYPE: 80486

rem --- set the default drive and directory for installation
DEFAULTDIR: "c:\Rosedem", prompt="Please enter the drive and directory where you wish the demo to be installed:"

rem --- Adds the association for the .CFG install files to the win.ini
rem INIFILE: "Extensions", "CFG", "notepad.exe ^.cfg", "win.ini", add

rem --- Installs group and icons
WINITEM: "Rosetta Demo", "$DEFAULTDIR$\Rosetta.exe", "$DEFAULTDIR$,replace
rem WINITEM: "PC-Install", "$DEFAULTDIR$\qbuild.exe", "Quick Build", replace
rem WINITEM: "PC-Install", "$DEFAULTDIR$\unstall.exe", "Uninstall",  replace
rem WINITEM: "PC-Install", "$DEFAULTDIR$\pcshrink.exe", "PC-Shrink", replace
rem WINITEM: "PC-Install", "$DEFAULTDIR$\pcbind.exe", "PC-Bind", replace
rem If group=10
rem WinItem: "PC-Install", "$WinDir$\notepad.exe $DefaultDir$\samples\basic.cfg", "Basic.CFG", replace
rem WinItem: "PC-Install", "$WinDir$\notepad.exe $DefaultDir$\samples\typical.cfg", "Typical.CFG", replace
rem WinItem: "PC-Install", "$WinDir$\notepad.exe $DefaultDir$\samples\super.cfg", "Super.CFG", replace
REM endif

REM---create an UNINSTALL program for the end-user
UNINSTALL: yes
FILE: "unstall.exe"
UninstallBeginPrompt: "Do you wish to remove the demo?"
UninstallEndPrompt: "The demo has been successfully removed from your system."
WINITEM: "Rosetta Demo", "$DEFAULTDIR$\unstall.exe","Unstall"
rem Addtext: "Winitem: ""Rosetta Demo""", "$defaultdir$\install.log", "-1"

REM  The following is an example of using the autoexec and config commands.
rem AUTOEXECPROMPT: "Do you wish PC-Install to add the installation directory to your path statement in your autoexec.bat file?"
rem AUTOEXEC: addpath, ask
rem CONFIG: buffermin=40, filemin=30, add="DEVICE=pcinst.sys", ask

rem -- Define the two installation groups that the end-user can select
rem   - for installation (all files or just program files).  Note that
rem   - the first two columns are used for the group number.  Also note,
rem   - you should leave a blank line at the top and bottom and leave a
rem   - couple of spaces at the left AND right to provide proper spacing 
rem   - around the window border.
rem BEGINGROUP EXCLUSIVE
                                                               
rem 10   [X] Demo installation  



ENDGROUP

rem The INSERTDISK command is not needed here since there is only one
rem disk in PC-INSTALL.
rem INSERTDISK: "System Disk"

rem FILE: FileName[, {compressed|selfextract}][, overwrite={new|ask}][, group=({1-99},)*]
FILE: lldemo.shr 

rem --- Display an ASCII file to the end-user that has any new information
rem SHOWREADME: "install.txt"

rem --- We could now run a program (EXE, COM, BAT) as we exit the installation
rem   - but PC-Install does not need to do this.  The line has been REMarked
rem   - so that you have an example of how it might be used.
rem RUNATEXIT: "INSTALL.EXE"
