# Setup Builder generated ProJect file - Do not modify

FILETYPE=BUILDER_PROJECT
FILEVER=318
PROJDIR=C:\SETUP\SAMPLES\
APPNAME=Test
DEFPATH=C:\TEST
DIRECTORY1=%InstallPath%
PROJATTRIBS=1,1,1,1,0
LICENSEINI=TEST.INI
DISKLABEL=DISK
COMMENTS=//~~// This is a sample project to demonstrate~~// a number of the features supported by~~// Setup Builder~~//
SETUPFILE=SETUP.SCR
ENCRIPT=0
RESERVE=16
SPLITSIZE=100
SPACEREQD=0
OPTIONALFILES=1,1,0,0,1,0,0,0,0
COMPANY=GPPSoftware
OPTINSTALL1=Install Notepad
OPTINSTALL2=Install Calculator
PMGROUP=0,1,0,1,0,0
GRPCAPFILE=%Application%
LANGUAGE=0
SETUPMSG=Starting %Application% Setup...
CAPTION=Setup
NEXTDISK=Please insert the diskette labelled '$'
WELCOME1=Welcome to the %Application% Installation Program.
WELCOME2=This program will install the %Application% software|in the directory you specify on your hard|disk.
ABOUT=(Compuserve ID: 100105,536)||Setup is supplied with the Setup Builder|software and is the copyright of G.Plowman
DEINST1=Please make a selection from the following options:
DEINST2=
DEINST3=Un-Install the %Application% software
DEINST4=The %Application% software is about to be removed from your machine.||All files, directories and the appropriate Program Manager Group will be deleted.||Are you sure you wish to continue ?
DEINST5=De-installation aborted - the %Application% software has not been deinstalled.
DEINST6=The %Application% software has been successfully de-installed.
DEINST7=To re-install the %Application% software you should re-run this|installation program.
DEINST8=The %Application% software has not been correctly installed.
DEINST9=The De-installation procedure is unable to de-install the %Application% software.
ASKPATH1=The install program will copy the %Application% files|into the following directory:
SPACECHECK1=The %Application% software requires %Required% bytes of disk space and there is only %Space% bytes free on your %InstallDrive% drive.||Do you wish to continue to install the software ?
INUSE1=Setup has found that the file:||$||is already in use by Windows.||Do you wish to overwrite it anyway ?
MAKEGRP=Setup can create a Program Manager group|for the %Application% application.||Do you wish to create a Program|Manager group and icons ?
LICENSE1=Please enter the following licensing|information for the %Application% software:
ERROR1=An error occured during installation of the %Application% software.
ERROR2=|The %Application% software has not been fully installed.
QUIT1=Installation has been terminated. You should rerun this installation program at a later time to install %Application%.
QUIT2=|The %Application% software has not been installed.
SUCCESS1=|%Application% installation has been successfully|completed.
SUCCESS2=
DIRERROR1=|Failed to create the installation directory '%MakeDir%'.
DIRERROR2=|Unable to install the %Application% software in the specified directory.
WINEXECFAIL=Error: WinExec() failed to run file '$'. Error code (%Error%)
DLLSELFREGFAIL=Error: DllSelfRegister() failed to register OLE control '$'.
WINEXECREGFAIL=Error: WinExec() failed to run the registry editor to merge file '$'. Error code (%Error%)
WAITREGOLE=Registering OLE controls with the registry. Please wait...
WAITMERGEREG=Merging .REG files with the registry. Please wait...
WAITSELFEXTRACT=Running self-extracting files. Please wait...
BACKDROPRES1=(Default)
BACKDROPRES2=(Default)
BACKDROPRES3=(Default)
BACKDROPRES4=(Default)
BACKDROPRES5=DEFAULTBACKDROP
BITMAP1=C:\SETUP\SAMPLES\PANEL.BMP
OBJECT1=C:\SETUP\OBJECTS\DEFAULT.BKD
OBJECT2=C:\SETUP\OBJECTS\WELCOME.DLG
OBJECT3=C:\SETUP\OBJECTS\ASKPATH.DLG
OBJECT4=C:\SETUP\OBJECTS\LICENSE.DLG
OBJECT5=C:\SETUP\OBJECTS\OKBOX.DLG
OBJECT6=C:\SETUP\OBJECTS\REGISTER.CUE
OBJECT7=C:\SETUP\OBJECTS\COPYRITE.DLG
USERCODE1=// This is where you insert script code to initialise~~// variables at the begining of the script for later use~~// by your extra script code.~~~~// Here, we are getting variables to handle partial installs.~~// If the install has been previosly run, these values will show which~~// partial install was run, so that we only prompt with the approriate~~// installs for the next run. This is purely an example, and is not~~// required for standard installs.~~~~GetProfileString("Install", "NotePad", "0", "%IniFile%", %Option1%)~~GetProfileString("Install", "Calculator", "0", "%IniFile%", %Option2%)~~~~SET %Option1% = NOT %Option1%~~SET %Option2% = NOT %Option2%~~
USERCODE2=// This is where you insert script code to do things~~// prior to file copying, but after the 'ASKPATH' dialog.~~~~// In this example, we save the application version~~// number for future use, although we don't use it in this script.~~// Future install scripts might need to know what version of an~~// app is installed before overwriting with a new version. For~~// example, there might be file format differences.~~// We also save the settings of which partial install was~~// run so that next time the install is run it only prompts~~// with the partial installs which are appropriate.~~~~// Save the application version number~~WriteProfileString("Install", "Version", "1.00", "%IniFile%")~~~~// Save what we've installed~~WriteProfileString("Install", "Notepad", "%Option1%", "%IniFile%")~~WriteProfileString("Install", "Calculator", "%Option2%", "%IniFile%")~~
USERCODE3=// This is where you insert Setup Script to do things~~// after all files have been copied from diskette.~~// Normally, this will be any manual copying of files such as~~// those specified in their attributes as 'Do not copy'.~~// Note that 'Do not copy' files are always placed on the~~// last diskettes of your installation suite so that when the~~// script processing reaches this stage, the correct diskette~~// is already in the drive.~~// You might want to check for file presence and ask for the~~// next disk if you have 'Do not copy' files spreading across~~// more than one diskette.
USERCODE4=// This is where script is entered which is executed~~// just prior to PM group creation, but after all the~~// self-extracting files have been run and OLE controls~~// registered.
USERCODE5=// This is where you insert Setup Script to do things~~// after Program Manager group creation, for example,~~// manually creating some more icons~~IF %PmGrp% == IDYES MakeIcon("Notepad2", "%InstallPath%notepad.exe")
USERCODE6=// This is where you insert script code to do things at the~~// end of an installation, for example, running notepad.exe~~// to show a file. This appears after the 'Install Complete/Success' dialog.~~// Here, we simply offer the user the option to view the AUTOEXEC.BAT~~~~MessageBox("Do you want to view your AUTOEXEC.BAT ?", "Setup", MB_YESNO, MB_ICONQUESTION)~~IF %ERROR% == IDNO GOTO :NOAUTOEXEC~~~~// This demo shows the autoexec in a listbox dialog object,~~// Firstly, put the AUTOEXEC.BAT into the dialog~~Open("C:\AUTOEXEC.BAT", 1, READ)~~IF %ERROR% == TRUE GOTO :CANTFIND~~~~:NEXTLINE~~ReadLine(1, %Buffer%)~~IF %ERROR% == EOF GOTO :EOF~~~~AddListItem("COPYRIGHT", 20, %Buffer%)~~GOTO :NEXTLINE~~~~:EOF~~Close(1)~~~~DialogBox("COPYRIGHT")~~GOTO :NOAUTOEXEC~~~~:CANTFIND~~MessageBox("Error: Unable to find C:\AUTOEXEC.BAT", "Setup", MB_OK, MB_ICONEXCLAMATION)~~~~:NOAUTOEXEC
USERCODE7=// This is script which is run at the start of a de-install~~// procedure BEFORE any files are deleted. This script may~~// run certain files before the are deleted later in the de-install.~~// Setup Builder automatically handles unregistering of OLE~~// controls in this way independently of this user defined script.
USERCODE8=// Some parts of application de-installation must be coded manually using~~// the Setup Script language because every application installation is~~// different and requires different de-installation procedures to be used.~~// This only applies to non-standard activities done via script code during~~// the installation procedure.~~// The de-install will automatically remove all files installed, all directories~~// created by the install (other than any created by user-script), the~~// application .INI file and any program manager group/icons which may~~// have been created.~~// This script is executed after all files have been deleted but before~~// the directories/.INI file are removed.~~// Help files run under Win95/NT create hidden .GID files when run.~~// This script section is a good section to change the attributes and then~~// delete these files.
USERCODE9=
USERCODE10=
USERCODE11=
USERCODE12=
USERCODE13=
USERCODE14=
FILE1=C:\WIN31\NOTEPAD.EXE
TARGET1=%InstallPath%
COMMENT1=Copying: Notepad Executable
CUECARD1=REGISTER
ICONTEXT1=Notepad
PARAMS1=c:\autoexec.bat
ACTIONPARAMS1=
ICONINFO1=0,
DEFPATH1=
OVERTEXT1=
FLAGS1=0,0,1,1,0,1,0,0,1,0,1,0,EX_
FILE2=C:\WIN31\CALC.EXE
TARGET2=%InstallPath%
COMMENT2=Copying: Calculator Executable
CUECARD2=(Current)
ICONTEXT2=Calculator
PARAMS2=
ACTIONPARAMS2=
ICONINFO2=0,
DEFPATH2=
OVERTEXT2=
FLAGS2=0,0,1,0,0,1,0,0,1,0,2,0,EX_
